Skip to content

Commit

Permalink
Add date joined to user modal
Browse files Browse the repository at this point in the history
  • Loading branch information
ffont committed Feb 13, 2024
1 parent a844bc1 commit d0dd291
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion templates/moderation/modal_annotations.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,15 @@ <h4 class="v-spacing-5">{{ user.username }}'s mod annotations</h4>
</div>
<div class="row">
<div class="col-lg-6 v-spacing-4">
<div class="v-spacing-4 row">
<div class="v-spacing-4 row middle">
<div class="col-2">
{% bw_user_avatar user.profile.locations.avatar.M.url user.username 50 %}
</div>
<div class="col-8">
<a href="{% url 'account' user.username %}">{{ user.username }}</a>
<div class="text-grey ellipsis">
Joined {{user.date_joined|timesince}} ago
</div>
<div class="text-grey ellipsis">
{{ user.profile.num_sounds|bw_intcomma }} sound{{ user.profile.num_sounds|pluralize }} · {{ user.profile.num_posts|bw_intcomma }} post{{ user.profile.num_posts|pluralize }} · {{ user.profile.num_comments|bw_intcomma }} comment{{ user.profile.num_comments|pluralize }}
</div>
Expand Down

0 comments on commit d0dd291

Please sign in to comment.