Fix 2.4.2 upgrade notes formatting refs #19330
[arvados.git] / apps / workbench / app / views / projects / _index_projects.html.erb
index 027dc29b8e045378df8a3c30b80b7ac3ca4020c2..e726a46780f132ebcab8c300b71c08fc3f4b8c1b 100644 (file)
@@ -1,11 +1,15 @@
+<%# Copyright (C) The Arvados Authors. All rights reserved.
+
+SPDX-License-Identifier: AGPL-3.0 %>
+
 <div class="container-fluid arv-project-list">
   <% 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 %>
@@ -25,7 +29,7 @@
         <% end %>
       </div>
       <% if projectnode[:object].respond_to?(:description) and not projectnode[:object].description.blank? %>
-        <div class="col-md-8 small"><%= projectnode[:object].description %></div>
+        <div class="col-md-8 small"><%= render_attribute_as_textile(projectnode[:object], "description", projectnode[:object].description, true) %></div>
       <% end %>
     </div>
   <% end %>