diff --git a/Resources/views/ActivityReason/show.html.twig b/Resources/views/ActivityReason/show.html.twig index 830fd466e..e9d07d5b6 100644 --- a/Resources/views/ActivityReason/show.html.twig +++ b/Resources/views/ActivityReason/show.html.twig @@ -26,14 +26,14 @@ {{ entity.name|localize_translatable_string }} - {{ 'Active' }} + {{ 'Active'|trans }} {% if entity.active %}

{{ 'The entity is active and will be proposed'|trans }}

{% else %}

{{ "The entity is inactive and won't be proposed"|trans }}

{% endif %} - + diff --git a/Resources/views/ActivityReasonCategory/index.html.twig b/Resources/views/ActivityReasonCategory/index.html.twig index afbd867cd..43135ade8 100644 --- a/Resources/views/ActivityReasonCategory/index.html.twig +++ b/Resources/views/ActivityReasonCategory/index.html.twig @@ -22,37 +22,45 @@ - - - - + + + {% for entity in entities %} - - - + + {% endfor %}
IdNameActiveActions{{ 'Name'|trans }}{{ 'Active'|trans }}Active{{ 'Actions'|trans }}
{{ entity.id }}{{ entity.name|localize_translatable_string }}{{ entity.active }} - + + {{ entity.name|localize_translatable_string }} + + + {% if entity.active %} +

{{ 'Active'|trans }}

+ {% else %} +

{{ "Inactive"|trans }}

+ {% endif %} +
+
-