student_report.tpl 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. {% if allowSkillsTool %}
  2. <div class="btn-group">
  3. <a class="btn btn-default" href="{{ _p.web_main }}social/skills_wheel.php">{{ 'SkillsWheel' | get_lang }}</a>
  4. </div>
  5. {% endif %}
  6. <h1 class="page-header">{{ 'SkillsAcquired' | get_lang }}</h1>
  7. {% if rows %}
  8. <table class="table">
  9. <thead>
  10. <tr>
  11. <th>{{ 'Skill' | get_lang }}</th>
  12. <th>{{ 'Date' | get_lang }}</th>
  13. <th>{{ 'Course' | get_lang }}</th>
  14. </tr>
  15. </thead>
  16. <tbody>
  17. {% for row in rows %}
  18. <tr>
  19. <td>{{ row.skillName }}</td>
  20. <td>{{ row.achievedAt }}</td>
  21. {% if row.courseName %}
  22. <td><img src="{{ row.courseImage }}" alt="{{ row.courseName }}" width="32"> {{ row.courseName }}</td>
  23. {% else %}
  24. <td> - </td>
  25. {% endif %}
  26. </tr>
  27. {% endfor %}
  28. </tbody>
  29. </table>
  30. {% else %}
  31. <div class="alert alert-info">
  32. {{ 'NoResults' | get_lang }}
  33. </div>
  34. {% endif %}