From e2c1157cf6bbb98deff0990efa2d8a829370fdf5 Mon Sep 17 00:00:00 2001 From: Dave Lawrence Date: Fri, 23 Aug 2013 14:38:56 -0400 Subject: Bug 903387 - Backport bug 240437 (last_seen_date column) to BMO 4.2 --- 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 010cacb73..8eced20f7 100644 --- a/template/en/default/admin/users/edit.html.tmpl +++ b/template/en/default/admin/users/edit.html.tmpl @@ -107,6 +107,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 4d1d35c95..3ebfc2970 100644 --- a/template/en/default/admin/users/list.html.tmpl +++ b/template/en/default/admin/users/list.html.tmpl @@ -42,6 +42,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