8784: Fix test for latest firefox.
[arvados.git] / apps / workbench / app / views / work_units / _progress.html.erb
1 <% if wu.is_running? %>
2   <% if @object.andand.uuid == wu.uuid and wu.progress == 0.0 %>
3     <span class="label label-<%= wu.state_bootstrap_class %>"> Active </span>
4   <% else%>
5     <div class="progress" style="margin-bottom: 0px">
6       <span class="progress-bar progress-bar-<%= wu.state_bootstrap_class %>" style="width: <%= wu.progress*100 %>%;">
7       </span>
8     </div>
9   <% end %>
10 <% else %>
11   <span class="label label-<%= wu.state_bootstrap_class %>"><%= wu.state_label %></span>
12 <% end %>