Merge branch 'master' of git.curoverse.com:arvados into 3408-production-datamanager
[arvados.git] / apps / workbench / app / views / notifications / _ssh_key_notification.html.erb
index b92dfe67deb5193a7b2649e745038d367a61ee0f..989db3daff21d66de26ca13477bd2f5520c0de0a 100644 (file)
@@ -1,20 +1,6 @@
-   <%= image_tag "dax.png", class: "dax" %> 
+   <%= image_tag "dax.png", class: "dax" %>
     <div>
-      Hi, I noticed that you have not yet set up an SSH public key for use with Arvados.  
-      <%= link_to "Click here to learn about SSH keys in Arvados.",
-         "#{Rails.configuration.arvados_docsite}/user/getting_started/ssh-access.html", 
-         style: "font-weight: bold",
-         target: "_blank" %>
-      When you have an SSH key you would like to use, paste the SSH public key
-      in the text box.
+      Hi, I noticed that you have not yet set up an SSH public key for use with Arvados.
+      <%= link_to "Click here to set up an SSH public key for use with Arvados.",
+      "/manage_account", style: "font-weight: bold" %>
     </div>
-    <%= form_for AuthorizedKey.new, remote: true do |f| %>
-      <div class="row-fluid">
-          <%= hidden_field_tag :return_to, request.original_url %>
-          <%= hidden_field_tag :disable_element, 'input[type=submit]' %>
-          <%= f.text_area :public_key, rows: 4, placeholder: "Paste your public key here", style: "width: 100%" %>
-      </div>
-      <div class="row-fluid" style="padding-top: 0; padding-bottom: 15px">
-          <%= f.submit :Save, value: raw("&check;"), class: "btn btn-primary pull-right" %>
-      </div>
-<% end %>