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: Created Oct. 18, 2012, 1:17 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 <tr id="utilityRow"> 18 <tr id="usefulnessRow">
19 <td class="label">Utility:</td> 19 <td class="label">Usefulness:</td>
20 <td id="utilityCell" value="{{utility}}">{{ {'0': 'not established', '1' : 'usefull', '-1': 'harmful'}.get(utility, 0) }}</td> 20 <td id="usefulnessCell" value="{{usefulness}}">{{ {'0': 'not established ', '1': 'useful', '-1': 'useless'}.get(usefulness, 'not established') }}</td>
21 </tr> 21 </tr>
22 <tr id="mainURLRow"> 22 <tr id="mainURLRow">
23 <td class="label">Website:</td> 23 <td class="label">Website:</td>
24 <td>{{main_url|url}} 24 <td>{{main_url|url}}
25 {%- if opener %}<br />Opened by {{opener|url}}{% endif -%} 25 {%- if opener %}<br />Opened by {{opener|url}}{% endif -%}
26 {%- if referrer %}<br />Referrer: {{referrer|url}}{% endif -%} 26 {%- if referrer %}<br />Referrer: {{referrer|url}}{% endif -%}
27 </td> 27 </td>
28 </tr> 28 </tr>
29 <tr id="typeRow"> 29 <tr id="typeRow">
30 <td class="label">Issue type:</td> 30 <td class="label">Issue type:</td>
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 <td class="warningMessage">{{warnings[key]}}</td> 288 <td class="warningMessage">{{warnings[key]}}</td>
289 </tr> 289 </tr>
290 {% endfor -%} 290 {% endfor -%}
291 </tbody> 291 </tbody>
292 </table> 292 </table>
293 </div> 293 </div>
294 {%- endif %} 294 {%- endif %}
295 </div> 295 </div>
296 </body> 296 </body>
297 </html> 297 </html>
LEFTRIGHT

Powered by Google App Engine
This is Rietveld