summaryrefslogtreecommitdiffstats
path: root/template/en/default/admin
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2013-08-23 20:38:56 +0200
committerDave Lawrence <dlawrence@mozilla.com>2013-08-23 20:38:56 +0200
commite2c1157cf6bbb98deff0990efa2d8a829370fdf5 (patch)
treecca3e2afdbd33ebda36e5e5da147706780c50f4e /template/en/default/admin
parent1f870a8b3f88cc77319dec50380fc4554f34793e (diff)
downloadbugzilla-e2c1157cf6bbb98deff0990efa2d8a829370fdf5.tar.gz
bugzilla-e2c1157cf6bbb98deff0990efa2d8a829370fdf5.tar.xz
Bug 903387 - Backport bug 240437 (last_seen_date column) to BMO 4.2
Diffstat (limited to 'template/en/default/admin')
-rw-r--r--template/en/default/admin/users/edit.html.tmpl11
-rw-r--r--template/en/default/admin/users/list.html.tmpl3
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 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 %]
</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 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' _