8784: Fix test for latest firefox.
[arvados.git] / apps / workbench / app / views / container_requests / _name_and_description.html.erb
1 <%
2   wu = @object.work_unit
3   template_uuid = wu.template_uuid
4   template = Workflow.find?(template_uuid) if template_uuid
5   div_class = "col-sm-12"
6   div_class = "col-sm-6" if template
7 %>
8
9 <div class="<%=div_class%>">
10   <%= render partial: 'object_name' %>
11   <%= render partial: 'object_description' %>
12 </div>
13
14 <% if template %>
15   <div class="alert alert-info <%=div_class%>">
16      This container request was created from the workflow <%= link_to_if_arvados_object template, friendly_name: true %><br />
17      <% if template.modified_at && (template.modified_at > @object.created_at) %>
18         Note: This workflow has been modified since this container request was created.
19      <% end %>
20   </div>
21 <% end %>