diff --git a/plugin/buycourses/view/list.tpl b/plugin/buycourses/view/list.tpl index be6fe2a5d4..ba888773ce 100644 --- a/plugin/buycourses/view/list.tpl +++ b/plugin/buycourses/view/list.tpl @@ -3,211 +3,221 @@ -{% if sessionsAreIncluded == "YES" %} -
-{% endif %} - -
-
+
+ {% if sessionsAreIncluded == "YES" %} + + {% endif %} -
-
{{ 'SearchFilter'|get_plugin_lang('BuyCoursesPlugin') }}
-
-
-
- - -
-
-
-
- - -
-
-
-
- - -
-
-
-
- +
+
+
+
+
+
{{ 'SearchFilter'|get_plugin_lang('BuyCoursesPlugin') }}
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+ +
+
+
-
- -
-
- - {% if rmessage == "YES" %} -
- {{ responseMessage }} -
- {% endif %} - {% for course in courses %} -
-
-
- - - -
- -
- {{ 'Teacher'|get_lang }}: {{ course.teacher }} -
-
- {% if course.enrolled == "YES" %} - {{ 'TheUserIsAlreadyRegisteredInTheCourse'|get_plugin_lang('BuyCoursesPlugin') }} - {% endif %} - {% if course.enrolled == "TMP" %} - {{ 'WaitingToReceiveThePayment'|get_plugin_lang('BuyCoursesPlugin') }} - {% endif %} -
-
- {{ course.price }} {{ currency }} -
-
-
- - {{ 'Description'|get_lang }} - - {% if course.enrolled == "NO" %} - - {{ 'Buy'|get_plugin_lang('BuyCoursesPlugin') }} - - {% endif %} +
+ {% if rmessage == "YES" %} +
+ {{ responseMessage }}
+ {% endif %} + {% for course in courses %} +
+
+
+ + + +
+ +
+ {{ 'Teacher'|get_lang }}: {{ course.teacher }} +
+
+ {% if course.enrolled == "YES" %} + {{ 'TheUserIsAlreadyRegisteredInTheCourse'|get_plugin_lang('BuyCoursesPlugin') }} + {% endif %} + {% if course.enrolled == "TMP" %} + {{ 'WaitingToReceiveThePayment'|get_plugin_lang('BuyCoursesPlugin') }} + {% endif %} +
+
+ {{ course.price }} {{ currency }} +
+
+ -
-
-
- {% endfor %} -
-
-{% if sessionsAreIncluded == "YES" %} -
- -
-
- {{ 'SearchFilter'|get_plugin_lang('BuyCoursesPlugin') }} -
-
-
-
- - -
-
-
-
- - -
-
-
- - -
-
-
- -
-
-
-
- -
- {% if rmessage == "YES" %} -
- {{ responseMessage }} -
- {% endif %} - - {% for session in sessions %} -
-
-
-

{{ session.name }}

-
{{ 'From'|get_lang }} {{ session.access_start_date }} {{ 'Until'|get_lang }} {{ session.access_end_date }}
- {% if session.enrolled == "YES" %} - {{ 'TheUserIsAlreadyRegisteredInTheSession'|get_plugin_lang('BuyCoursesPlugin') }} - {% endif %} - {% if session.enrolled == "TMP" %} - {{ 'WaitingToReceiveThePayment'|get_plugin_lang('BuyCoursesPlugin') }} - {% endif %} +
-
-
- {{ session.price }} {{ currency }} -
+ {% endfor %} +
+
-
- {% if session.enrolled == "NO" %} - - {{ 'Buy'|get_plugin_lang('BuyCoursesPlugin') }} - - {% endif %} -
+ {% if sessionsAreIncluded == "YES" %} +
+
+
+ {{ 'SearchFilter'|get_plugin_lang('BuyCoursesPlugin') }}
-
- {% for course in session.courses %} -
-
-
- - - +
+
+
+ +
-
-
-

{{ course.title }}

-
{{ 'Teacher'|get_lang }}: {{ course.teacher }}
+
+
+ +
- {% if course.enrolled == "YES" %} - {{ 'TheUserIsAlreadyRegisteredInTheCourse'|get_plugin_lang('BuyCoursesPlugin') }} - {% endif %} - {% if course.enrolled == "TMP" %} - {{ 'WaitingToReceiveThePayment'|get_plugin_lang('BuyCoursesPlugin') }} - {% endif %}
-
-
-
- - {{ 'Description'|get_lang }} - +
+ + +
+
+
+
- - {% endfor %}
+
+ +
+
+ {% if rmessage == "YES" %} +
+ {{ responseMessage }} +
+ {% endif %} + {% for session in sessions %} +
+ +
+
+

{{ session.name }}

+
{{ 'From'|get_lang }} {{ session.access_start_date }} {{ 'Until'|get_lang }} {{ session.access_end_date }}
+ {% if session.enrolled == "YES" %} + {{ 'TheUserIsAlreadyRegisteredInTheSession'|get_plugin_lang('BuyCoursesPlugin') }} + {% endif %} + {% if session.enrolled == "TMP" %} + {{ 'WaitingToReceiveThePayment'|get_plugin_lang('BuyCoursesPlugin') }} + {% endif %} +
+
+
+
+ {{ session.price }} {{ currency }} +
+ +
+ {% if session.enrolled == "NO" %} + + {{ 'Buy'|get_plugin_lang('BuyCoursesPlugin') }} + + {% endif %} +
+
+
+ {% for course in session.courses %} +
+
+
+ + + +
+
+
+
+

{{ course.title }}

+
{{ 'Teacher'|get_lang }}: {{ course.teacher }}
+
+ {% if course.enrolled == "YES" %} + {{ 'TheUserIsAlreadyRegisteredInTheCourse'|get_plugin_lang('BuyCoursesPlugin') }} + {% endif %} + {% if course.enrolled == "TMP" %} + {{ 'WaitingToReceiveThePayment'|get_plugin_lang('BuyCoursesPlugin') }} + {% endif %} +
+ + + {% endfor %} +
+
+ {% endfor %} +
+
+
- {% endfor %} + {% endif %}
-
-{% endif %}