mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-24 00:23:50 +00:00
fix error: the "see more" link was not showed
This commit is contained in:
@@ -6,7 +6,6 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="chill-red">{{ 'Title'|trans }}</th>
|
||||
<th class="chill-green">{{ 'Task type'|trans }}</th>
|
||||
{% if person is null %}
|
||||
<th>{{ 'Person'|trans }}</th>
|
||||
{% endif %}
|
||||
@@ -17,8 +16,14 @@
|
||||
<tbody>
|
||||
{% for task in tasks %}
|
||||
<tr>
|
||||
<td>{{ task.title }}</td>
|
||||
<td>{{ task_workflow_metadata(task, 'definition.name')|trans }}</td>
|
||||
<td>
|
||||
|
||||
<p><strong>{{ task.title }}</strong></p>
|
||||
<dl>
|
||||
<dt>{{ 'Task type'|trans }}</dt>
|
||||
<dd>{{ task_workflow_metadata(task, 'definition.name')|trans }}</dd>
|
||||
</dl>
|
||||
</td>
|
||||
{% if person is null %}
|
||||
<td><a href="{{ path('chill_person_view', {person_id : task.person.Id}) }}">{{ task.person}}</a></td>
|
||||
{% endif %}
|
||||
@@ -92,7 +97,6 @@
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
{% if isSingleStatus %}
|
||||
{% if tasks|length < paginator.getTotalItems %}
|
||||
{{ chill_pagination(paginator) }}
|
||||
@@ -128,16 +132,9 @@
|
||||
{% else %}
|
||||
<ul class="record_actions">
|
||||
<li>
|
||||
{% if person is not null %}
|
||||
<a href="{{ path('chill_task_singletask_list', {'person_id': person.id, 'status' : [ status ] }) }}" class="sc-button">
|
||||
<a href="{{ path('chill_task_singletask_list', app.request.query.all|merge({ 'status': [ status ] })) }}" class="sc-button">
|
||||
{{ 'See more' | trans }}
|
||||
</a>
|
||||
{% endif %}
|
||||
{% if user is not null %}
|
||||
<a href="{{ path('chill_task_singletask_list', {'status' : [ status ] }) }}" class="sc-button">
|
||||
{{ 'See more' | trans }}
|
||||
</a>
|
||||
{% endif %}
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
@@ -212,7 +209,7 @@
|
||||
</li>
|
||||
</ul>
|
||||
{% endif %}
|
||||
|
||||
|
||||
{% if single_task_ended_tasks is defined %}
|
||||
{{ helper.date_status('Tasks with expired deadline', single_task_ended_tasks, single_task_ended_count, single_task_ended_paginator, 'ended', isSingleStatus, person) }}
|
||||
{% endif %}
|
||||
|
Reference in New Issue
Block a user