2756: log span title
[arvados.git] / apps / workbench / app / views / users / _tables.html.erb
index ed38429c70d9e5450e6150e76aa50cbc2691d078..f62bd5d4e3b73d8c30396fd0d23ae6f6e99c3479 100644 (file)
@@ -26,7 +26,7 @@
         </tr>
 
         <% @my_jobs[0..6].each do |j| %>
-          <tr>
+          <tr data-object-uuid="<%= j.uuid %>">
             <td>
               <small>
                 <%= link_to((j.script.andand[0..31] || j.uuid), job_path(j.uuid)) %>
@@ -58,7 +58,7 @@
           <a href="<%= collection_path(j.log) %>/<%= file[1] %>?disposition=inline&size=<%= file[2] %>">Log</a>
         <% end %>
       <% end %>
-    <% elsif j.respond_to? :log_buffer and j.log_buffer %>
+    <% elsif j.respond_to? :log_buffer and j.log_buffer.is_a? String %>
       <% buf = j.log_buffer.strip.split("\n").last %>
       <span title="<%= buf %>"><%= buf %></span>
     <% end %>
       </tr>
 
       <% @my_pipelines[0..6].each do |p| %>
-        <tr>
+        <tr data-object-uuid="<%= p.uuid %>">
           <td>
             <small>
               <%= link_to_if_arvados_object p.uuid, friendly_name: true %>
     <table class="table table-bordered table-condensed table-fixedlayout">
       <colgroup>
         <col width="46%" />
-        <col width="24%" />
+        <col width="32%" />
         <col width="10%" />
-        <col width="20%" />
+        <col width="12%" />
       </colgroup>
 
       <tr>
       </tr>
 
       <% @my_collections[0..6].each do |c| %>
-        <tr>
+        <tr data-object-uuid="<%= c.uuid %>">
           <td>
             <small>
               <a href="<%= collection_path(c.uuid) %>">