<% @users.each do |user| %>
<tr>
<td>
+ <% if user.uuid %>
<small>
- <% if user.uuid %>
- <%= link_to_if_arvados_object user, friendly_name: true %>
- <% else %>
- <b>Total</b>
- <% end %>
+ <%= link_to_if_arvados_object user, friendly_name: true %>
</small>
+ <% else %>
+ <b>Total</b>
+ <% end %>
</td>
<% [:read_collections_total_bytes, :read_collections_weighted_bytes, :persisted_collections_total_bytes, :persisted_collections_weighted_bytes].each do |key| %>
<td class="byte-value">
<% content_for :footer_js do %>
$('#users-storage-table td small').each(function(){
- if ($(this).html().trim() == '0')
- $(this).css('opacity', '0.3');
+ if ($(this).html().trim() == '0')
+ $(this).css('opacity', '0.3');
});
<% end %>