Id | -Name | -Active | -Actions | +{{ 'Name'|trans }} | +{{ 'Actions'|trans }} | |||||
---|---|---|---|---|---|---|---|---|---|---|
{{ entity.id }} | -{{ entity.name|localize_translatable_string }} | -{{ entity.active }} | +||||||||
{{ entity.name|localize_translatable_string }} |
|
@@ -52,7 +48,7 @@
diff --git a/Resources/views/ActivityReason/new.html.twig b/Resources/views/ActivityReason/new.html.twig
index afc45a5df..e033ec6c0 100644
--- a/Resources/views/ActivityReason/new.html.twig
+++ b/Resources/views/ActivityReason/new.html.twig
@@ -14,17 +14,22 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see
Id | -{{ entity.id }} | -||
---|---|---|---|
Name | +{{ 'Name'|trans }} | {{ entity.name|localize_translatable_string }} | |
Active | -{{ entity.active }} | +{{ 'Active' }} | +
+ {% if entity.active %}
+ {{ 'The entity is active and will be proposed'|trans }} + {% else %} +{{ "The entity is inactive and won't be proposed"|trans }} + {% endif %} + |