]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1502739 - Disabled account doesn't show any indication on the profile page
authorKohei Yoshino <kohei.yoshino@gmail.com>
Mon, 29 Oct 2018 18:28:00 +0000 (14:28 -0400)
committerDylan William Hardison <dylan@hardison.net>
Mon, 29 Oct 2018 18:28:00 +0000 (14:28 -0400)
extensions/UserProfile/template/en/default/pages/user_profile.html.tmpl
extensions/UserProfile/web/styles/user_profile.css

index eb73d89b3cdb60c3cf9c638265de90cdb0ecea72..e14a4e550c4752c076a5408569ab93ca47d336cf 100644 (file)
@@ -60,6 +60,7 @@
   <th>User</th>
   <td colspan="2">
     [% INCLUDE bug_modal/user.html.tmpl u = target hide_profile = 1 %]
+    [% " (disabled)" UNLESS target.is_enabled %]
   </td>
 </tr>
 
index ef1f71dd986e52834277c1306b8f901fa3941c6d..c38a19db6e79639700d0c8a28fbd4ac63e7631d6 100644 (file)
     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;
 }