translation and redirection

This commit is contained in:
2018-07-06 14:02:40 +02:00
parent 39e166eb5b
commit 5ada6d913c
4 changed files with 32 additions and 9 deletions

View File

@@ -141,7 +141,7 @@
{% import _self as helper %}
<h1>{{ app.request.title|default('Task list')|trans }}</h1>
<h1>{{ app.request.query.get('title', null)|default('Task list'|trans) }}</h1>
{% if false == app.request.query.boolean('hide_form', false) %}
<h2>{{ 'Filter the tasks'|trans }}</h2>
@@ -181,7 +181,9 @@
{% endif %}
{% else %}
{% if false == app.request.query.boolean('hide_form', false) %}
<h2>{{ 'Tasks'|trans }}</h2>
{% endif %}
{% if person is not null and is_granted('CHILL_TASK_TASK_CREATE', person) %}
<ul class="record_actions">