3193: add note if there are no ssh keys configured
[arvados.git] / apps / workbench / app / views / users / _manage_ssh_keys.html.erb
index 6b871b31210b0df935a6798cc1d4917a085a4ad2..8e069dcd36254bb015b3f0f27d6e8355bb1990b4 100644 (file)
@@ -1,5 +1,14 @@
 <div>
 <h4>Add / Delete SSH Keys</h4>
+  <% if !@my_ssh_keys.any? %>
+     <p> You have not yet set up an SSH public key for use with Arvados. </p>
+     <p>  <%= link_to "Click here to learn about SSH keys in Arvados.",
+                 "#{Rails.configuration.arvados_docsite}/user/getting_started/ssh-access-unix.html", 
+                 style: "font-weight: bold",
+                 target: "_blank" %>       </p>
+     <p> When you have an SSH key you would like to use, add it using the <b>Add</b> button. </p>
+  <% end %>
+
   <table class="table virtual-machines-table">
     <colgroup>
       <col style="width: 95%" />