improve and bugfix remote follow templates

This commit is contained in:
Hugh Rundle
2021-11-29 15:33:26 +11:00
parent 587b0194fc
commit 7b65edf10b
4 changed files with 16 additions and 10 deletions

View File

@ -22,11 +22,14 @@
<span class="subtitle is-7 is-block">@{{ user|username }}</span>
</a>
</div>
<!-- TODO: this shoudl be a big tick instead -->
<a href="{{ user.local_path }}" class="media-left">
{% include 'snippets/avatar.html' with user=user large=True %}
</a>
</div>
<p class="notification is-success">
<span class="icon icon-check m-0-mobile" aria-hidden="true"></span>
<span>{% trans 'You are now following ' %}{{ user.display_name }}! </span>
</p>
</div>
</div>
<div class="block is-pulled-right">
<a href="" onclick="closeWindow()">Close window</a>
</div>
{% endblock %}