aboutsummaryrefslogtreecommitdiffstats
path: root/template/en/default/admin/users/list.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/admin/users/list.html.tmpl')
-rw-r--r--template/en/default/admin/users/list.html.tmpl32
1 files changed, 20 insertions, 12 deletions
diff --git a/template/en/default/admin/users/list.html.tmpl b/template/en/default/admin/users/list.html.tmpl
index 0b3c46eef..2dbee7451 100644
--- a/template/en/default/admin/users/list.html.tmpl
+++ b/template/en/default/admin/users/list.html.tmpl
@@ -35,21 +35,29 @@
{name => 'realname'
heading => 'Real name'
}
- {name => 'extern_id'
- heading => 'External ID'
- }
- {name => 'last_seen_date'
- heading => 'Last Login'
- }
- {heading => 'Account History'
- content => 'View'
- contentlink => 'editusers.cgi?action=activity' _
- '&userid=%%userid%%' _
- listselectionurlparams
- }
]
%]
+[% IF default_authorizer.extern_id_used %]
+ [% columns.push({name => 'extern_id'
+ heading => 'External ID'
+ }
+ )
+ %]
+[% END %]
+
+[% columns.push({name => 'last_seen_date'
+ heading => 'Last Login'
+ }
+ {heading => 'Account History'
+ content => 'View'
+ contentlink => 'editusers.cgi?action=activity' _
+ '&userid=%%userid%%' _
+ listselectionurlparams
+ }
+ )
+%]
+
[% IF Param('allowuserdeletion') && editusers %]
[% columns.push({heading => 'Action'
content => 'Delete'