Commit ec772d07 authored by markus scheller's avatar markus scheller
Browse files

Added a new documentation page settings

#172
parent ca2c4af6
...@@ -346,6 +346,13 @@ def todomails_configuration_documentation(): ...@@ -346,6 +346,13 @@ def todomails_configuration_documentation():
return render_template( return render_template(
"documentation-configuration-todomails.html") "documentation-configuration-todomails.html")
@app.route("/documentation/configuration/settings")
@back.anchor
@login_required
def settings_configuration_documentation():
return render_template(
"documentation-configuration-settings.html")
@app.route("/types/list") @app.route("/types/list")
@back.anchor @back.anchor
@login_required @login_required
......
...@@ -17,7 +17,8 @@ ...@@ -17,7 +17,8 @@
]), ]),
('configuration_documentation', '/documentation/configuration', 'Einrichtung', [ ('configuration_documentation', '/documentation/configuration', 'Einrichtung', [
('types_configuration_documentation', '/documentation/configuration/types', 'Typen'), ('types_configuration_documentation', '/documentation/configuration/types', 'Typen'),
('todomails_configuration_documentation', '/documentation/configuration/todomails', 'Todo Mails') ('todomails_configuration_documentation', '/documentation/configuration/todomails', 'Todo Mails'),
('settings_configuration_documentation', '/documentation/configuration/settings', 'Einstellungen')
]) ])
] -%} ] -%}
{% set active_page = active_page|default('documentation') -%} {% set active_page = active_page|default('documentation') -%}
......
{% extends "documentation-base.html" %}
{% set active_page = "settings_configuration_documentation" %}
{% block documentation_content %}
<h3>Einstellungen</h3>
{% endblock %}
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
<li><a href="/documentation/configuration">Einrichtung</a><ul> <li><a href="/documentation/configuration">Einrichtung</a><ul>
<li><a href="/documentation/configuration/types">Typen</a></li> <li><a href="/documentation/configuration/types">Typen</a></li>
<li><a href="/documentation/configuration/todomails">Todo Mails</a></li> <li><a href="/documentation/configuration/todomails">Todo Mails</a></li>
<li><a href="/documentation/configuration/settings">Einstellungen</a></li>
</ul></li> </ul></li>
</ul> </ul>
<p> <p>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment