11870: minor update
[arvados.git] / apps / workbench / app / views / repositories / _show_help.html.erb
index 2830da5ae942a5082e8b290302d907ef9cff6618..42ec96ff7eb90fb3eae5acced930a622be9fe67a 100644 (file)
@@ -1,4 +1,10 @@
-<% if (example = @objects.select(&:push_url).first) %>
+<%
+    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 %>
 
 <p>
 Sample git quick start:
@@ -18,7 +24,7 @@ git push
 <p>
   See also:
   <%= link_to raw('Arvados Docs &rarr; User Guide &rarr; 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 &rarr; User Guide &rarr; Writing a Crunch
   Script'),