[ARVADOS] created: c6bc2555aae64b937e022637f1fe2c279e1e4936

git at public.curoverse.com git at public.curoverse.com
Tue Apr 8 22:22:12 EDT 2014


        at  c6bc2555aae64b937e022637f1fe2c279e1e4936 (commit)


commit c6bc2555aae64b937e022637f1fe2c279e1e4936
Author: Tom Clegg <tom at curoverse.com>
Date:   Tue Apr 8 22:21:46 2014 -0400

    Show editable pipeline instance name (instead of template name) as
    instance page heading.

diff --git a/apps/workbench/app/views/pipeline_instances/_show_components.html.erb b/apps/workbench/app/views/pipeline_instances/_show_components.html.erb
index eafaf8d..119415b 100644
--- a/apps/workbench/app/views/pipeline_instances/_show_components.html.erb
+++ b/apps/workbench/app/views/pipeline_instances/_show_components.html.erb
@@ -5,8 +5,14 @@
 <% template = PipelineTemplate.find(@object.pipeline_template_uuid) rescue nil %>
 
 <%= content_for :content_top do %>
+  <h2>
+    <%= render_editable_attribute @object, 'name', nil, { 'data-emptytext' => 'Unnamed pipeline', 'data-mode' => 'inline' } %>
+  </h2>
   <% if template %>
-    <h2><%= template.name %></h2>
+  <h4>
+    From template:
+    <%= link_to_if_arvados_object template, friendly_name: true %>
+  </h4>
   <% end %>
 <% end %>
 

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list