Add "Links" entry to Data menu. closes #1852
[arvados.git] / apps / workbench / app / views / repositories / index.html.erb
1 <%= render partial: 'application/index' %>
2
3 <% if (example = @objects.select(&:push_url).first) %>
4
5 <p>
6 Sample git quick start:
7 </p>
8
9 <pre>
10 git clone <%= example.push_url %> <%= example.name unless example.push_url.match(/:(\S+)\.git$/).andand[1] == example.name %>
11 cd <%= example.name %>
12 # edit files
13 git add the/files/you/changed
14 git commit
15 git push
16 </pre>
17
18 <% end %>
19
20 <p>
21   See also:
22   <%= link_to raw('Arvados Docs &rarr; User Guide &rarr; SSH access'),
23   "#{Rails.configuration.arvados_docsite}/user/getting_started/ssh-access.html",
24       target: "_blank"%> and 
25   <%= link_to raw('Arvados Docs &rarr; User Guide &rarr; Writing a Crunch
26   Script'),
27   "#{Rails.configuration.arvados_docsite}/user/tutorials/tutorial-firstscript.html",
28   target: "_blank"%>.
29 </p>