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

Unified Diff: sitescripts/reports/template/report.html

Issue 8793015: Reports - user profile (Closed)
Patch Set: Reports - user profile Created Nov. 7, 2012, 11:39 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sitescripts/reports/static/reports.js ('k') | sitescripts/reports/template/showUser.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sitescripts/reports/template/report.html
===================================================================
--- a/sitescripts/reports/template/report.html
+++ b/sitescripts/reports/template/report.html
@@ -26,11 +26,7 @@
<table id="overview">
<tr id="statusRow">
<td class="label">Status:</td>
- <td id="statusCell">{% if status %}{{status|keepnewlines}}{% else %}unknown{% endif %}</td>
- </tr>
- <tr id="usefulnessRow">
- <td class="label">Usefulness:</td>
- <td id="usefulnessCell" value="{{usefulness}}">{{ {'0': 'not established', '1': 'useful', '-1': 'useless'}.get(usefulness, 'not established') }}</td>
+ <td id="statusCell" usefulness="{{usefulness}}">{% if status %}{{status|keepnewlines}}{% else %}unknown{% endif %}</td>
</tr>
<tr id="mainURLRow">
<td class="label">Website:</td>
@@ -86,7 +82,7 @@
{% if email -%}
<tr id="emailRow">
<td class="label">Email:</td>
- <td id="emailCell">{{email}}</td>
+ <td id="emailCell"><a href="/user/{{uid}}">{{email}}</a></td>
</tr>
{% endif -%}
</table>
« no previous file with comments | « sitescripts/reports/static/reports.js ('k') | sitescripts/reports/template/showUser.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld