From e118ca355558cf0b00e4e3fafba0016ae864a1b4 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 10 Sep 2022 05:26:27 +0200 Subject: [PATCH] restore hole stats --- files/templates/home.html | 16 ++++++++-------- files/templates/sub/subs.html | 4 ++++ 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/files/templates/home.html b/files/templates/home.html index 6d91eb974..7b64addba 100644 --- a/files/templates/home.html +++ b/files/templates/home.html @@ -47,18 +47,18 @@ {%- set hole_prefix = '/h/' if not HOLE_STYLE_FLAIR else '' -%} {% if sub.stealth %} - Show posts in main feed - Hide posts from main feed + Unblock {{hole_prefix}}{{sub.name}} + Block {{hole_prefix}}{{sub.name}} {% else %} - Hide posts from main feed - Show posts in main feed + Block {{hole_prefix}}{{sub.name}} + Unblock {{hole_prefix}}{{sub.name}} {% endif %} - Notify me of new posts - Don't notify me of new posts + Follow {{hole_prefix}}{{sub.name}} + Unfollow {{hole_prefix}}{{sub.name}} {% else %} - Hide posts from main feed - Notify me of new posts + Block {{hole_prefix}}{{sub.name}} + Follow {{hole_prefix}}{{sub.name}} {% endif %} {% endif %} diff --git a/files/templates/sub/subs.html b/files/templates/sub/subs.html index e671a274a..071cf7f04 100644 --- a/files/templates/sub/subs.html +++ b/files/templates/sub/subs.html @@ -13,6 +13,8 @@ # Name Posts + Followers + Blockers @@ -21,6 +23,8 @@ {{loop.index}} {{sub.name}} {% if sub.name in v.all_blocks %}[hidden from your main feed, visit it to unhide it]{% endif %} {{count}} + {{sub.follow_num}} + {{sub.block_num}} {% endfor %}