libreddit/templates
gmnsii ab30b8bbec
Bugfix: 'all posts are hidden because NSFW' when no posts where found (#666)
* Fix 'all_posts_hidden_nsfw' when there are no posts.

If a search query yielded no results and the user set nsfw posts to be
hidden, libreddit would show 'All posts are hidden because they are NSFW.
Enable "Show NSFW posts" in settings to view'. This is fixed by
verifying tnat posts.len > 0 before setting 'all_posts_hidden_nsfw' to
true.

* Add a message when no posts were found.

* Delete 2
2022-12-31 19:11:59 -07:00
..
base.html List post duplicates (resolves #574). 2022-12-03 01:08:36 -07:00
comment.html Fix HTML encoding in templating (#404) 2022-05-21 05:28:31 +00:00
duplicates.html List post duplicates (resolves #574). 2022-12-03 01:08:36 -07:00
error.html Fix post flairs 2021-02-21 10:11:17 -08:00
post.html List post duplicates (resolves #574). 2022-12-03 01:08:36 -07:00
search.html Bugfix: 'all posts are hidden because NSFW' when no posts where found (#666) 2022-12-31 19:11:59 -07:00
settings.html Blur NSFW posts. 2022-11-08 09:01:12 -07:00
subreddit.html Bugfix: 'all posts are hidden because NSFW' when no posts where found (#666) 2022-12-31 19:11:59 -07:00
user.html Bugfix: 'all posts are hidden because NSFW' when no posts where found (#666) 2022-12-31 19:11:59 -07:00
utils.html Fix #658. 2022-12-13 21:15:28 -07:00
wall.html Fix indentation and formatting 2021-11-23 22:23:29 -08:00
wiki.html Fix HTML encoding in templating (#404) 2022-05-21 05:28:31 +00:00