add task type in list

This commit is contained in:
2018-07-05 15:12:09 +02:00
parent bae3904b1d
commit 9852430b13
3 changed files with 12 additions and 6 deletions

View File

@@ -6,7 +6,7 @@
<thead>
<tr>
<th class="chill-red">{{ 'Title'|trans }}</th>
{# <th class="chill-green">{{ 'Task type'|trans }}</th> #}
<th class="chill-green">{{ 'Task type'|trans }}</th>
{% if person is null %}
<th>{{ 'Person'|trans }}</th>
{% endif %}
@@ -18,7 +18,7 @@
{% for task in tasks %}
<tr>
<td>{{ task.title }}</td>
{# <td>{{ task.type }}</td> #}
<td>{{ task_workflow_metadata(task, 'definition.name') }}</td>
{% if person is null %}
<td><a href="{{ path('chill_person_view', {person_id : task.person.Id}) }}">{{ task.person}}</a></td>
{% endif %}