def repositories
# all repositories accessible by current user
- all_repositories = Hash[Repository.all.order(:name).collect {|repo| [repo.uuid, repo]}]
+ all_repositories = Hash[Repository.all.order('name asc').collect {|repo| [repo.uuid, repo]}]
@my_repositories = [] # we want them ordered as owned and the rest
@repo_writable = {}
<p>
In order to clone git repositories using SSH, <%= link_to ssh_keys_user_path(current_user) do%> add an SSH key to your account<%end%> and clone the git@ URLs.
</p>
- <p>
- For more information see <%= link_to raw('Writing a pipeline'),
- "#{Rails.configuration.arvados_docsite}/user/tutorials/tutorial-firstscript.html", target: "_blank"%>.
- </p>
<% 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.
</td>
<td>
<% if repo.editable? %>
- <%= link_to(repository_path(id: repo.uuid), method: :delete, class: 'btn btn-sm', data: {confirm: "Really delete repositories?"}) do %>
+ <%= link_to(repository_path(id: repo.uuid), method: :delete, class: 'btn btn-sm', data: {confirm: "Really delete '#{repo.name || repo.uuid}'?"}) do %>
<i class="fa fa-fw fa-trash-o"></i>
<% end %>
<% end %>