Index: sitescripts/reports/template/showUser.html |
=================================================================== |
new file mode 100644 |
--- /dev/null |
+++ b/sitescripts/reports/template/showUser.html |
@@ -0,0 +1,25 @@ |
+<!-- This Source Code is subject to the terms of the Mozilla Public License |
+ - version 2.0 (the "License"). You can obtain a copy of the License at |
+ - http://mozilla.org/MPL/2.0/. --> |
+ |
+<html xmlns="http://www.w3.org/1999/xhtml"> |
+<head> |
+ <title>User profile</title> |
+</head> |
+<body> |
+ <h2>Statistics:</h2> |
+ <table> |
+ <tr><td>Number of reports:</td><td>{{reports}}</td></tr> |
+ <tr><td>Marked as useful:</td><td>{{positive}}</td></tr> |
+ <tr><td>Marked as not useful:</td><td>{{negative}}</td></tr> |
+ </table> |
+ {% if reportlist -%} |
+ <h2>Latest reports:</h2> |
+ <p> |
+ {%- for report in reportlist -%} |
+ <a href="/{{report.guid}}">{{report.guid}}</a><br /> |
+ {%- endfor -%} |
+ </p> |
+ {% endif -%} |
+</body> |
+</html> |