Show banner on remote user page if federation is disabled

This commit is contained in:
Mouse Reeve 2024-08-27 14:27:39 -07:00
parent fbf551fb75
commit 6d347dcff9

View file

@ -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">