From 2eed27e6b02da3cdea20b631f8d47027e93c6ae8 Mon Sep 17 00:00:00 2001 From: Christoph Volkert Date: Fri, 8 Sep 2017 22:22:08 +0200 Subject: [PATCH] Add portal/configuration.html The template currently does not include configuration for the distributions. --- .../templates/portal/configuration.html | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 inyoka_theme_default/templates/portal/configuration.html diff --git a/inyoka_theme_default/templates/portal/configuration.html b/inyoka_theme_default/templates/portal/configuration.html new file mode 100644 index 0000000..0cd3add --- /dev/null +++ b/inyoka_theme_default/templates/portal/configuration.html @@ -0,0 +1,41 @@ +{# + templates.portal.configuration + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + On this page the administrator can set general configuration values. + + :copyright: (c) 2013-2017 by the Inyoka Team, see AUTHORS for more details. + :license: BSD, see LICENSE for more details. +#} +{% extends 'portal/base.html' %} + +{% block title %} + {% trans %}Configuration{% endtrans %} – {{ super() }} +{% endblock title %} + +{% block breadcrumb %} + {{ super() }} + + {{ macros.breadcrumb_item(_('Configuration'), href('portal', 'config')) }} +{% endblock %} + +{% block content %} + {% call macros.outer_form(csrf_token(), form, manually_rendered=True) %} +

{% trans %}General settings{% endtrans %}

+ {{ macros.inner_form(form, ['global_message', 'welcome_message', + 'blocked_hosts', 'wiki_newpage_template', 'wiki_newpage_root', + 'wiki_newpage_infopage', 'wiki_edit_note', 'license_note', + 'ikhaya_description', 'planet_description', 'team_icon']) }} + + {% if team_icon_url %} + {% trans %}Preview of Team Icon{% endtrans%} + {% endif %} + +

Release-Countdown

+ {{ macros.inner_form(form, ['countdown_active', + 'countdown_target_page', + 'countdown_image_url', + 'countdown_date']) }} + {% endcall %} +{% endblock %}