Fix 2.4.2 upgrade notes formatting refs #19330
[arvados.git] / apps / workbench / app / views / keep_disks / _content_layout.html.erb
index 38188a56ffb8fe8ed660ca44f6f2cd0ba6d8e2f1..06822e5e1401bf667026b4e9379e1726f6fc85a3 100644 (file)
@@ -1,8 +1,9 @@
-<% if @histogram_date > 0 %>
+<%# Copyright (C) The Arvados Authors. All rights reserved.
+
+SPDX-License-Identifier: AGPL-3.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' %>
-  <%= javascript_include_tag '//cdnjs.cloudflare.com/ajax/libs/morris.js/0.4.3/morris.min.js' %>
   <script type="text/javascript">
     $(document).ready(function(){
       $.renderHistogram(<%= raw @cache_age_histogram.to_json %>);
@@ -17,5 +18,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 %>