summaryrefslogtreecommitdiffstats
path: root/extensions/UserProfile/template/en/default/pages
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2013-10-23 18:44:05 +0200
committerByron Jones <bjones@mozilla.com>2013-10-23 18:44:05 +0200
commit1128ed4a3267b1e160125eed520202e1fe0ed5c4 (patch)
treed6c2cbc685e2509c247362fefc40bd08a93d1056 /extensions/UserProfile/template/en/default/pages
parent4f6724b0f86ccffa091ca33c04e237b9dd5d4c4a (diff)
downloadbugzilla-1128ed4a3267b1e160125eed520202e1fe0ed5c4.tar.gz
bugzilla-1128ed4a3267b1e160125eed520202e1fe0ed5c4.tar.xz
Bug 924144: Add account creation date to user profile
Diffstat (limited to 'extensions/UserProfile/template/en/default/pages')
-rw-r--r--extensions/UserProfile/template/en/default/pages/user_profile.html.tmpl10
1 files changed, 10 insertions, 0 deletions
diff --git a/extensions/UserProfile/template/en/default/pages/user_profile.html.tmpl b/extensions/UserProfile/template/en/default/pages/user_profile.html.tmpl
index 94edb5f73..005d53443 100644
--- a/extensions/UserProfile/template/en/default/pages/user_profile.html.tmpl
+++ b/extensions/UserProfile/template/en/default/pages/user_profile.html.tmpl
@@ -74,6 +74,16 @@
<td width="100%">&nbsp;</td>
</tr>
+[%# user.creation_ts is added by the TagNewUsers extension %]
+[% IF target.can('creation_ts') %]
+ <tr>
+ <th>Created</th>
+ <td colspan="2">
+ [% target.creation_ts FILTER time %] ([% target.creation_ts FILTER timeago FILTER html %])
+ </td>
+ </tr>
+[% END %]
+
<tr>
<th>Last activity</th>
<td colspan="2">