[ARVADOS] updated: 635dc811d13d8a4348a0c8a047ae6b6a4ee58aa7

git at public.curoverse.com git at public.curoverse.com
Fri Jul 25 11:44:29 EDT 2014


Summary of changes:
 apps/workbench/app/views/users/_add_ssh_key_popup.html.erb | 5 +++++
 apps/workbench/app/views/users/_manage_ssh_keys.html.erb   | 9 +++++++++
 2 files changed, 14 insertions(+)

       via  635dc811d13d8a4348a0c8a047ae6b6a4ee58aa7 (commit)
      from  490a1de3cdad334315b75687578217efb57cfaf6 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 635dc811d13d8a4348a0c8a047ae6b6a4ee58aa7
Author: radhika <radhika at curoverse.com>
Date:   Fri Jul 25 11:44:01 2014 -0400

    3193: add note if there are no ssh keys configured

diff --git a/apps/workbench/app/views/users/_add_ssh_key_popup.html.erb b/apps/workbench/app/views/users/_add_ssh_key_popup.html.erb
index 00d5b96..147bbe8 100644
--- a/apps/workbench/app/views/users/_add_ssh_key_popup.html.erb
+++ b/apps/workbench/app/views/users/_add_ssh_key_popup.html.erb
@@ -13,6 +13,11 @@
       </div>
 
       <div class="modal-body">
+        <div> <%= 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" %>
+        </div>
         <div class="form-group">
 	        <label for="name">Name</label>
           <input class="form-control" id="name" maxlength="250" name="name" type="text"/>
diff --git a/apps/workbench/app/views/users/_manage_ssh_keys.html.erb b/apps/workbench/app/views/users/_manage_ssh_keys.html.erb
index 6b871b3..8e069dc 100644
--- a/apps/workbench/app/views/users/_manage_ssh_keys.html.erb
+++ b/apps/workbench/app/views/users/_manage_ssh_keys.html.erb
@@ -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%" />

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list