From 01e3e73823886636357220f423af08e87af2eba6 Mon Sep 17 00:00:00 2001 From: Dave Lawrence Date: Wed, 8 Feb 2012 15:19:05 -0500 Subject: Bug 533012 - add the ability to see all the administrative actions performed by a user r=glob --- template/en/default/admin/users/edit.html.tmpl | 12 +++++++++--- template/en/default/admin/users/list.html.tmpl | 11 +++++++++++ 2 files changed, 20 insertions(+), 3 deletions(-) (limited to 'template/en/default/admin') diff --git a/template/en/default/admin/users/edit.html.tmpl b/template/en/default/admin/users/edit.html.tmpl index 3efa4b8bf..010cacb73 100644 --- a/template/en/default/admin/users/edit.html.tmpl +++ b/template/en/default/admin/users/edit.html.tmpl @@ -116,9 +116,15 @@ [% INCLUDE listselectionhiddenfields %] - or View Account History + [% IF editusers %], [% ELSE %] or [% END %] + View Account History + [% IF editusers %] + or View Admin History + [% END %]

diff --git a/template/en/default/admin/users/list.html.tmpl b/template/en/default/admin/users/list.html.tmpl index 3f745a458..4d1d35c95 100644 --- a/template/en/default/admin/users/list.html.tmpl +++ b/template/en/default/admin/users/list.html.tmpl @@ -51,6 +51,17 @@ ] %] +[% IF editusers %] + [% columns.push({ + heading => 'Admin History' + content => 'View' + contentlink => 'editusers.cgi?action=admin_activity' _ + '&userid=%%userid%%' _ + listselectionurlparams + }) + %] +[% END %] + [% IF Param('allowuserdeletion') && editusers %] [% columns.push({heading => 'Action' content => 'Delete' -- cgit v1.2.3-24-g4f1b