mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 13:54:23 +00:00
do not show transition button if no transition available
This commit is contained in:
parent
52bda7c94f
commit
48b9078497
@ -94,6 +94,7 @@
|
||||
{{ 'Back to the list'|trans }}
|
||||
</a>
|
||||
</li>
|
||||
{% if workflow_transitions(task)|length > 0 %}
|
||||
<li>
|
||||
<div class="bt-dropdown">
|
||||
<a href="" class="sc-button bt-task-exchange"> {{'Change task status'|trans}}</a>
|
||||
@ -104,6 +105,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if is_granted('CHILL_TASK_TASK_UPDATE', task) %}
|
||||
<li>
|
||||
<a class="sc-button bt-update" href="{{ path('chill_task_single_task_edit', { 'id': task.id }) }}">
|
||||
|
Loading…
x
Reference in New Issue
Block a user