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 426a497a605111eb8e56e1c60e114b2dda393f17..519e8853f3bd77a10b6e28bc8cb0cafcb3d6bb24 100644 (file)
@@ -1,6 +1,13 @@
 <%= content_for :content_top %>
-<br clear="all" />
-<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 %>