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

Side by Side Diff: sitescripts/reports/template/showUser.html

Issue 8793015: Reports - user profile (Closed)
Patch Set: Reports - user profile Created Nov. 7, 2012, 9:38 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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
3 - http://mozilla.org/MPL/2.0/. -->
4
5 <html xmlns="http://www.w3.org/1999/xhtml">
6 <head>
7 <title>User profile</title>
8 </head>
9 <body>
10 <h2>Statistics:</h2>
11 <table>
12 <tr><td>Number of reports:</td><td>{{reports}}</td></tr>
13 <tr><td>Marked as useful:</td><td>{{positive}}</td></tr>
14 <tr><td>Marked as not useful:</td><td>{{negative}}</td></tr>
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 -%}
24 </body>
25 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld