X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/0bd1c28bed9a0756c61037947d5a9dccd5066f00..f16be1736d705278ae39bde3fc6d6d9d1f302fa7:/apps/workbench/app/views/projects/_show_contents_rows.html.erb diff --git a/apps/workbench/app/views/projects/_show_contents_rows.html.erb b/apps/workbench/app/views/projects/_show_contents_rows.html.erb index e1996a7f40..638fe14859 100644 --- a/apps/workbench/app/views/projects/_show_contents_rows.html.erb +++ b/apps/workbench/app/views/projects/_show_contents_rows.html.erb @@ -27,6 +27,22 @@ <%= render_editable_attribute (name_link || object), 'name', nil, {tiptitle: 'rename'} %> +
+ + + <% links_for_object(object).select{|link|link.link_class=='tag'}.each do |tag_link| %> + + <%= link_to tag_link.name, controller: "links", filters: [["link_class", "=", "tag"], ["name", "=", tag_link.name]].to_json %> + <% if tag_link.owner_uuid == current_user.uuid or current_user.is_admin %> + +   + + <% end %> +   + <% end %> + +  Tag +