From 28695fb8e6b299389347fc8c42f7dc3923b42f24 Mon Sep 17 00:00:00 2001 From: Hyphen Date: Wed, 2 Sep 2020 19:50:48 +0200 Subject: Add the Anti Dopamine feature --- templates/status.tmpl | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'templates/status.tmpl') diff --git a/templates/status.tmpl b/templates/status.tmpl index 3c0533b..de0909b 100644 --- a/templates/status.tmpl +++ b/templates/status.tmpl @@ -160,7 +160,9 @@ reply - {{if .RepliesCount}} ({{DisplayInteractionCount .RepliesCount}}) {{end}} + {{if and (not $.Ctx.AntiDopamineMode) .RepliesCount}} + ({{DisplayInteractionCount .RepliesCount}}) + {{end}}
@@ -184,7 +186,9 @@ {{end}} {{end}} - {{if .ReblogsCount}} ({{DisplayInteractionCount .ReblogsCount}}) {{end}} + {{if and (not $.Ctx.AntiDopamineMode) .ReblogsCount}} + ({{DisplayInteractionCount .ReblogsCount}}) + {{end}}
@@ -202,7 +206,9 @@ {{end}} - {{if .FavouritesCount}} ({{DisplayInteractionCount .FavouritesCount}}) {{end}} + {{if and (not $.Ctx.AntiDopamineMode) .FavouritesCount}} + ({{DisplayInteractionCount .FavouritesCount}}) + {{end}}
-- cgit v1.2.3