2872: Add free text search in chooser.
[arvados.git] / apps / workbench / app / views / pipeline_templates / _show_recent.html.erb
index 9b637d506a79c2b0632b2254d27753111b383deb..f18f515ac3533388c3eda2bf43e400ca73036909 100644 (file)
@@ -15,7 +15,7 @@
       </th><th>
         name
       </th><th>
-        components
+        description/components
       </th><th>
         owner
       </th>
       </td><td>
         <%= render_editable_attribute ob, 'name' %>
       </td><td>
-        <%= ob.components.collect { |k,v| k.to_s }.join(", ") %>
+        <% if ob.respond_to?(:description) and ob.description %>
+          <%= ob.description %>
+          <br />
+        <% end %>
+        <% ob.components.collect { |k,v| k.to_s }.each do |k| %>
+          <span class="label label-default"><%= k %></span>
+        <% end %>
       </td><td>
         <%= link_to_if_arvados_object ob.owner_uuid, friendly_name: true %>
       </td>