student_report.tpl 1.2 KB

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