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

Commit

Permalink
Add portal/configuration.html
Browse files Browse the repository at this point in the history
The template currently does not include configuration for the distributions.
  • Loading branch information
chris34 committed Sep 8, 2017
1 parent 6019ac9 commit 2eed27e
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions inyoka_theme_default/templates/portal/configuration.html
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 %}

0 comments on commit 2eed27e

Please sign in to comment.