1
0
Fork 0

Show mutual counts instead of totals for other users

This commit is contained in:
Mouse Reeve 2021-04-30 09:48:10 -07:00
parent 4dacf4df3a
commit 62884c6111
3 changed files with 25 additions and 6 deletions

View file

@ -6,14 +6,14 @@
{% with user|username as username %}
<nav class="tabs">
<ul>
{% url 'user-following' user|username as url %}
<li{% if url == request.path or url == request.path|add:'/' %} class="is-active"{% endif %}>
<a href="{{ url }}">{% trans "Following" %}</a>
</li>
{% url 'user-followers' user|username as url %}
<li{% if url == request.path or url == request.path|add:'/' %} class="is-active"{% endif %}>
<a href="{{ url }}">{% trans "Followers" %}</a>
</li>
{% url 'user-following' user|username as url %}
<li{% if url == request.path or url == request.path|add:'/' %} class="is-active"{% endif %}>
<a href="{{ url }}">{% trans "Following" %}</a>
</li>
</ul>
</nav>
{% endwith %}