Expose the created, last login and note fields for User managment

This commit is contained in:
Oliver Gorwits
2015-08-26 11:01:12 +01:00
parent 2426931a3a
commit 463ae67ab4
6 changed files with 70 additions and 15 deletions

View File

@@ -0,0 +1,18 @@
[% USE CSV -%]
[% CSV.dump([ 'Full Name' 'Username'
'LDAP Auth' 'Port Control' 'Administrator' 'Created'
'Last Login' 'Note']) %]
[% FOREACH row IN results %]
[% mylist = [] %]
[% mylist.push(row.fullname) %]
[% mylist.push(row.username) %]
[% mylist.push(row.ldap) %]
[% mylist.push(row.port_control) %]
[% mylist.push(row.admin) %]
[% mylist.push(row.created) %]
[% mylist.push(row.last_seen) %]
[% mylist.push(row.note) %]
[% CSV.dump(mylist) %]
[% END %]