diff options
author | Byron Jones <bjones@mozilla.com> | 2012-01-24 08:13:22 +0100 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2012-01-24 08:13:22 +0100 |
commit | 0284798a8cc4987c84805634a7a84d5d853a2168 (patch) | |
tree | c81fd47c1fadd9abb335c618959ac227107efb8e /template/en | |
parent | 96624a115fe60b8ebdbbecbc2b38a7566d4e4c59 (diff) | |
download | bugzilla-0284798a8cc4987c84805634a7a84d5d853a2168.tar.gz bugzilla-0284798a8cc4987c84805634a7a84d5d853a2168.tar.xz |
Bug 240437: Add a "last seen date" column to the profiles table
r=LpSolit, a=LpSolit
Diffstat (limited to 'template/en')
-rw-r--r-- | template/en/default/admin/users/edit.html.tmpl | 11 | ||||
-rw-r--r-- | template/en/default/admin/users/list.html.tmpl | 3 |
2 files changed, 14 insertions, 0 deletions
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 %] </td> </tr> + + <tr> + <th>Last Login:</th> + <td> + [% IF otheruser.last_seen_date %] + [% otheruser.last_seen_date FILTER html %] + [% ELSE %] + <em>never</em> + [% END %] + </td> + </tr> </table> <p> 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' _ |