[ARVADOS] updated: 5058d1cbdbde801a2cf7e303d83e1a626015afdd

git at public.curoverse.com git at public.curoverse.com
Wed Jul 29 13:50:00 EDT 2015


Summary of changes:
 apps/workbench/app/helpers/pipeline_instances_helper.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  5058d1cbdbde801a2cf7e303d83e1a626015afdd (commit)
      from  06d6b29b121b80cb975e5d9d29a9a6f9b3763c47 (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 5058d1cbdbde801a2cf7e303d83e1a626015afdd
Author: radhika <radhika at curoverse.com>
Date:   Wed Jul 29 13:47:43 2015 -0400

    6602: enhance render_runtime method to display seconds when days, hours, and minutes are all zero even when round_to_min is true.

diff --git a/apps/workbench/app/helpers/pipeline_instances_helper.rb b/apps/workbench/app/helpers/pipeline_instances_helper.rb
index 66a7f17..8fafbc2 100644
--- a/apps/workbench/app/helpers/pipeline_instances_helper.rb
+++ b/apps/workbench/app/helpers/pipeline_instances_helper.rb
@@ -298,7 +298,7 @@ module PipelineInstancesHelper
 
       s += "#{minutes}<span class='time-label-divider'>m</span>"
 
-      if not round_to_min
+      if not round_to_min or (days == 0 and hours == 0 and minutes == 0)
         s += "#{seconds}<span class='time-label-divider'>s</span>"
       end
     end

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list