handle user blocks properly

This commit is contained in:
Hugh Rundle
2021-11-29 18:08:25 +11:00
parent 7b65edf10b
commit 3d73ea92e8
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>