Added link to storage page, replaced tabs with spaces.
authorMisha Zatsman <misha-arvados@zatsman.com>
Thu, 24 Apr 2014 20:11:49 +0000 (20:11 +0000)
committerMisha Zatsman <misha-arvados@zatsman.com>
Thu, 24 Apr 2014 20:11:49 +0000 (20:11 +0000)
apps/workbench/app/views/users/_show_activity.html.erb
apps/workbench/app/views/users/storage.html.erb

index ea53307ed58713d1ecea5cbfa5e33c62479bd7fb..9f714be97515608f0f8ea88a6fcd78ab288d6b0d 100644 (file)
@@ -1,4 +1,4 @@
 <p>
-  As an admin user, you can <%= link_to "view recent user activity", activity_users_url %>.
+  As an admin user, you can <%= link_to "view recent user activity", activity_users_url %> and <%= link_to "view user storage activity", storage_users_url %>.
 </p>
 
index e736e78cb7746f43aa627926b24496b9e2de73c9..30fec4a88d1f1aacb603fe76465bb1315fee0da0 100644 (file)
@@ -36,13 +36,13 @@ table#users-storage-table .byte-value {
   <% @users.each do |user| %>
   <tr>
     <td>
-           <% if user.uuid %>
+      <% if user.uuid %>
       <small>
-             <%= link_to_if_arvados_object user, friendly_name: true %>
+        <%= link_to_if_arvados_object user, friendly_name: true %>
       </small>
-           <% else %>
-           <b>Total</b>
-           <% end %>
+      <% 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">
@@ -61,6 +61,6 @@ table#users-storage-table .byte-value {
 <% content_for :footer_js do %>
 $('#users-storage-table td small').each(function(){
     if ($(this).html().trim() == '0')
-       $(this).css('opacity', '0.3');
+  $(this).css('opacity', '0.3');
 });
 <% end %>