Skip to content
Snippets Groups Projects
Commit 5e5ac53a authored by Robin Sonnabend's avatar Robin Sonnabend
Browse files

Replace newly introduced tabs by spaces

parent e76ebbe8
No related branches found
No related tags found
No related merge requests found
...@@ -354,12 +354,12 @@ def internal_syntax_documentation(): ...@@ -354,12 +354,12 @@ def internal_syntax_documentation():
@back.anchor @back.anchor
@login_required @login_required
def tags_syntax_documentation(): def tags_syntax_documentation():
states = {state:[] for state in list(TodoState)} states = {state:[] for state in list(TodoState)}
name_to_state = TodoState.get_name_to_state() name_to_state = TodoState.get_name_to_state()
for state_name in name_to_state: for state_name in name_to_state:
states[name_to_state[state_name]].append(state_name) states[name_to_state[state_name]].append(state_name)
return render_template( return render_template(
"documentation-syntax-tags.html", states=states) "documentation-syntax-tags.html", states=states)
@app.route("/documentation/configuration") @app.route("/documentation/configuration")
@back.anchor @back.anchor
...@@ -386,10 +386,10 @@ def todomails_configuration_documentation(): ...@@ -386,10 +386,10 @@ def todomails_configuration_documentation():
@back.anchor @back.anchor
@login_required @login_required
def settings_configuration_documentation(): def settings_configuration_documentation():
user = current_user() user = current_user()
return render_template( return render_template(
"documentation-configuration-settings.html", "documentation-configuration-settings.html",
system_administrator=(user is not None and config.ADMIN_GROUP in user.groups)) system_administrator=(user is not None and config.ADMIN_GROUP in user.groups))
@app.route("/types/list") @app.route("/types/list")
@back.anchor @back.anchor
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment