From 59776e6dc9dd95024dac6f8834b1ef5a67eb143e Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Tue, 29 Nov 2011 19:16:49 +0800 Subject: bug 706021: updates to the user-activitty report --- .../en/default/pages/user_activity.html.tmpl | 30 ++++++++++++++++------ 1 file changed, 22 insertions(+), 8 deletions(-) (limited to 'extensions/BMO/template/en') diff --git a/extensions/BMO/template/en/default/pages/user_activity.html.tmpl b/extensions/BMO/template/en/default/pages/user_activity.html.tmpl index bd48d00fd..b42a9d797 100644 --- a/extensions/BMO/template/en/default/pages/user_activity.html.tmpl +++ b/extensions/BMO/template/en/default/pages/user_activity.html.tmpl @@ -18,8 +18,14 @@ # Byron Jones #%] +[% IF who %] +[% who_title = ' (' _ who _ ')' %] +[% ELSE %] +[% who_title = '' %] +[% END %] + [% INCLUDE global/header.html.tmpl - title = "User Activity Report" + title = "User Activity Report" _ who_title yui = [ 'autocomplete', 'calendar' ] javascript_urls = [ "js/util.js", "js/field.js" ] %] @@ -108,7 +114,9 @@
- + [% IF who_count > 1 %] + + [% END %] @@ -118,11 +126,13 @@ [% FOREACH operation = operations %] + [% IF who_count > 1 %] + + [% END %] - " IF loop.index > 0 %]
WhoWhoWhen [% terms.Bug %] What
+ [% operation.who FILTER email FILTER html %] + - [% operation.who FILTER email FILTER html %] - - [% operation.when FILTER time %] + [% operation.when FILTER time FILTER no_break %] [% operation.bug FILTER bug_link(operation.bug) FILTER none %] @@ -131,8 +141,12 @@ [% "
[% IF change.attachid %] - Attachment #[% change.attachid FILTER html %] - [% ELSIF change.comment.defined && change.fieldname == 'longdesc' %] + Attachment #[% change.attachid FILTER html %] + [% END %] + [%IF change.comment.defined && change.fieldname == 'longdesc' %] [% "Comment $change.comment.count" FILTER bug_link(operation.bug, comment_num => change.comment.count) FILTER none %] [% ELSE %] [%+ field_descs.${change.fieldname} FILTER html %] -- cgit v1.2.3-24-g4f1b