X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/cec09589e50ced6d0b7a0d90d5ca124241d4a58a..e951b096aa97b51adf0a0bcf08688e1379efbdb3:/apps/workbench/app/views/projects/_index_projects.html.erb diff --git a/apps/workbench/app/views/projects/_index_projects.html.erb b/apps/workbench/app/views/projects/_index_projects.html.erb index 1e2d768112..027dc29b8e 100644 --- a/apps/workbench/app/views/projects/_index_projects.html.erb +++ b/apps/workbench/app/views/projects/_index_projects.html.erb @@ -3,29 +3,30 @@ <% rowtype = projectnode[:object].class %> <% next if rowtype != Group and !show_root_node %>
-
+
<% if show_root_node and rowtype == String %> <%= projectnode[:object] %> <% elsif show_root_node and rowtype == User %> <% if projectnode[:object].uuid == current_user.andand.uuid %> - - My Projects + + <%= link_to project_path(id: projectnode[:object].uuid) do %> + Home + <% end %> <% else %> <%= projectnode[:object].friendly_link_name %> <% end %> <% elsif rowtype == Group %> - <% opts = {} %> - <% opts[:title] = projectnode[:object].description %> - <% opts[:'data-toggle'] = 'tooltip' %> - <% opts[:'data-placement'] = 'bottom' %> - <%= link_to projectnode[:object], opts do %> + <%= link_to projectnode[:object] do %> <%= projectnode[:object].friendly_link_name %> <% end %> <% end %>
+ <% if projectnode[:object].respond_to?(:description) and not projectnode[:object].description.blank? %> +
<%= projectnode[:object].description %>
+ <% end %>
<% end %>