forked from mirrors/bookwyrm
20 lines
800 B
HTML
20 lines
800 B
HTML
{% load i18n %}
|
|
{% load humanize %}
|
|
|
|
<div class="media block">
|
|
<div class="media-left">
|
|
<a href="{{ user.local_path }}">
|
|
{% include 'snippets/avatar.html' with user=user large=True %}
|
|
</a>
|
|
</div>
|
|
<div class="media-content">
|
|
<p>{% if user.name %}{{ user.name }}{% else %}{{ user.localname }}{% endif %}</p>
|
|
<p><a href="{{ user.remote_id }}">{{ user.username }}</a></p>
|
|
<p>{% blocktrans with date=user.created_date|naturaltime %}Joined {{ date }}{% endblocktrans %}</p>
|
|
<p>
|
|
<a href="{{ user.local_path }}/followers">{{ user.followers.count }} follower{{ user.followers.count | pluralize }}</a>,
|
|
<a href="{{ user.local_path }}/following">{{ user.following.count }} following</a>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|