X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/26446197bb00d7f899673b7f9434e6bd622b8904..2ff5dd54e5daf4dfed3dfd07d161681fc87fe8ff:/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 %>