Fix dashboard auto-refresh, and show last line of log_buffer (if any)
[arvados.git] / apps / workbench / app / views / users / _tables.html.erb
index b325781f086892318cae9e9d27a7c4af2f14e05c..8d5b84f6ebe40f624cd3d0abe12f461172654938 100644 (file)
@@ -55,6 +55,9 @@
           <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 %>
+      <% buf = j.log_buffer.strip.split("\n").last %>
+      <span title="<%= buf %>"><%= buf %></span>
     <% end %>
   </small>
 </td>