add assignee in task list + fix some translation

This commit is contained in:
Julien Fastré 2018-10-18 20:05:02 +02:00
parent c36778184d
commit 7c113e3478
3 changed files with 11 additions and 1 deletions

View File

@ -2,4 +2,6 @@ Branch master
=============
- fix bug in filter task form: allow to show the list of users, which was hidden when the user had access to multiple centers;
- add assignee in task list;
- fix some translation;

View File

@ -59,7 +59,7 @@ Any user: Tous les utilisateurs
Unassigned: Non assigné
Associated person: Personne associée
Default task: Tâche par défaut
Not assigned: Aucun utilisateur assigné
# transitions - default task definition
'new': 'nouvelle'

View File

@ -26,6 +26,14 @@
{% for place in workflow_marked_places(task) %}
<span class="">{{ place|trans }}</span>
{% endfor %}
{% if task.assignee is not null %}
<dl>
<dt>{{ 'Assignee'|trans }}</dt>
<dd>{{ task.assignee.username }}</dd>
</dl>
{% endif %}
</td>
<td>
{% if task.startDate is null and task.warningDate is null and task.endDate is null %}