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/helpers/stream-footer.phtml | 39 +++++++++++++++++++++++------------ 1 file changed, 26 insertions(+), 13 deletions(-) (limited to 'app/views/helpers') 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