From 531b87fa858e2777523cd67d74d5579d9749260a Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Thu, 12 Dec 2013 12:59:26 +0800 Subject: Bug 928293: Add number of current reviews in queue on user profile --- .../en/default/pages/user_profile.html.tmpl | 97 +++++++++++++++++++--- 1 file changed, 86 insertions(+), 11 deletions(-) (limited to 'extensions/UserProfile/template') 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 aabc42db2..3c84add04 100644 --- a/extensions/UserProfile/template/en/default/pages/user_profile.html.tmpl +++ b/extensions/UserProfile/template/en/default/pages/user_profile.html.tmpl @@ -42,7 +42,7 @@ [% END %] - + [% IF user.gravatar %]
[% IF target.id == user.id %] @@ -85,7 +85,69 @@ + +   + + +[%# request counters provided by the Review extension %] +[% IF target.can("review_count") + && ( + stats.reviews + || ( + target.review_request_count + || target.feedback_request_count + || target.needinfo_request_count + ) + ) +%] + +
+ + + Review Queue + + +   + Review requests + + + [% target.review_request_count FILTER html %] + + + + +   + Feedback requests + + + [% target.feedback_request_count FILTER html %] + + + + +   + Needinfo requests + + + [% target.needinfo_request_count FILTER html %] + + + +[% END %] + + +
+ + + User Statistics + + + +   [% terms.Bugs %] filed +   Comments made [% stats.comments || 0 FILTER html %] +   Assigned to +   Commented on +   QA-Contact +   Patches submitted [% stats.patches || 0 FILTER html %] +   Patches reviewed [% stats.reviews || 0 FILTER html %] +   [% terms.Bugs %] poked [% stats.touched || 0 FILTER html %] @@ -143,6 +212,7 @@ +   Statuses changed RESOLVED ([% statuses.item('RESOLVED') || 0 FILTER html %]), @@ -153,6 +223,7 @@ +   Activity by product [% FOREACH p = products %] @@ -169,6 +240,20 @@ + + +
+ + What do these fields mean? + +
+ +
+ This information is updated daily +
+ + +     @@ -178,15 +263,5 @@ -
- - What do these fields mean? - -
- -
- This information is updated daily -
- [% PROCESS global/footer.html.tmpl %] -- cgit v1.2.3-24-g4f1b