[ARVADOS] updated: 96475eb001b8e291a4923bb27ef0b97d2d9702c8

git at public.curoverse.com git at public.curoverse.com
Tue Jul 29 16:08:09 EDT 2014


Summary of changes:
 .../app/views/users/_manage_virtual_machines.html.erb    | 16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)

       via  96475eb001b8e291a4923bb27ef0b97d2d9702c8 (commit)
      from  dc3ecef74c3d69329bfa20ea6b81ff9c9488bca8 (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 96475eb001b8e291a4923bb27ef0b97d2d9702c8
Author: radhika <radhika at curoverse.com>
Date:   Tue Jul 29 16:07:45 2014 -0400

    3193: improve virtual machines section to add a sample.

diff --git a/apps/workbench/app/views/users/_manage_virtual_machines.html.erb b/apps/workbench/app/views/users/_manage_virtual_machines.html.erb
index b5556d4..a3191c2 100644
--- a/apps/workbench/app/views/users/_manage_virtual_machines.html.erb
+++ b/apps/workbench/app/views/users/_manage_virtual_machines.html.erb
@@ -1,7 +1,7 @@
 <div>
   <p>
     For more information see <%= link_to raw('Setting up SSH access'),
-    "#{Rails.configuration.arvados_docsite}/user/getting_started/ssh-access-unix.html", target: "_blank"%>
+    "#{Rails.configuration.arvados_docsite}/user/getting_started/ssh-access-unix.html", target: "_blank"%>.
   </p>
 
   <table class="table virtual-machines-table">
@@ -22,10 +22,22 @@
             <%= vm[:hostname] %>
           </td>
           <td style="word-break:break-all;">
-            <%= @my_vm_logins[vm[:uuid]].andand.compact || [] %>
+            <%= @my_vm_logins[vm[:uuid]].andand.compact.andand.join(", ") %>
           </td>
         </tr>
       <% end %>
     </tbody>
   </table>
+
+  <%
+    login_name = @my_vm_logins[@my_vm_logins.andand.keys.first].andand.first
+    api_host = @my_virtual_machines.first.andand.hostname.andand.sub('.'+current_api_host,'')
+    if (login_name && api_host)
+  %>
+    <p>
+      To log in to <b><%=api_host%></b> using the login name <b><%=login_name%></b>, use <b><%=login_name%>@<%=api_host%>.arvados</b>.
+      Please see the <b>Setting up SSH access</b> section to the right for more detail.
+    </p>
+  <% end %>
+
 </div>

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list