X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/1b452d6b3903bac1ccd71b2bb2d9884ae1274f44..d7dc4d6026d2752b752b30dc627a22c158141ebb:/apps/workbench/app/views/users/_manage_repositories.html.erb diff --git a/apps/workbench/app/views/users/_manage_repositories.html.erb b/apps/workbench/app/views/users/_manage_repositories.html.erb index 7ff11bd216..4f22ae9cd3 100644 --- a/apps/workbench/app/views/users/_manage_repositories.html.erb +++ b/apps/workbench/app/views/users/_manage_repositories.html.erb @@ -1,36 +1,40 @@

For more information see <%= link_to raw('Writing a pipeline'), - "#{Rails.configuration.arvados_docsite}/user/tutorials/tutorial-firstscript.html", target: "_blank"%> + "#{Rails.configuration.arvados_docsite}/user/tutorials/tutorial-firstscript.html", target: "_blank"%>.

- - - - - - - - - - - - - - - <% @my_repositories.andand.each do |repo| %> + <% if !@my_repositories.any? %> + You do not seem to have access to any repositories. If you would like to request access, please contact your system admin. + <% else %> +
Name Writable URL
+ + + + + + - - - + + + - <% end %> - -
- <%= repo[:name] %> - - <%= repo[:push_url] != nil %> - - <%= repo[:fetch_url] %> - Name Read/Write URL
+ + + <% @my_repositories.andand.each do |repo| %> + + + <%= repo[:name] %> + + + <%= repo[:push_url] ? 'writable' : 'read-only' %> + + + <%= repo[:fetch_url] %> + + + <% end %> + + + <% end %>