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"> | 6 <html lang="en"> |
7 <head> | 7 <head> |
8 <title>Issue reports for {{email}}</title> | 8 <title>Issue reports for {{email}}</title> |
9 <link type="text/css" href="/lib/jquery/jquery-ui-1.8.18.custom.css" rel="styles
heet" /> | 9 <link type="text/css" href="/lib/jquery/jquery-ui-1.8.18.custom.css" rel="styles
heet" /> |
10 <link type="text/css" href="/lib/slickgrid/slick.grid.css" rel="stylesheet" /> | 10 <link type="text/css" href="/lib/slickgrid/slick.grid.css" rel="stylesheet" /> |
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
249 weight += 0.7; | 249 weight += 0.7; |
250 else if (report.hasscreenshot == 1) | 250 else if (report.hasscreenshot == 1) |
251 weight += 0.3; | 251 weight += 0.3; |
252 if (report.knownIssues > 0) | 252 if (report.knownIssues > 0) |
253 weight -= 0.3; | 253 weight -= 0.3; |
254 if (/\btest\b/i.test(report.comment)) | 254 if (/\btest\b/i.test(report.comment)) |
255 weight -= 0.5; | 255 weight -= 0.5; |
256 else if (/\S/.test(report.comment)) | 256 else if (/\S/.test(report.comment)) |
257 weight += 0.5; | 257 weight += 0.5; |
258 if (report.contact) | 258 if (report.contact) |
259 weight += 0.3; | 259 weight += report.score; |
260 | 260 |
261 return weight; | 261 return weight; |
262 } | 262 } |
263 </script> | 263 </script> |
264 </head> | 264 </head> |
265 <body data-reports="{{reports|json(ensure_ascii=False,separators=(',', ':'))}}"> | 265 <body data-reports="{{reports|json(ensure_ascii=False,separators=(',', ':'))}}"> |
266 <div id="tip"><span class="ui-icon ui-icon-lightbulb"></span>Use Shift key to
sort by multiple columns.</div> | 266 <div id="tip"><span class="ui-icon ui-icon-lightbulb"></span>Use Shift key to
sort by multiple columns.</div> |
267 <div id="header">Adblock Plus issue reports for {{email}}</div> | 267 <div id="header">Adblock Plus issue reports for {{email}}</div> |
268 <div id="reports"></div> | 268 <div id="reports"></div> |
269 </body> | 269 </body> |
270 </html> | 270 </html> |
OLD | NEW |