student_report.tpl 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <!--
  2. {% if allow_skill_tool %}
  3. <div class="btn-group">
  4. <a class="btn btn-default" href="{{ _p.web_main }}social/skills_wheel.php">
  5. {{ 'SkillsWheel' | get_lang }}
  6. </a>
  7. </div>
  8. {% endif %}
  9. -->
  10. <style>
  11. </style>
  12. <h1 class="page-header">{{ 'MyBadges' | get_lang }}</h1>
  13. <p>
  14. {{ 'MySkillsReportIntroduction' | get_lang }}
  15. </p>
  16. {% if rows %}
  17. <div class="communications">
  18. {% if skill_table %}
  19. {{ skill_table }}
  20. {% endif %}
  21. </div>
  22. <h6 class="table-header">{{ 'SkillsHistory' | get_lang }}</h6>
  23. <table class="table">
  24. <thead>
  25. <tr>
  26. <th>{{ 'Badge' | get_lang }}</th>
  27. <th>{{ 'Skill' | get_lang }}</th>
  28. <th>{{ 'Date' | get_lang }}</th>
  29. <th>{{ 'Course' | get_lang }}</th>
  30. </tr>
  31. </thead>
  32. <tbody>
  33. {% for row in rows %}
  34. <tr>
  35. <td>{{ row.skill_badge }}</td>
  36. <td>{{ row.skill_name }}</td>
  37. <td>{{ row.achieved_at }}</td>
  38. {% if row.course_name %}
  39. <td>
  40. <img src="{{ row.course_image }}" alt="{{ row.course_name }}" width="32">
  41. {{ row.course_name }}
  42. </td>
  43. {% else %}
  44. <td> - </td>
  45. {% endif %}
  46. </tr>
  47. {% endfor %}
  48. </tbody>
  49. </table>
  50. {% endif %}