Back to Libreddit

User

templates/user.html

3.0.01019 B
Original Source

{% if !is_filtered %}

{% call utils::sort(["/user/", user.name.as_str()].concat(), ["overview", "comments", "submitted"], listing) %} {% call utils::options(sort.0, ["hot", "new", "top", "controversial"], "") %} {% if sort.0 == "top" || sort.0 == "controversial" %} {% call utils::options(sort.1, ["hour", "day", "week", "month", "year", "all"], "all") %} {% endif %} → {% if all_posts_hidden_nsfw %} All posts are hidden because they are NSFW. Enable "Show NSFW posts" in settings to view. {% endif %} {% if no_posts %} No posts were found. {% endif %} {% if all_posts_filtered %} (All content on this page has been filtered) {% else %} {% for post in posts %} {% if post.flags.nsfw && prefs.show_nsfw != "on" %} {% else if !post.title.is_empty() %} {% call utils::post_in_list(post) %} {% else %}

{{ post.score.0 }}

#COMMENT{{ post.rel_time }}

{{ post.body|safe }}

{% endif %} {% endfor %} {% if prefs.use_hls == "on" %} {% endif %} {% endif %} {% endif %}