Added some documentation and renamed variables after Tim's review.
[arvados.git] / apps / workbench / app / views / keep_disks / _content_layout.html.erb
index 38188a56ffb8fe8ed660ca44f6f2cd0ba6d8e2f1..0f5cd7aeceaa209f3be7a64ceb981cf13167498d 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' %>