From 096c2097a3504e57ca407b739fc2f8c2c75d4d7e Mon Sep 17 00:00:00 2001 From: Angel Fernando Quiroz Campos Date: Tue, 18 Apr 2017 10:38:11 -0500 Subject: [PATCH] Improve session catalog template - refs BT#12646 --- .../template/default/auth/session_catalog.tpl | 28 ++++++++----------- 1 file changed, 12 insertions(+), 16 deletions(-) diff --git a/main/template/default/auth/session_catalog.tpl b/main/template/default/auth/session_catalog.tpl index 1043bba672..f24676bda2 100644 --- a/main/template/default/auth/session_catalog.tpl +++ b/main/template/default/auth/session_catalog.tpl @@ -9,7 +9,7 @@ });
-

{{ 'Sessions'|get_lang }}

+
@@ -45,7 +45,7 @@ {% if show_courses %} @@ -112,23 +112,19 @@ {% endif %}

-
- +
    +
  • - {{ item.nbr_courses }} {{ 'Courses'|get_lang }} - - + {{ item.nbr_courses ~ ' ' ~ 'Courses'|get_lang }} +
  • +
  • - {{ item.nbr_users }} {{ 'NbUsers'|get_lang }} - -
- {% if not _u.logged %} -   - {% else %} + {{ item.nbr_users ~ ' ' ~ 'NbUsers'|get_lang }} + + + {% if _u.logged %}
- {% if item.sequences is empty %} -   - {% else %} + {% if not item.sequences is empty %}