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

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

Issue 8625042: Reports - user usefullness (Closed)
Patch Set: Reports - report update UI Created Oct. 18, 2012, 1:35 p.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
Index: sitescripts/reports/template/report.html
===================================================================
--- a/sitescripts/reports/template/report.html
+++ b/sitescripts/reports/template/report.html
@@ -15,6 +15,12 @@
<td class="label">Status:</td>
<td id="statusCell">{% if status %}{{status|keepnewlines}}{% else %}unknown{% endif %}</td>
</tr>
+ {% if email -%}
+ <tr id="utilityRow">
+ <td class="label">Utility:</td>
+ <td id="utilityCell" value="{{utility}}">{{ {'0': 'not established', '1': 'usefull', '-1': 'harmful'}.get(utility, 0) }}</td>
+ </tr>
+ {% endif -%}
<tr id="mainURLRow">
<td class="label">Website:</td>
<td>{{main_url|url}}

Powered by Google App Engine
This is Rietveld