mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-25 02:51:13 +00:00
Show banner on remote user page if federation is disabled
This commit is contained in:
parent
fbf551fb75
commit
6d347dcff9
1 changed files with 9 additions and 0 deletions
|
@ -22,9 +22,18 @@
|
|||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
{% if site.disable_federation and not user.local %}
|
||||
<div class="notification is-danger is-light">
|
||||
<p>
|
||||
{% trans "Federation is currently disabled, so you will not be able to interact with this user." %}
|
||||
</p>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block panel %}
|
||||
|
||||
{% if user.bookwyrm_user %}
|
||||
<div class="block">
|
||||
<h2 class="title">
|
||||
|
|
Loading…
Reference in a new issue