OLD | NEW |
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 -%} |
| 19 <tr id="utilityRow"> |
| 20 <td class="label">Utility:</td> |
| 21 <td id="utilityCell" value="{{utility}}">{{ {'0': 'not established', '1'
: 'usefull', '-1': 'harmful'}.get(utility, 0) }}</td> |
| 22 </tr> |
| 23 {% endif -%} |
18 <tr id="mainURLRow"> | 24 <tr id="mainURLRow"> |
19 <td class="label">Website:</td> | 25 <td class="label">Website:</td> |
20 <td>{{main_url|url}} | 26 <td>{{main_url|url}} |
21 {%- if opener %}<br />Opened by {{opener|url}}{% endif -%} | 27 {%- if opener %}<br />Opened by {{opener|url}}{% endif -%} |
22 {%- if referrer %}<br />Referrer: {{referrer|url}}{% endif -%} | 28 {%- if referrer %}<br />Referrer: {{referrer|url}}{% endif -%} |
23 </td> | 29 </td> |
24 </tr> | 30 </tr> |
25 <tr id="typeRow"> | 31 <tr id="typeRow"> |
26 <td class="label">Issue type:</td> | 32 <td class="label">Issue type:</td> |
27 <td>{{ {'false positive': 'False positive', 'false negative': 'Ad not bl
ocked', 'other': 'Other'}.get(type, 'unknown') }}</td> | 33 <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 Loading... |
284 <td class="warningMessage">{{warnings[key]}}</td> | 290 <td class="warningMessage">{{warnings[key]}}</td> |
285 </tr> | 291 </tr> |
286 {% endfor -%} | 292 {% endfor -%} |
287 </tbody> | 293 </tbody> |
288 </table> | 294 </table> |
289 </div> | 295 </div> |
290 {%- endif %} | 296 {%- endif %} |
291 </div> | 297 </div> |
292 </body> | 298 </body> |
293 </html> | 299 </html> |
OLD | NEW |