From 0284798a8cc4987c84805634a7a84d5d853a2168 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Tue, 24 Jan 2012 15:13:22 +0800 Subject: Bug 240437: Add a "last seen date" column to the profiles table r=LpSolit, a=LpSolit --- template/en/default/admin/users/edit.html.tmpl | 11 +++++++++++ template/en/default/admin/users/list.html.tmpl | 3 +++ 2 files changed, 14 insertions(+) (limited to 'template') diff --git a/template/en/default/admin/users/edit.html.tmpl b/template/en/default/admin/users/edit.html.tmpl index 0f5e79f5b..b75f8400d 100644 --- a/template/en/default/admin/users/edit.html.tmpl +++ b/template/en/default/admin/users/edit.html.tmpl @@ -101,6 +101,17 @@ [% END %] + + + Last Login: + + [% IF otheruser.last_seen_date %] + [% otheruser.last_seen_date FILTER html %] + [% ELSE %] + never + [% END %] + +

diff --git a/template/en/default/admin/users/list.html.tmpl b/template/en/default/admin/users/list.html.tmpl index 15cb15c2b..ff23b7727 100644 --- a/template/en/default/admin/users/list.html.tmpl +++ b/template/en/default/admin/users/list.html.tmpl @@ -35,6 +35,9 @@ {name => 'realname' heading => 'Real name' } + {name => 'last_seen_date' + heading => 'Last Login' + } {heading => 'Account History' content => 'View' contentlink => 'editusers.cgi?action=activity' _ -- cgit v1.2.3-24-g4f1b