3627: Add hover highlight to Home project on dashboard.
authorTom Clegg <tom@curoverse.com>
Sun, 24 Aug 2014 20:24:11 +0000 (16:24 -0400)
committerTom Clegg <tom@curoverse.com>
Sun, 24 Aug 2014 20:24:11 +0000 (16:24 -0400)
apps/workbench/app/views/projects/_index_projects.html.erb

index 027dc29b8e045378df8a3c30b80b7ac3ca4020c2..50d38fea827c541e5c5bdb01e814edc43a09b692 100644 (file)
@@ -2,10 +2,10 @@
   <% tree.each do |projectnode| %>
     <% rowtype = projectnode[:object].class %>
     <% next if rowtype != Group and !show_root_node %>
-    <div class="<%= 'project' if rowtype == Group %> row">
+    <div class="<%= 'project' if rowtype.in?([Group,User]) %> row">
       <div class="col-md-4" style="padding-left: <%= projectnode[:depth] - (show_root_node ? 0 : 1) %>em;">
         <% if show_root_node and rowtype == String %>
-          <i class="fa fa-fw fa-folder-open-o"></i>
+          <i class="fa fa-fw fa-share-alt"></i>
           <%= projectnode[:object] %>
         <% elsif show_root_node and rowtype == User %>
           <% if projectnode[:object].uuid == current_user.andand.uuid %>