Skip to content
This repository was archived by the owner on May 19, 2021. It is now read-only.

Commit 73f267b

Browse files
committed
Add portal/configuration.html
The template currently does not include configuration for the distributions.
1 parent 6019ac9 commit 73f267b

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
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

Comments
 (0)