mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +00:00
fix error: the "see more" link was not showed
This commit is contained in:
parent
f4331f1756
commit
176ca90e39
@ -12,3 +12,8 @@ Version 1.5.4
|
||||
|
||||
- adding indexes on place event and task
|
||||
|
||||
Branche de développement
|
||||
========================
|
||||
|
||||
- Fix error on the "see more" link which was not showed
|
||||
|
||||
|
@ -389,7 +389,7 @@ class SingleTaskController extends Controller
|
||||
$params['person'] = $person;
|
||||
} elseif (!empty($request->query->get('center_id', NULL))) {
|
||||
$center = $centerRepository->find($request->query->getInt('center_id'));
|
||||
dump($center);
|
||||
|
||||
if ($center === null) {
|
||||
throw $this->createNotFoundException('center not found');
|
||||
}
|
||||
|
@ -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 %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user