Implement 'posts hidden because of NSFW'. (Resolves #159) (#619)

This commit is contained in:
Daniel Valentine 2022-11-07 20:54:49 -07:00 committed by GitHub
parent 5c366e14a3
commit 465d9b7ba7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 30 additions and 9 deletions

View file

@ -32,6 +32,10 @@
</button>
</form>
{% if all_posts_hidden_nsfw %}
<center>All posts are hidden because they are NSFW. Enable "Show NSFW posts" in settings to view.</center>
{% endif %}
{% if all_posts_filtered %}
<center>(All content on this page has been filtered)</center>
{% else %}