3114: bug fix: 'Copy' button is now disabled until a project has been selected for...
[arvados.git] / apps / workbench / app / views / application / _content_layout.html.erb
index 1bc0b855b4a520171de8c1e8b1c350b7b9ec82e9..519e8853f3bd77a10b6e28bc8cb0cafcb3d6bb24 100644 (file)
@@ -1,5 +1,13 @@
 <%= content_for :content_top %>
-<div class="pull-right">
-  <%= content_for :tab_line_buttons %>
-</div>
+  <% if @object and @object.is_a?(Group) and @object.group_class == 'project' %>
+  <div class="pull-right">
+    <%= content_for :tab_line_buttons %>
+  </div>
+  <br clear="all" />
+<% else %>
+  <br clear="all" />
+  <div class="pull-right">
+    <%= content_for :tab_line_buttons %>
+  </div>
+<% end %>
 <%= content_for :tab_panes %>