A free, self-hostable news aggregator…
feat(admin): visually dim disabled users in user management table (#8768)
Umaid Shahid52be56ada73c
diff --git a/CREDITS.md b/CREDITS.mdindex 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.phtmlindex 5edf2f332..a3936e78d 100644--- a/app/views/user/manage.phtml+++ b/app/views/user/manage.phtml@@ -105,7 +105,7 @@</thead><tbody><?php foreach ($this->users as $username => $values): ?>- <tr <?= $values['is_default'] ? 'class="default-user"' : '' ?>+ <tr <?= $values['is_default'] ? 'class="default-user"' : (!$values['enabled'] ? 'class="disabled-user"' : '') ?><?= is_numeric($values['feed_count']) ? '' : 'data-need-ajax="1"' ?>><td><a href="<?= _url('user', 'details', 'username', $username) ?>" class="configure open-slider" ><?= _i('configure') ?></a></td><td class="username"><?= $username ?></td>diff --git a/p/themes/base-theme/frss.css b/p/themes/base-theme/frss.cssindex 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.cssindex 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 {