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 - user usefulness Created Oct. 23, 2012, 2:15 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,10 @@
<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>
+ </tr>
<tr id="mainURLRow">
<td class="label">Website:</td>
<td>{{main_url|url}}

Powered by Google App Engine
This is Rietveld