[ARVADOS] updated: 9e9edda09864405897ec816c9a080c5545642d11

Git user git at public.curoverse.com
Fri Jun 10 23:53:19 EDT 2016


Summary of changes:
 apps/workbench/app/views/work_unit/_component_detail.html.erb | 4 +++-
 apps/workbench/app/views/work_unit/_show_component.html.erb   | 2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

       via  9e9edda09864405897ec816c9a080c5545642d11 (commit)
       via  1c36703db22a4695f0a2aebaa3ffbd5d8d64997f (commit)
      from  d4973e18ed92e3bcc0cb8b2020649148240ce9c0 (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 9e9edda09864405897ec816c9a080c5545642d11
Author: radhika <radhika at curoverse.com>
Date:   Fri Jun 10 23:52:02 2016 -0400

    9318: fixed outputs display issue where "outpus: []" is being shown when there are no outputs.

diff --git a/apps/workbench/app/views/work_unit/_component_detail.html.erb b/apps/workbench/app/views/work_unit/_component_detail.html.erb
index 9ef16d0..19c7f22 100644
--- a/apps/workbench/app/views/work_unit/_component_detail.html.erb
+++ b/apps/workbench/app/views/work_unit/_component_detail.html.erb
@@ -9,7 +9,9 @@
               <% keys << :outputs if @object.uuid == current_obj.uuid %>
               <% keys.each do |k| %>
                 <% val = current_obj.send(k) if current_obj.respond_to?(k) %>
-                <% if val %>
+                <% has_val = val %>
+                <% has_val = val.andand.any? if k == :outputs %>
+                <% if has_val %>
                 <tr>
                   <td style="padding-right: 1em">
                     <%= k.to_s %>:
diff --git a/apps/workbench/app/views/work_unit/_show_component.html.erb b/apps/workbench/app/views/work_unit/_show_component.html.erb
index 27e6c59..da3e5a7 100644
--- a/apps/workbench/app/views/work_unit/_show_component.html.erb
+++ b/apps/workbench/app/views/work_unit/_show_component.html.erb
@@ -8,7 +8,7 @@
       <div class="pull-right">
         <div class="container-fluid">
           <div class="row-fulid pipeline-instance-spacing">
-            <div class="col-md-8">
+            <div class="col-md-7">
             <% if wu.is_running? and wu.child_summary_str %>
                 <%= wu.child_summary_str %>
             <% end %>

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list