mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Show the list of pending views in the workflows index page
This commit is contained in:
parent
8589bada3f
commit
3d53e7da65
@ -61,6 +61,11 @@
|
|||||||
<section class="step my-4">{% include '@ChillMain/Workflow/_follow.html.twig' %}</section>
|
<section class="step my-4">{% include '@ChillMain/Workflow/_follow.html.twig' %}</section>
|
||||||
{% if signatures|length > 0 %}
|
{% if signatures|length > 0 %}
|
||||||
<section class="step my-4">{% include '@ChillMain/Workflow/_signature.html.twig' %}</section>
|
<section class="step my-4">{% include '@ChillMain/Workflow/_signature.html.twig' %}</section>
|
||||||
|
{% elseif entity_workflow.currentStep.sends|length > 0 %}
|
||||||
|
<section class="step my-4">
|
||||||
|
<h2>{{ 'workflow.external_views.title'|trans({'numberOfSends': entity_workflow.currentStep.sends|length }) }}</h2>
|
||||||
|
{% include '@ChillMain/Workflow/_send_views_list.html.twig' with {'sends': entity_workflow.currentStep.sends} %}
|
||||||
|
</section>
|
||||||
{% else %}
|
{% else %}
|
||||||
<section class="step my-4">{% include '@ChillMain/Workflow/_decision.html.twig' %}</section>
|
<section class="step my-4">{% include '@ChillMain/Workflow/_decision.html.twig' %}</section>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -75,6 +75,12 @@ workflow:
|
|||||||
see_doc_action_description: 'Voir les documents confidentiels envoyés par {sender}'
|
see_doc_action_description: 'Voir les documents confidentiels envoyés par {sender}'
|
||||||
|
|
||||||
external_views:
|
external_views:
|
||||||
|
title: >-
|
||||||
|
{numberOfSends, plural,
|
||||||
|
=0 {En attente de consultation}
|
||||||
|
=1 {En attente de consultation}
|
||||||
|
other {En attente de consultations}
|
||||||
|
}
|
||||||
last_view_at: Dernière vue le {at, date, long} à {at, time, short}
|
last_view_at: Dernière vue le {at, date, long} à {at, time, short}
|
||||||
number_of_views: >-
|
number_of_views: >-
|
||||||
{numberOfViews, plural,
|
{numberOfViews, plural,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user