Merge branch 'master' into 3261-keep-docker-config
[arvados.git] / apps / workbench / app / views / application / _content_layout.html.erb
index c7ff33b16e57bcd474134573ceb266a3e5ecf720..c8e38277201b7a465fcc53a1f7b82556d7c18f31 100644 (file)
@@ -1,3 +1,13 @@
 <%= content_for :content_top %>
-<%= content_for :tab_line_buttons %>
+  <% if @object and @object.is_a?(Group) and @object.group_class.in?(['project','folder']) %>
+  <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 %>