Arvados-DCO-1.1-Signed-off-by: Radhika Chippada <radhika@curoverse.com>
[arvados.git] / apps / workbench / app / views / repositories / _show_help.html.erb
index 50ec8809dc48cf4a2f271dfe37da77fadd5772e8..5904fb29db8a513d05f0d9532cf666b650c1bb49 100644 (file)
@@ -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 %>
 
 <p>
 Sample git quick start: