X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/10071dfd716b0131dfd5cd6d782422beef950f61..3204b60e04bf8613858bfc4a753d7114f6ca90a3:/apps/workbench/app/views/projects/_index_projects.html.erb?ds=sidebyside diff --git a/apps/workbench/app/views/projects/_index_projects.html.erb b/apps/workbench/app/views/projects/_index_projects.html.erb index b05a87dd49..50d38fea82 100644 --- a/apps/workbench/app/views/projects/_index_projects.html.erb +++ b/apps/workbench/app/views/projects/_index_projects.html.erb @@ -2,15 +2,17 @@ <% tree.each do |projectnode| %> <% 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 %> @@ -22,7 +24,7 @@ <% end %> <% end %>
- <% if not projectnode[:object].description.blank? %> + <% if projectnode[:object].respond_to?(:description) and not projectnode[:object].description.blank? %>
<%= projectnode[:object].description %>
<% end %>