From da53254dc0f34ff6cd34ed28ec3083bb3da7e399 Mon Sep 17 00:00:00 2001 From: aragonc Date: Mon, 13 Jul 2015 11:28:36 -0500 Subject: [PATCH] buy course fix tpl --- app/Resources/public/css/base.css | 4 - plugin/buycourses/view/process.tpl | 195 +++++++++++++---------------- 2 files changed, 85 insertions(+), 114 deletions(-) diff --git a/app/Resources/public/css/base.css b/app/Resources/public/css/base.css index 6e99115cc5..3a1fe80fee 100644 --- a/app/Resources/public/css/base.css +++ b/app/Resources/public/css/base.css @@ -4438,10 +4438,6 @@ i.size-32.icon-new-note{ background-position: right center; } -#course_category_well { - padding: 9px 0; -} - .nav-list img { margin-right: 6px; } diff --git a/plugin/buycourses/view/process.tpl b/plugin/buycourses/view/process.tpl index 2ce1cbdd82..66f116ced3 100644 --- a/plugin/buycourses/view/process.tpl +++ b/plugin/buycourses/view/process.tpl @@ -4,132 +4,107 @@
-
+
Datos de la Compra
+ {% if isSession == "YES" %} +
+
- +
+
+

{{ title }}

+

{{ 'From'|get_lang }} {{ session.access_start_date }} {{ 'To'|get_lang }} {{ session.access_end_date }}

+
+
+
    + {% for course in session.courses %} +
  • {{ course.title }} + {% if course.enrolled == "YES" %} + {{ 'TheUserIsAlreadyRegisteredInTheCourse'|get_plugin_lang('BuyCoursesPlugin') }} + {% endif %} + {% if course.enrolled == "TMP" %} + {{ 'WaitingToReceiveThePayment'|get_plugin_lang('BuyCoursesPlugin') }} + {% endif %} +
  • + {% endfor %} +
+
+ +
+ {% else %} +
+
+ + + +
+
+

{{ course.title }}

+

{{ 'Teacher'|get_lang }}: {{ course.teacher }}

+
+
{{ course.price }} {{ currency }}
+ +
+ {% endif %}
-
+
{{ 'UserInformation'|get_plugin_lang('BuyCoursesPlugin') }}
-
-
{{ 'Name'|get_lang }}:
-
{{ name }}
-
{{ 'User'|get_lang }}:
-
{{ user }}
-
{{ 'Email'|get_lang }}:
-
{{ email }}
-
-
-
-
-
- {% if isSession == "YES" %} -
-
-
-

{{ title }}

-
{{ 'From'|get_lang }} {{ session.access_start_date }} {{ 'To'|get_lang }} {{ session.access_end_date }}
-
-
-
-
- {{ session.price }} {{ currency }} -
-
-
-
- {% 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 %} - {% else %} -
-
-
- - - -
-
-
-
-

{{ course.title }}

-
{{ 'Teacher'|get_lang }}: {{ course.teacher }}
-
-
-
-
{{ course.price }} {{ currency }}
-
-
- {{'Description'|get_lang }} - + +
+ + {{ 'PaymentMethods'|get_plugin_lang('BuyCoursesPlugin') }} + +
+ {% if paypal_enable == "true" %} +
+ +
+ {% endif %} + {% if transfer_enable == "true" %} +
+ +
+ {% endif %} +
+ + + + +
- {% endif %}
-
-
-
- {{ 'PaymentMethods'|get_plugin_lang('BuyCoursesPlugin') }} -
-
- {% if paypal_enable == "true" %} - - {% endif %} - {% if transfer_enable == "true" %} - - {% endif %} -
-
- - - -
-
-
-
+