X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/c95bf51af6261d2707421305342043f499b69f67..0ceaaf049f7042e54ccdafaded9fa4f7de4bdb8b:/apps/workbench/app/views/users/activity.html.erb diff --git a/apps/workbench/app/views/users/activity.html.erb b/apps/workbench/app/views/users/activity.html.erb index eaf296af09..64be1ea4a7 100644 --- a/apps/workbench/app/views/users/activity.html.erb +++ b/apps/workbench/app/views/users/activity.html.erb @@ -1,3 +1,7 @@ +<%# Copyright (C) The Arvados Authors. All rights reserved. + +SPDX-License-Identifier: AGPL-3.0 %> + <% content_for :css do %> table#users-activity-table th { overflow-x: hidden; @@ -20,9 +24,9 @@ table#users-activity-table .cell-for-span-Last-month { <% end %> - User + User <% @spans.each do |span, start_at, end_at| %> - + <%= span %>
<%= start_at.strftime('%b %-d') %> @@ -33,9 +37,9 @@ table#users-activity-table .cell-for-span-Last-month { <% @spans.each do |span, _| %> - Logins - Jobs - Pipelines + Logins + Jobs + Pipelines <% end %> @@ -43,11 +47,11 @@ table#users-activity-table .cell-for-span-Last-month { - <% if user.uuid %> - <%= link_to_if_arvados_object user, friendly_name: true %> - <% else %> - Total - <% end %> + <% if user.uuid %> + <%= link_to_if_arvados_object user, friendly_name: true %> + <% else %> + Total + <% end %> @@ -55,7 +59,7 @@ table#users-activity-table .cell-for-span-Last-month { <% ['logins', 'jobs', 'pipeline_instances'].each do |type| %> - <%= @user_activity[user.uuid][span + " " + type].to_s %> + <%= @user_activity[user.uuid][span + " " + type].to_s %> <% end %> @@ -66,7 +70,7 @@ table#users-activity-table .cell-for-span-Last-month { <% content_for :footer_js do %> $('#users-activity-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 %>