mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 19:36:56 -08:00
show stats on user profile
This commit is contained in:
parent
51f2b3e40e
commit
30dedd19c5
1 changed files with 4 additions and 1 deletions
|
@ -94,7 +94,10 @@
|
|||
{% if user.bot %}
|
||||
{{ _('Bot Account') }}<br />
|
||||
{% endif %}
|
||||
{{ _('Attitude') }}: <span title="{{ _('Ratio of upvotes cast to downvotes cast. Higher is more positive.') }}">{{ (user.attitude * 100) | round | int }}%</span></p>
|
||||
{{ _('Attitude') }}: <span title="{{ _('Ratio of upvotes cast to downvotes cast. Higher is more positive.') }}">{{ (user.attitude * 100) | round | int }}%</span><br />
|
||||
{{ _('Posts') }}: {{ user.post_count }}<br />
|
||||
{{ _('Comments') }}: {{ user.post_reply_count }}<br />
|
||||
</p>
|
||||
{{ user.about_html|safe }}
|
||||
{% if posts %}
|
||||
<h2 class="mt-4">Posts</h2>
|
||||
|
|
Loading…
Reference in a new issue