Left: | ||
Right: |
LEFT | RIGHT |
---|---|
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> |
LEFT | RIGHT |