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

Delta Between Two Patch Sets: sitescripts/reports/template/report.html

Issue 8625042: Reports - user usefullness (Closed)
Left Patch Set: Reports - report update UI Created Oct. 18, 2012, 1:35 p.m.
Right Patch Set: Reports - user usefulness Created Oct. 29, 2012, 12:35 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « sitescripts/reports/template/digest.html ('k') | sitescripts/reports/utils.py » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
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 <!DOCTYPE html> 5 <!DOCTYPE html>
6 <html lang="en" selectedTab="all"> 6 <html lang="en" selectedTab="all">
7 <head> 7 <head>
8 <title>Issue report for {{siteName}}</title> 8 <title>Issue report for {{siteName}}</title>
9 <link rel="stylesheet" href="/reports.css" type="text/css" /> 9 <link rel="stylesheet" href="/reports.css" type="text/css" />
10 <script type="text/javascript" src="/reports.js"></script> 10 <script type="text/javascript" src="/reports.js"></script>
11 </head> 11 </head>
12 <body> 12 <body>
13 <table id="overview"> 13 <table id="overview">
14 <tr id="statusRow"> 14 <tr id="statusRow">
15 <td class="label">Status:</td> 15 <td class="label">Status:</td>
16 <td id="statusCell">{% if status %}{{status|keepnewlines}}{% else %}unkn own{% endif %}</td> 16 <td id="statusCell">{% if status %}{{status|keepnewlines}}{% else %}unkn own{% endif %}</td>
17 </tr> 17 </tr>
18 {% if email -%} 18 <tr id="usefulnessRow">
19 <tr id="utilityRow"> 19 <td class="label">Usefulness:</td>
20 <td class="label">Utility:</td> 20 <td id="usefulnessCell" value="{{usefulness}}">{{ {'0': 'not established ', '1': 'useful', '-1': 'useless'}.get(usefulness, 'not established') }}</td>
21 <td id="utilityCell" value="{{utility}}">{{ {'0': 'not established', '1' : 'usefull', '-1': 'harmful'}.get(utility, 0) }}</td> 21 </tr>
22 </tr>
23 {% endif -%}
24 <tr id="mainURLRow"> 22 <tr id="mainURLRow">
25 <td class="label">Website:</td> 23 <td class="label">Website:</td>
26 <td>{{main_url|url}} 24 <td>{{main_url|url}}
27 {%- if opener %}<br />Opened by {{opener|url}}{% endif -%} 25 {%- if opener %}<br />Opened by {{opener|url}}{% endif -%}
28 {%- if referrer %}<br />Referrer: {{referrer|url}}{% endif -%} 26 {%- if referrer %}<br />Referrer: {{referrer|url}}{% endif -%}
29 </td> 27 </td>
30 </tr> 28 </tr>
31 <tr id="typeRow"> 29 <tr id="typeRow">
32 <td class="label">Issue type:</td> 30 <td class="label">Issue type:</td>
33 <td>{{ {'false positive': 'False positive', 'false negative': 'Ad not bl ocked', 'other': 'Other'}.get(type, 'unknown') }}</td> 31 <td>{{ {'false positive': 'False positive', 'false negative': 'Ad not bl ocked', 'other': 'Other'}.get(type, 'unknown') }}</td>
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 <td class="warningMessage">{{warnings[key]}}</td> 288 <td class="warningMessage">{{warnings[key]}}</td>
291 </tr> 289 </tr>
292 {% endfor -%} 290 {% endfor -%}
293 </tbody> 291 </tbody>
294 </table> 292 </table>
295 </div> 293 </div>
296 {%- endif %} 294 {%- endif %}
297 </div> 295 </div>
298 </body> 296 </body>
299 </html> 297 </html>
LEFTRIGHT

Powered by Google App Engine
This is Rietveld