Merge pull request #1104 from bookwyrm-social/banner-auth

Only show banner to authenticated users
This commit is contained in:
Mouse Reeve 2021-05-20 15:26:29 -07:00 committed by GitHub
commit 633a4c4135
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@
</div>
</nav>
{% if active_announcements.exists %}
{% if request.user.is_authenticated and active_announcements.exists %}
<div class="block is-flex-grow-1">
<div class="container">
{% for announcement in active_announcements %}