<% content_for :css do %> table#users-storage-table th { overflow-x: hidden; } table#users-storage-table .cell-for-span-This-month, table#users-storage-table .cell-for-span-Last-month { background: #eee; } <% end %> <% 2.times do %> <% end %> <% @users.each do |user| %> <% [:read_collections_total_bytes, :read_collections_weighted_bytes, :persisted_collections_total_bytes, :persisted_collections_weighted_bytes].each do |key| %> <% end %> <% end %>
User Collections Read Size Collections Persisted Storage
Total (unweighted) Shared (weighted)
<% if user.uuid %> <%= link_to_if_arvados_object user, friendly_name: true %> <% else %> Total <% end %> <%= @user_storage[user.uuid][key].to_s %>
<% content_for :footer_js do %> $('#users-storage-table td small').each(function(){ if ($(this).html().trim() == '0') $(this).css('opacity', '0.3'); }); <% end %>