service_information.tpl 4.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. <link rel="stylesheet" type="text/css" href="{{ _p.web_plugin ~ 'buycourses/resources/css/style.css' }}"/>
  2. <div id="service-information">
  3. <div class="row">
  4. <div class="col-xs-12">
  5. <h3 class="text-uppercase buy-courses-title-color">{{ service.name }}</h3>
  6. </div>
  7. {% if service.video_url %}
  8. <div class="col-sm-6 col-md-7 col-xs-12">
  9. <div class="embed-responsive embed-responsive-16by9">
  10. {{ essence.replace(service.video_url) }}
  11. </div>
  12. </div>
  13. {% endif %}
  14. <div class="{{ service.video_url ? 'col-sm-6 col-md-5 col-xs-12' : 'col-sm-12 col-xs-12' }}">
  15. <div class="block">
  16. <div class="panel panel-default">
  17. <div class="panel-heading">
  18. <h4>{{ "Description"|get_lang }}</h4>
  19. </div>
  20. <div class="panel-body">
  21. <p><em class="fa fa-flag-o"></em> <b>{{ 'AppliesTo'|get_plugin_lang('BuyCoursesPlugin') }}</b> :
  22. {% if service.applies_to == 1 %}
  23. {{ 'User' | get_lang }}
  24. {% elseif service.applies_to == 2 %}
  25. {{ 'Course' | get_lang }}
  26. {% elseif service.applies_to == 3 %}
  27. {{ 'Session' | get_lang }}
  28. {% elseif service.applies_to == 4 %}
  29. {{ 'TemplateTitleCertificate' | get_lang }}
  30. {% endif %}
  31. </p>
  32. <p><em class="fa fa-money"></em> <b>{{ 'Price'|get_plugin_lang('BuyCoursesPlugin') }}</b> : {{ service.currency == 'BRL' ? 'R$' : service.currency }} {{ service.price }}</p>
  33. <p><em class="fa fa-align-justify"></em> <b>{{ 'Details' | get_lang }}</b> : {{ service.description }}</p>
  34. <div class="text-right" style="padding-bottom: 20px;">
  35. <a href="{{ _p.web_plugin ~ 'buycourses/src/service_process.php?t=4&i=' ~ service.id }}" class="btn btn-success btn-lg">
  36. <em class="fa fa-shopping-cart"></em> {{ 'Buy'|get_plugin_lang('BuyCoursesPlugin') }}
  37. </a>
  38. </div>
  39. </div>
  40. </div>
  41. </div>
  42. </div>
  43. </div>
  44. </br>
  45. </br>
  46. <div class="row info-course">
  47. <div class="col-xs-12 col-md-7">
  48. <div class="panel panel-default">
  49. <div class="panel-heading">
  50. <h4>{{ 'ServiceInformation'|get_plugin_lang('BuyCoursesPlugin') }}</h4>
  51. </div>
  52. <div class="panel-body">
  53. {{ service.service_information }}
  54. </div>
  55. </div>
  56. </div>
  57. <div class="col-xs-12 col-md-5">
  58. <div class="panel panel-default social-share">
  59. <div class="panel-heading">
  60. <h4>{{ "ShareWithYourFriends"|get_lang }}</h4>
  61. </div>
  62. <div class="panel-body">
  63. <div class="icons-social text-center">
  64. <a href="https://www.facebook.com/sharer/sharer.php?{{ {'u': pageUrl}|url_encode }}" target="_blank" class="btn bnt-link btn-lg">
  65. <em class="fa fa-facebook fa-2x"></em>
  66. </a>
  67. <a href="https://twitter.com/home?{{ {'status': session.getName() ~ ' ' ~ pageUrl}|url_encode }}" target="_blank" class="btn bnt-link btn-lg">
  68. <em class="fa fa-twitter fa-2x"></em>
  69. </a>
  70. <a href="https://www.linkedin.com/shareArticle?{{ {'mini': 'true', 'url': pageUrl, 'title': session.getName() }|url_encode }}" target="_blank" class="btn bnt-link btn-lg">
  71. <em class="fa fa-linkedin fa-2x"></em>
  72. </a>
  73. </div>
  74. </div>
  75. </div>
  76. </div>
  77. </div>
  78. </div>