1
0
Fork 0

handle user blocks properly

This commit is contained in:
Hugh Rundle 2021-11-29 18:08:25 +11:00
parent 7b65edf10b
commit 3d73ea92e8
No known key found for this signature in database
GPG key ID: CD23D6039184286B
2 changed files with 30 additions and 10 deletions

View file

@ -42,6 +42,10 @@
<div class="notification is-danger has-text-centered">
<p>{% blocktrans %}You have blocked <strong>{{ account }}</strong>{% endblocktrans %}</p>
</div>
{% elif error == 'has_blocked' %}
<div class="notification is-danger has-text-centered">
<p>{% blocktrans %}<strong>{{ account }}</strong> has blocked you{% endblocktrans %}</p>
</div>
{% elif error == 'already_following' %}
<div class="notification is-success has-text-centered">
<p>{% blocktrans %}You are already following <strong>{{ account }}</strong>{% endblocktrans %}</p>