From: Kohei Yoshino Date: Mon, 29 Oct 2018 18:28:00 +0000 (-0400) Subject: Bug 1502739 - Disabled account doesn't show any indication on the profile page X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1670cadacee38d3ba0c2341717c5e02568986973;p=thirdparty%2Fbugzilla.git Bug 1502739 - Disabled account doesn't show any indication on the profile page --- diff --git a/extensions/UserProfile/template/en/default/pages/user_profile.html.tmpl b/extensions/UserProfile/template/en/default/pages/user_profile.html.tmpl index eb73d89b3..e14a4e550 100644 --- a/extensions/UserProfile/template/en/default/pages/user_profile.html.tmpl +++ b/extensions/UserProfile/template/en/default/pages/user_profile.html.tmpl @@ -60,6 +60,7 @@ User [% INCLUDE bug_modal/user.html.tmpl u = target hide_profile = 1 %] + [% " (disabled)" UNLESS target.is_enabled %] diff --git a/extensions/UserProfile/web/styles/user_profile.css b/extensions/UserProfile/web/styles/user_profile.css index ef1f71dd9..c38a19db6 100644 --- a/extensions/UserProfile/web/styles/user_profile.css +++ b/extensions/UserProfile/web/styles/user_profile.css @@ -16,6 +16,15 @@ white-space: nowrap; } +#user_profile_table .vcard { + display: inline-block; + font-weight: bold; +} + +#user_profile_table .vcard a.disabled { + color: #888; +} + #user_profile_table .numeric { text-align: right; }