handle user blocks properly
This commit is contained in:
parent
7b65edf10b
commit
3d73ea92e8
2 changed files with 30 additions and 10 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue