4025: add fa-fw to the newly added i tag class like all other such usages.
authorradhika <radhika@curoverse.com>
Fri, 3 Oct 2014 11:34:33 +0000 (07:34 -0400)
committerradhika <radhika@curoverse.com>
Fri, 3 Oct 2014 11:34:33 +0000 (07:34 -0400)
apps/workbench/app/views/jobs/show.html.erb
apps/workbench/app/views/pipeline_instances/_show_tab_buttons.html.erb

index d4ee2a808686e1514ad57cb5b85c5692b4ff67b2..74c53ca157d892244824a918f3d5a446b854573b 100644 (file)
@@ -11,8 +11,9 @@
       <% [:script_parameters, :runtime_constraints].each do |d| %>
         <%= hidden_field :job, d, :value => JSON.dump(@object[d]) %>
       <% end %>
-      <%= 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
+      <%= 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-fw fa-gear"></i> Re-run same version
       <% end %>
     <% end %>
   <% if @object.respond_to? :supplied_script_version and !@object.supplied_script_version.nil? and !@object.supplied_script_version.empty? and @object.script_version != @object.supplied_script_version%>
@@ -24,8 +25,9 @@
       <% [:script_parameters, :runtime_constraints].each do |d| %>
         <%= hidden_field :job, d, :value => JSON.dump(@object[d]) %>
       <% end %>
-      <%= 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
+      <%= 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-fw fa-gear"></i> Re-run latest version
       <% end %>
     <% end %>
   <% end %>
index 32485f5173939ee89bfef3e122a0f191e38446fe..38a7c913d421965de5da099ec9fe5c2b62a64165 100644 (file)
@@ -1,7 +1,8 @@
   <% 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', title: 'Re-run with latest options',
+      class: 'btn btn-primary',
+      title: 'Re-run with latest options',
       #data: {toggle: :tooltip, placement: :top}, title: 'Re-run',
       method: :post,
       ) do %>