1
0
Fork 0
mirror of https://codeberg.org/Mo8it/AdvLabDB.git synced 2024-12-22 23:51:03 +00:00
AdvLabDB/advlabdb/templates/macros.html

4 lines
256 B
HTML
Raw Normal View History

2021-07-29 18:03:41 +00:00
{% macro information(current_user, userActiveSemester, role) %}
User: <a href="{{url_for('index')}}{{role}}/user/details/?id={{current_user.id}}">{{current_user.repr()}}</a>; Active
semester: {{userActiveSemester(flashWarning=True).repr()}}.
{% endmacro %}