mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-15 23:19:20 +00:00
Migrate permanencies and add user stats view
This commit is contained in:
1 parent
b69c3a6792
commit
0689f864d2
6 files changed
+65
-5
No files matched your search
@@ -0,0 +1,18 @@
|
||||
{% extends "core/user_base.jinja" %}
|
||||
|
||||
{% block title %}
|
||||
{% trans user_name=profile.get_display_name() %}{{ user_name }}'s stats{% endtrans %}
|
||||
{% endblock %}
|
||||
|
||||
{% block infos %}
|
||||
{% if profile.permanencies %}
|
||||
<div>
|
||||
<h3>Permanencies</h3>
|
||||
<p>
|
||||
{{ total_time }}
|
||||
</p>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
|
||||
Reference in new issue
Block a user