gradebook_dependency.tpl 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. {% extends 'layout/layout_1_col.tpl'|get_template %}
  2. {% block content %}
  3. <h3>
  4. {{ gradebook_category.name }}
  5. {% if gradebook_category.courseCode is not empty %}
  6. ({{ gradebook_category.courseCode }})
  7. {% endif %}
  8. </h3>
  9. {{ 'MinimumGradebookToValidate' | get_lang }} : {{ min_to_validate }}
  10. <br />
  11. {{ 'MandatoryCourses' | get_lang }}
  12. {% for course in mandatory_courses %}
  13. <th>
  14. {{ course.title }} ({{ course.code }})
  15. </th>
  16. {% endfor %}
  17. <hr>
  18. <table class="table">
  19. <thead class="title">
  20. <tr>
  21. <th>{{ 'Users' | get_lang }}</th>
  22. {% for course in courses %}
  23. <th>
  24. {{ course.title }} ({{ course.code }})
  25. </th>
  26. {% endfor %}
  27. <th>{{ 'RestCoursesSubscribedResults' | get_lang }}</th>
  28. <th>{{ 'Progress' | get_lang }} Max 20 (Mandatory courses)</th>
  29. <th>{{ 'Progress' | get_lang }} Max 80 (Rest of courses)</th>
  30. <th>{{ 'Total' | get_lang }}</th>
  31. </tr>
  32. </thead>
  33. {% for user in users %}
  34. <tr>
  35. <td>{{ user.user_info.complete_name }}</td>
  36. {% for course in courses %}
  37. <td>
  38. {% if user.result_dependencies[course.code] %}
  39. <img src="{{ 'check-circle.png'|icon(22) }}" />
  40. {% endif %}
  41. </td>
  42. {% endfor %}
  43. <td>
  44. {{ user.course_list_passed_out_dependency }} /
  45. {{ user.course_list_passed_out_dependency_count }}
  46. </td>
  47. <td>
  48. {{ user.result_mandatory_20 }}
  49. </td>
  50. <td>
  51. {{ user.result_not_mandatory_80 }}
  52. </td>
  53. <td>
  54. {% if user.final_result %}
  55. <img src="{{ 'check-circle.png'|icon(22) }}" />
  56. {% else %}
  57. <img src="{{ 'warning.png'|icon(22) }}" />
  58. {% endif %}
  59. </td>
  60. </tr>
  61. {% endfor %}
  62. </table>
  63. {% endblock %}