This repository has been archived by the owner on May 19, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The template currently does not include configuration for the distributions.
- Loading branch information
Showing
1 changed file
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) %} | ||
<h3>{% trans %}General settings{% endtrans %}</h3> | ||
{{ 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 %} | ||
<img src="{{ team_icon_url }}" | ||
alt="{% trans %}Preview of Team Icon{% endtrans%}" /> | ||
{% endif %} | ||
|
||
<h3>Release-Countdown</h3> | ||
{{ macros.inner_form(form, ['countdown_active', | ||
'countdown_target_page', | ||
'countdown_image_url', | ||
'countdown_date']) }} | ||
{% endcall %} | ||
{% endblock %} |