add badges

This commit is contained in:
2025-12-09 03:33:27 +03:00
parent 1539486456
commit dbf0150a5e
43 changed files with 913 additions and 111 deletions

View File

@@ -1,4 +1,4 @@
{% from 'common/macros.html' import timestamp %}
{% from 'common/macros.html' import timestamp, badge_button %}
{% extends 'base.html' %}
{% block title %}{{ target_user.get_readable_name() }}'s profile{% endblock %}
{% block content %}
@@ -54,6 +54,11 @@
Signature:
<div>{{ target_user.signature_rendered | safe }}</div>
{% endif %}
<div class="badges-container">
{% for badge in target_user.get_badges() %}
{{ badge_button(badge) }}
{% endfor %}
</div>
</div>
</div>
<div class="user-page-stats">