[ARVADOS] updated: 1c638636ed50c1eafbf58d4f846b7b1e34c17cad

git at public.curoverse.com git at public.curoverse.com
Fri Oct 3 07:16:18 EDT 2014


Summary of changes:
 apps/workbench/app/views/jobs/show.html.erb                    |  4 ++--
 .../app/views/pipeline_instances/_show_tab_buttons.html.erb    | 10 +++++++---
 2 files changed, 9 insertions(+), 5 deletions(-)

       via  1c638636ed50c1eafbf58d4f846b7b1e34c17cad (commit)
      from  6a9589b47e553bc3576c3f12492de68962af50d3 (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 1c638636ed50c1eafbf58d4f846b7b1e34c17cad
Author: radhika <radhika at curoverse.com>
Date:   Fri Oct 3 07:15:23 2014 -0400

    4205: add tooltips to pipeline instance tab line buttons

diff --git a/apps/workbench/app/views/jobs/show.html.erb b/apps/workbench/app/views/jobs/show.html.erb
index f452372..d4ee2a8 100644
--- a/apps/workbench/app/views/jobs/show.html.erb
+++ b/apps/workbench/app/views/jobs/show.html.erb
@@ -11,7 +11,7 @@
       <% [:script_parameters, :runtime_constraints].each do |d| %>
         <%= hidden_field :job, d, :value => JSON.dump(@object[d]) %>
       <% end %>
-      <%= button_tag "Re-run same version", {class: 'btn btn-sm btn-primary', id: "re-run-same-job-button", title: 'Re-run job using the same script version as this run'} do %>
+      <%= button_tag ({class: 'btn btn-sm btn-primary', id: "re-run-same-job-button", title: 'Re-run job using the same script version as this run'}) do %>
         <i class="fa fa-gear"></i> Re-run same version
       <% end %>
     <% end %>
@@ -24,7 +24,7 @@
       <% [:script_parameters, :runtime_constraints].each do |d| %>
         <%= hidden_field :job, d, :value => JSON.dump(@object[d]) %>
       <% end %>
-      <%= button_tag "Re-run latest version", {class: 'btn btn-sm btn-primary', id: "re-run-latest-job-button", title: 'Re-run job using the latest script version'} do%>
+      <%= button_tag ({class: 'btn btn-sm btn-primary', id: "re-run-latest-job-button", title: 'Re-run job using the latest script version'}) do%>
         <i class="fa fa-gear"></i> Re-run latest version
       <% end %>
     <% end %>
diff --git a/apps/workbench/app/views/pipeline_instances/_show_tab_buttons.html.erb b/apps/workbench/app/views/pipeline_instances/_show_tab_buttons.html.erb
index 2e46581..32485f5 100644
--- a/apps/workbench/app/views/pipeline_instances/_show_tab_buttons.html.erb
+++ b/apps/workbench/app/views/pipeline_instances/_show_tab_buttons.html.erb
@@ -1,22 +1,24 @@
   <% if @object.state.in? ['Complete', 'Failed', 'Cancelled', 'Paused'] %>
 
   <%= link_to(copy_pipeline_instance_path('id' => @object.uuid, 'script' => "use_latest", "components" => "use_latest", "pipeline_instance[state]" => "RunningOnServer"),
-      class: 'btn btn-primary',
+      class: 'btn btn-primary', title: 'Re-run with latest options',
       #data: {toggle: :tooltip, placement: :top}, title: 'Re-run',
       method: :post,
       ) do %>
     <i class="fa fa-fw fa-play"></i> Re-run with latest
   <% end %>
 
-  <%= link_to raw('<i class="fa fa-fw fa-cogs"></i> Re-run options'),
+  <%= link_to raw('<i class="fa fa-fw fa-cogs"></i> Re-run options...'),
       "#",
       {class: 'btn btn-primary', 'data-toggle' =>  "modal",
-        'data-target' => '#clone-and-edit-modal-window'}  %>
+        'data-target' => '#clone-and-edit-modal-window',
+        title: 'Re-run with options'}  %>
   <% end %>
 
   <% if @object.state.in? ['New', 'Ready'] %>
     <%= link_to(url_for('pipeline_instance[state]' => 'RunningOnServer'),
         class: 'btn btn-primary run-pipeline-button',
+        title: 'Run this pipeline',
         method: :patch
         ) do %>
       <i class="fa fa-fw fa-play"></i> Run
@@ -25,6 +27,7 @@
     <% if @object.state.in? ['RunningOnClient', 'RunningOnServer'] %>
       <%= link_to(url_for('pipeline_instance[state]' => 'Paused'),
           class: 'btn btn-primary run-pipeline-button',
+          title: 'Pause this pipeline',
           method: :patch
           ) do %>
         <i class="fa fa-fw fa-pause"></i> Pause
@@ -32,6 +35,7 @@
     <% elsif @object.state == 'Paused' %>
       <%= link_to(url_for('pipeline_instance[state]' => 'RunningOnServer'),
           class: 'btn btn-primary run-pipeline-button',
+          title: 'Resume this pipeline',
           method: :patch
           ) do %>
         <i class="fa fa-fw fa-play"></i> Resume

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list