X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/da51b9328abab2df757ed13eadc7c3557315094b..d084ca24b06c598271844d2ba4c8c40f251c0999:/apps/workbench/app/views/repositories/_show_help.html.erb diff --git a/apps/workbench/app/views/repositories/_show_help.html.erb b/apps/workbench/app/views/repositories/_show_help.html.erb index 2830da5ae9..5904fb29db 100644 --- a/apps/workbench/app/views/repositories/_show_help.html.erb +++ b/apps/workbench/app/views/repositories/_show_help.html.erb @@ -1,4 +1,14 @@ -<% if (example = @objects.select(&:push_url).first) %> +<%# Copyright (C) The Arvados Authors. All rights reserved. + +SPDX-License-Identifier: AGPL-3.0 %> + +<% + filters = @filters + [["owner_uuid", "=", current_user.uuid]] + example = Repository.all.order("name ASC").filter(filters).limit(1).results.first + example = Repository.all.order("name ASC").limit(1).results.first if !example +%> + +<% if example %>

Sample git quick start: @@ -18,7 +28,7 @@ git push

See also: <%= link_to raw('Arvados Docs → User Guide → SSH access'), - "#{Rails.configuration.arvados_docsite}/user/getting_started/ssh-access.html", + "#{Rails.configuration.arvados_docsite}/user/getting_started/ssh-access-unix.html", target: "_blank"%> and <%= link_to raw('Arvados Docs → User Guide → Writing a Crunch Script'),