student_report.tpl 1.4 KB

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