[Xfce4-commits] <moka:master> Make admins bold in maintainer list.

Nick Schermer noreply at xfce.org
Sun Nov 20 14:30:29 CET 2011


Updating branch refs/heads/master
         to bfa876ab3d6d23c883af53197c77675d49d1d82c (commit)
       from 326af80f83652943b3122efb5fdb316ddf8f93c8 (commit)

commit bfa876ab3d6d23c883af53197c77675d49d1d82c
Author: Nick Schermer <nick at xfce.org>
Date:   Sat Oct 8 20:46:59 2011 +0200

    Make admins bold in maintainer list.

 lib/views/maintainer.haml |    2 +-
 lib/views/stylesheet.sass |    3 +++
 2 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/lib/views/maintainer.haml b/lib/views/maintainer.haml
index 0ceecec..fbc4679 100644
--- a/lib/views/maintainer.haml
+++ b/lib/views/maintainer.haml
@@ -22,7 +22,7 @@
     %th Real Name
     %th Email
   - for maintainer in Maintainer.all(:active => true).sort
-    %tr
+    %tr{:class => maintainer.is_admin ? "admin" : ""}
       %td
         %a{:href => "/maintainer/#{maintainer.username}"} #{maintainer.username}
       %td #{maintainer.realname}
diff --git a/lib/views/stylesheet.sass b/lib/views/stylesheet.sass
index fc46ce8..b24112c 100755
--- a/lib/views/stylesheet.sass
+++ b/lib/views/stylesheet.sass
@@ -77,6 +77,9 @@ table
       bottom: 0.25em
       left: 0.25em
       right: 2em
+      
+  tr.admin
+    font-weight: bold
   
   td
     padding: 0.25em


More information about the Xfce4-commits mailing list