Merge branch 'master' into 3654-combine-selections
[arvados.git] / apps / workbench / app / views / keep_disks / _content_layout.html.erb
index 38188a56ffb8fe8ed660ca44f6f2cd0ba6d8e2f1..56177ae6e57cef33c7c9b959a8287eb0f96a5008 100644 (file)
@@ -1,4 +1,4 @@
-<% if @histogram_date > 0 %>
+<% unless @histogram_pretty_date.nil? %>
   <% content_for :tab_panes do %>
   <%# We use protocol-relative paths here to avoid browsers refusing to load javascript over http in a page that was loaded over https. %>
   <%= javascript_include_tag '//cdnjs.cloudflare.com/ajax/libs/raphael/2.1.2/raphael-min.js' %>
@@ -17,5 +17,7 @@
   <% end %>
 <% end %>
 <%= content_for :content_top %>
-<%= content_for :tab_line_buttons %>
+<div class="pull-right">
+  <%= content_for :tab_line_buttons %>
+</div>
 <%= content_for :tab_panes %>