From 52be56ada73cd67374bca6008a8be59c5f2bdfb0 Mon Sep 17 00:00:00 2001 From: Umaid Shahid <127837489+umaidshahid@users.noreply.github.com> Date: Sun, 3 May 2026 14:18:26 +0200 Subject: [PATCH] feat(admin): visually dim disabled users in user management table (#8768) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes #8765 Changes proposed in this pull request: - Add disabled-user CSS class to user rows in the management table when the account is disabled - Add .disabled-user { opacity: 0.5; } style to base theme to visually dim disabled accounts - Add entry to CREDITS.md How to test the feature manually: 1. Go to Administration → User Management 2. Have at least one disabled user account in the list 3. Verify that disabled user rows appear dimmed (50% opacity) compared to active users, without any change in functionality --- CREDITS.md | 1 + app/views/user/manage.phtml | 2 +- p/themes/base-theme/frss.css | 4 ++++ p/themes/base-theme/frss.rtl.css | 4 ++++ 4 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CREDITS.md b/CREDITS.md index 2e6feb20c..0fbf1af2d 100644 --- a/CREDITS.md +++ b/CREDITS.md @@ -311,6 +311,7 @@ People are sorted by name so please keep this order. * [Twilek-de](https://github.com/Twilek-de): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:Twilek-de) * [Uncovery](https://github.com/uncovery): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:uncovery) * [upskaling](https://github.com/upskaling): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:upskaling) +* [Umaid Shahid](https://github.com/umaidshahid): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:umaidshahid), [Web](https://umaid.dev) * [UserRoot-Luca](https://github.com/UserRoot-Luca): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:UserRoot-Luca) * [Virgil Chen](https://github.com/VirgilChen97): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:VirgilChen97) * [VYSE V.E.O](https://github.com/V-E-O): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:V-E-O) diff --git a/app/views/user/manage.phtml b/app/views/user/manage.phtml index 5edf2f332..a3936e78d 100644 --- a/app/views/user/manage.phtml +++ b/app/views/user/manage.phtml @@ -105,7 +105,7 @@ users as $username => $values): ?> - + > diff --git a/p/themes/base-theme/frss.css b/p/themes/base-theme/frss.css index 299dfb7e2..db5a14ac9 100644 --- a/p/themes/base-theme/frss.css +++ b/p/themes/base-theme/frss.css @@ -2408,6 +2408,10 @@ html.slider-active { font-style: italic; } +.disabled-user { + opacity: 0.5; +} + /*=== READER */ /*===========*/ .reader .aside { diff --git a/p/themes/base-theme/frss.rtl.css b/p/themes/base-theme/frss.rtl.css index d9e7321bd..1ab133c06 100644 --- a/p/themes/base-theme/frss.rtl.css +++ b/p/themes/base-theme/frss.rtl.css @@ -2408,6 +2408,10 @@ html.slider-active { font-style: italic; } +.disabled-user { + opacity: 0.5; +} + /*=== READER */ /*===========*/ .reader .aside {