diff --git a/public/main/inc/lib/template.lib.php b/public/main/inc/lib/template.lib.php index 2d34457e68..f3b21f73c1 100644 --- a/public/main/inc/lib/template.lib.php +++ b/public/main/inc/lib/template.lib.php @@ -1,4 +1,5 @@ 0 %} {% if not _c.session_id %} - {{ {% if subscription_settings.allow_add_users_to_lp_category %} - - {{ + + {{ {% endif %} @@ -46,7 +46,7 @@ {{ {% else %} - {{ @@ -57,7 +57,7 @@ {{ {% else %} - {{ @@ -65,31 +65,31 @@ {% endif %} {% if lp_data.category_visibility == 0 %} - {{ 'Show'|trans }} {% else %} - {{ 'Hide'|trans }} {% endif %} {% if lp_data.category_is_published == 0 %} - {{ 'LearnpathPublish'|trans }} {% else %} - {{ 'Hide'|trans }} {% endif %} {% if not _c.session_id %} - {{ @@ -314,13 +314,13 @@
{% if lp_data.category.getId() > 0 %} {% if not _c.session_id %} - {{ {% if subscription_settings.allow_add_users_to_lp_category %} - {{ @@ -331,7 +331,7 @@ {{ {% else %} - {{ @@ -342,7 +342,7 @@ {{ {% else %} - {{ @@ -350,12 +350,12 @@ {% endif %} {% if lp_data.category_visibility == 0 %} - {{ 'Show'|trans }} {% else %} - {{ 'Hide'|trans }} @@ -363,13 +363,13 @@ {% if lp_data.category_visibility == 1 %} {% if lp_data.category_is_published == 0 %} - {{ 'LearnpathPublish'|trans }} {% else %} - {{ 'Hide'|trans }} @@ -380,7 +380,7 @@ {% endif %} {% if not _c.session_id %} - {{ @@ -518,7 +518,7 @@ {{ 'IHaveFinishedTheLessonsNotifyTheTeacher'|trans }} {% else %} - + {{ 'IHaveFinishedTheLessonsNotifyTheTeacher'|trans }} {% endif %} diff --git a/src/ThemeBundle/Resources/views/Macros/box.html.twig b/src/ThemeBundle/Resources/views/Macros/box.html.twig index d435797501..a803c43c02 100644 --- a/src/ThemeBundle/Resources/views/Macros/box.html.twig +++ b/src/ThemeBundle/Resources/views/Macros/box.html.twig @@ -86,8 +86,8 @@

{{ subitem.title }} {% if subitem.forum_of_group != 0 %} - - {{ "forum.png"|img(22) }} {{ "GoTo"|trans }} {{ subitem.forum_group_title }} + + {{ "forum.png"|img(22) }} {{ "Go to"|trans }} {{ subitem.forum_group_title }} {% endif %} {{ subitem.icon_session }} @@ -98,7 +98,7 @@