|
| 1 | +{# |
| 2 | + templates.portal.configuration |
| 3 | + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 4 | + |
| 5 | + On this page the administrator can set general configuration values. |
| 6 | + |
| 7 | + :copyright: (c) 2013-2017 by the Inyoka Team, see AUTHORS for more details. |
| 8 | + :license: BSD, see LICENSE for more details. |
| 9 | +#} |
| 10 | +{% extends 'portal/base.html' %} |
| 11 | + |
| 12 | +{% block title %} |
| 13 | + {% trans %}Configuration{% endtrans %} – {{ super() }} |
| 14 | +{% endblock title %} |
| 15 | + |
| 16 | +{% block breadcrumb %} |
| 17 | + {{ super() }} |
| 18 | + |
| 19 | + {{ macros.breadcrumb_item(_('Configuration'), href('portal', 'config')) }} |
| 20 | +{% endblock %} |
| 21 | + |
| 22 | +{% block content %} |
| 23 | + {% call macros.outer_form(csrf_token(), form, manually_rendered=True) %} |
| 24 | + <h1>{% trans %}General settings{% endtrans %}</h1> |
| 25 | + {{ macros.inner_form(form, ['global_message', 'welcome_message', |
| 26 | + 'blocked_hosts', 'wiki_newpage_template', 'wiki_newpage_root', |
| 27 | + 'wiki_newpage_infopage', 'wiki_edit_note', 'license_note', |
| 28 | + 'ikhaya_description', 'planet_description', 'team_icon']) }} |
| 29 | + |
| 30 | + {% if team_icon_url %} |
| 31 | + <img src="{{ team_icon_url }}" |
| 32 | + alt="{% trans %}Preview of Team Icon{% endtrans%}" /> |
| 33 | + {% endif %} |
| 34 | + |
| 35 | + <h1>Release-Countdown</h1> |
| 36 | + {{ macros.inner_form(form, ['countdown_active', |
| 37 | + 'countdown_target_page', |
| 38 | + 'countdown_image_url', |
| 39 | + 'countdown_date']) }} |
| 40 | + {% endcall %} |
| 41 | +{% endblock %} |
0 commit comments