student_report.html.twig 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. {% autoescape false %}
  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. {% if rows %}
  10. <h1 class="page-header">{{ 'SkillsAcquired' | get_lang }}</h1>
  11. <table class="table">
  12. <thead>
  13. <tr>
  14. <th>{{ 'Badge' | get_lang }}</th>
  15. <th>{{ 'Skill' | get_lang }}</th>
  16. <th>{{ 'Date' | get_lang }}</th>
  17. <th>{{ 'Course' | get_lang }}</th>
  18. </tr>
  19. </thead>
  20. <tbody>
  21. {% for row in rows %}
  22. <tr>
  23. <td>{{ row.skill_badge }}</td>
  24. <td>{{ row.skill_name }}</td>
  25. <td>{{ row.achieved_at }}</td>
  26. {% if row.course_name %}
  27. <td>
  28. <img src="{{ row.course_image }}" alt="{{ row.course_name }}" width="32">
  29. {{ row.course_name }}
  30. </td>
  31. {% else %}
  32. <td> - </td>
  33. {% endif %}
  34. </tr>
  35. {% endfor %}
  36. </tbody>
  37. </table>
  38. {% if skill_table %}
  39. {{ skill_table }}
  40. {% endif %}
  41. {% endif %}
  42. {% endautoescape %}