resume_session.html.twig 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. {% extends "@ChamiloTheme/Layout/layout_one_col.html.twig" %}
  2. {% block content %}
  3. {% autoescape false %}
  4. {{ session_header }}
  5. {{ title }}
  6. <table id="session-properties" class="table table-bordered">
  7. <tr>
  8. <td>{{ 'CreatedBy'|get_lang }}</td>
  9. <td>{{ session_admin.complete_name_with_message_link }}</td>
  10. </tr>
  11. <tr>
  12. <td>{{ 'GeneralCoach' | get_lang}} :</td>
  13. <td>{{ general_coach.complete_name_with_message_link }}</td>
  14. </tr>
  15. {% if session_category %}
  16. <tr>
  17. <td>{{ 'SessionCategory' | get_lang}} </td>
  18. <td>{{ session_category }}</td>
  19. </tr>
  20. {% endif %}
  21. {% if session.duration > 0 %}
  22. <tr>
  23. <td>{{ 'Duration' | get_lang}} </td>
  24. <td>
  25. {{ session.duration }} {{ 'Days' | get_lang }}
  26. </td>
  27. </tr>
  28. {% else %}
  29. <tr>
  30. <td>{{ 'DisplayDates' | get_lang}} </td>
  31. <td>{{ session_dates.display }}</td>
  32. </tr>
  33. <tr>
  34. <td>{{ 'AccessDates' | get_lang}} </td>
  35. <td>{{ session_dates.access }}</td>
  36. </tr>
  37. <tr>
  38. <td>{{ 'CoachDates' | get_lang}} </td>
  39. <td>{{ session_dates.coach }}</td>
  40. </tr>
  41. {% endif %}
  42. <tr>
  43. <td>{{ 'Description' | get_lang}} </td>
  44. <td>
  45. {{ session.description }}
  46. </td>
  47. </tr>
  48. <tr>
  49. <td>{{ 'ShowDescription' | get_lang}} </td>
  50. <td>
  51. {% if session.show_description == 1 %}
  52. {{ 'Yes' | get_lang}}
  53. {% else %}
  54. {{ 'No' | get_lang}}
  55. {% endif %}
  56. </td>
  57. </tr>
  58. <tr>
  59. <td>{{ 'SessionVisibility' | get_lang}} </td>
  60. <td>
  61. {{ session_visibility }}
  62. </td>
  63. </tr>
  64. {% if promotion %}
  65. <tr>
  66. <td>{{ 'Career' | get_lang}}</td>
  67. <td>
  68. <a href="{{ _p.web_main }}admin/career_dashboard.php?filter={{ promotion.career.id }}&submit=&_qf__filter_form=">
  69. {{ promotion.career.name }}
  70. </a>
  71. </td>
  72. </tr>
  73. <tr>
  74. <td>{{ 'Promotion' | get_lang}}</td>
  75. <td>
  76. <a href="{{ _p.web_main }}admin/promotions.php?action=edit&id={{ promotion.id }}">
  77. {{ promotion.name }}
  78. </a>
  79. </td>
  80. </tr>
  81. {% endif %}
  82. {% if url_list %}
  83. <tr>
  84. <td>URL</td>
  85. <td>
  86. {% for url in url_list %}
  87. {{ url.url }}
  88. {% endfor %}
  89. </td>
  90. </tr>
  91. {% endif %}
  92. {% for extra_field in extra_fields %}
  93. <tr>
  94. <td>{{ extra_field.text }}</td>
  95. <td>{{ extra_field.value }}</td>
  96. </tr>
  97. {% endfor %}
  98. {% if programmed_announcement %}
  99. <tr>
  100. <td>{{ 'ScheduledAnnouncements' | get_lang}}</td>
  101. <td>
  102. <a class="btn btn-default" href="{{ _p.web_main }}session/scheduled_announcement.php?session_id={{ session.id }}">
  103. {{ 'Edit' | get_lang }}
  104. </a>
  105. </td>
  106. </tr>
  107. {% endif %}
  108. </table>
  109. {{ course_list }}
  110. {{ user_list }}
  111. {{ requirements }}
  112. {{ dependencies }}
  113. {% endautoescape %}
  114. {% endblock %}