X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/7db862a48062c6086ea8a6787149afa7d66b1919..01a3368db1de44656e82fbc066e85ae4feb5eb75:/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..9df4b1fce3 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; @@ -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 %>