mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +00:00
add a condition to hide transition button if no transisiton available
This commit is contained in:
parent
fdad635787
commit
c4248f4e73
@ -52,6 +52,7 @@
|
|||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<ul class="record_actions">
|
<ul class="record_actions">
|
||||||
|
{% if workflow_transitions(task)|length > 0 %}
|
||||||
<li>
|
<li>
|
||||||
<div class="bt-dropdown">
|
<div class="bt-dropdown">
|
||||||
<a href="" class="sc-button bt-task-exchange"> </a>
|
<a href="" class="sc-button bt-task-exchange"> </a>
|
||||||
@ -62,6 +63,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
|
{% endif %}
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ path('chill_task_single_task_show', { 'id': task.id }) }}" class="sc-button bt-show "></a>
|
<a href="{{ path('chill_task_single_task_show', { 'id': task.id }) }}" class="sc-button bt-show "></a>
|
||||||
</li>
|
</li>
|
||||||
@ -196,7 +198,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if single_task_closed_tasks is defined %}
|
{% if single_task_closed_tasks is defined %}
|
||||||
{{ helper.date_status('Closed', single_task_closed_tasks, single_task_closed_count, single_task_closed_paginator, 'closed', isSingleStatus, person) }}
|
{{ helper.date_status('Closed tasks', single_task_closed_tasks, single_task_closed_count, single_task_closed_paginator, 'closed', isSingleStatus, person) }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if isSingleStatus == false %}
|
{% if isSingleStatus == false %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user