From 7de384bf9c192292cbc726085eedfadddfa7ca7d Mon Sep 17 00:00:00 2001 From: maTh <1645099+math-GH@users.noreply.github.com> Date: Thu, 13 Mar 2025 23:10:48 +0100 Subject: Mark as read button: config for the size (#7314) * settings * i18n: mark_read_button * big, small, none * fix * Fixes * make fix-all --------- Co-authored-by: Alexandre Alapetite --- app/views/configure/reading.phtml | 11 ++++++++++ app/views/helpers/stream-footer.phtml | 39 +++++++++++++++++++++++------------ 2 files changed, 37 insertions(+), 13 deletions(-) (limited to 'app/views') diff --git a/app/views/configure/reading.phtml b/app/views/configure/reading.phtml index ed468f717..dc67874b0 100644 --- a/app/views/configure/reading.phtml +++ b/app/views/configure/reading.phtml @@ -55,6 +55,17 @@ +
+ +
+ +
+
+
diff --git a/app/views/helpers/stream-footer.phtml b/app/views/helpers/stream-footer.phtml index 3394eed76..9984a2429 100644 --- a/app/views/helpers/stream-footer.phtml +++ b/app/views/helpers/stream-footer.phtml @@ -35,19 +35,32 @@ -
- - + + mark_read_button !== 'none') { + $css = ''; + switch (FreshRSS_Context::userConf()->mark_read_button) { + case 'big': + $css = 'as-link big'; + break; + case 'small': + $css = 'btn small'; + break; + } + ?> +
+ +
-- cgit v1.2.3