wording of timeline tasks

This commit is contained in:
Julien Fastré 2018-05-25 12:24:12 +02:00
parent d4d730ea02
commit 03d8707e79
2 changed files with 2 additions and 4 deletions

View File

@ -69,7 +69,7 @@ close: clotûrer
cancel: annuler
'%user% has closed the task': %user% a fermé la tâche
'%user% has canceled the task': %user% a annulé la tâche
'%user% has started the task': %user% a débuté la tâche
'%user% has started the task': %user% a commencé la tâche
'%user% has created the task': %user% a introduit la tâche
#Flash messages

View File

@ -1,13 +1,11 @@
<div>
<h3 class="single-line">
{{ event.datetime|localizeddate('long', 'short') }}
<span class="task"> / {{ 'Task'|trans }}</span> /
<span class="task">
{% if transition is not null %}
<span class="statement">{{ task_workflow_metadata(event.task, 'transition.sentence', transition)|trans({ '%user%': event.author.username }) }}</span>
<span>"{{ event.task.title }}"</span>
{% else %}
<span class="statement">{{ '%user% has created the task'|trans({ '%user%': event.author.username }) }}</span>
<span>"{{ event.task.title }}"</span>
{% endif %}
</h3>
</div>