Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Delta Between Two Patch Sets: sitescripts/reports/template/showUser.html

Issue 8793015: Reports - user profile (Closed)
Left Patch Set: Created Nov. 6, 2012, 2:05 p.m.
Right Patch Set: Reports - user profile Created Nov. 7, 2012, 11:39 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « sitescripts/reports/template/report.html ('k') | sitescripts/reports/utils.py » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 <!-- This Source Code is subject to the terms of the Mozilla Public License 1 <!-- This Source Code is subject to the terms of the Mozilla Public License
2 - version 2.0 (the "License"). You can obtain a copy of the License at 2 - version 2.0 (the "License"). You can obtain a copy of the License at
3 - http://mozilla.org/MPL/2.0/. --> 3 - http://mozilla.org/MPL/2.0/. -->
4 4
5 <html xmlns="http://www.w3.org/1999/xhtml"> 5 <html xmlns="http://www.w3.org/1999/xhtml">
6 <head> 6 <head>
7 <title>User profile</title> 7 <title>User profile</title>
8 </head> 8 </head>
9 <body> 9 <body>
10 <h2>Statistics:</h2>
10 <table> 11 <table>
11 <tr><td>Number of reports:</td><td>{{reports}}</td></tr> 12 <tr><td>Number of reports:</td><td>{{reports}}</td></tr>
12 <tr><td>Marked as positive:</td><td>{{positive}}</td></tr> 13 <tr><td>Marked as useful:</td><td>{{positive}}</td></tr>
13 <tr><td>Marked as negative:</td><td>{{negative}}</td></tr> 14 <tr><td>Marked as not useful:</td><td>{{negative}}</td></tr>
Wladimir Palant 2012/11/07 08:38:15 "Marked as useful/not useful" for consistency?
Andrey Novikov 2012/11/07 09:38:48 Done.
14 <tr><td>Computed usefulness score:</td><td>{{score}}</td></tr>
15 </table> 15 </table>
16 {% if reportlist -%}
17 <h2>Latest reports:</h2>
18 <p>
19 {%- for report in reportlist -%}
20 <a href="/{{report.guid}}">{{report.guid}}</a><br />
21 {%- endfor -%}
22 </p>
23 {% endif -%}
16 </body> 24 </body>
17 </html> 25 </html>
LEFTRIGHT

Powered by Google App Engine
This is Rietveld