2022-08-09 12:46:48 +00:00
|
|
|
{% macro information(current_user, active_semester_str, role) %} User:
|
|
|
|
<a
|
2022-09-11 12:55:53 +00:00
|
|
|
href="{{ url_for('main.index') }}{{ role }}/user/edit/?id={{ current_user.id }}"
|
2022-08-09 12:46:48 +00:00
|
|
|
>{{ current_user }}</a
|
|
|
|
>
|
2021-11-29 19:49:18 +00:00
|
|
|
|
2022-08-09 12:46:48 +00:00
|
|
|
| Active semester: {{ active_semester_str() }} {% if (role == "admin") and
|
|
|
|
(current_user.has_role("assistant")) %} |
|
|
|
|
<a href="{{ url_for('main.index') }}assistant">Assistant space</a>. {% elif
|
|
|
|
(role == "assistant") and (current_user.has_role("admin")) %} |
|
|
|
|
<a href="{{ url_for('main.index') }}admin">Admin space</a>. {% endif %} {%
|
|
|
|
endmacro %} {% macro
|
|
|
|
missing_final_experiment_marks(number_of_missing_final_experiment_marks,
|
|
|
|
number_of_all_experiment_marks) %}
|
|
|
|
<p>
|
|
|
|
Number of <strong>missing</strong> final experiment marks: {{
|
|
|
|
number_of_missing_final_experiment_marks }} / {{
|
|
|
|
number_of_all_experiment_marks }}
|
|
|
|
</p>
|
2022-05-16 22:42:49 +00:00
|
|
|
{% endmacro %}
|