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

Side by Side Diff: sitescripts/reports/template/report.html

Issue 8793015: Reports - user profile (Closed)
Patch Set: Reports - user profile Created Nov. 7, 2012, 11:39 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sitescripts/reports/static/reports.js ('k') | sitescripts/reports/template/showUser.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!-- 1 <!--
2 - This file is part of the Adblock Plus web scripts, 2 - This file is part of the Adblock Plus web scripts,
3 - Copyright (C) 2006-2012 Eyeo GmbH 3 - Copyright (C) 2006-2012 Eyeo GmbH
4 - 4 -
5 - Adblock Plus is free software: you can redistribute it and/or modify 5 - Adblock Plus is free software: you can redistribute it and/or modify
6 - it under the terms of the GNU General Public License version 3 as 6 - it under the terms of the GNU General Public License version 3 as
7 - published by the Free Software Foundation. 7 - published by the Free Software Foundation.
8 - 8 -
9 - Adblock Plus is distributed in the hope that it will be useful, 9 - Adblock Plus is distributed in the hope that it will be useful,
10 - but WITHOUT ANY WARRANTY; without even the implied warranty of 10 - but WITHOUT ANY WARRANTY; without even the implied warranty of
11 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 - GNU General Public License for more details. 12 - GNU General Public License for more details.
13 - 13 -
14 - You should have received a copy of the GNU General Public License 14 - You should have received a copy of the GNU General Public License
15 - along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. 15 - along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
16 --> 16 -->
17 17
18 <!DOCTYPE html> 18 <!DOCTYPE html>
19 <html lang="en" selectedTab="all"> 19 <html lang="en" selectedTab="all">
20 <head> 20 <head>
21 <title>Issue report for {{siteName}}</title> 21 <title>Issue report for {{siteName}}</title>
22 <link rel="stylesheet" href="/reports.css" type="text/css" /> 22 <link rel="stylesheet" href="/reports.css" type="text/css" />
23 <script type="text/javascript" src="/reports.js"></script> 23 <script type="text/javascript" src="/reports.js"></script>
24 </head> 24 </head>
25 <body> 25 <body>
26 <table id="overview"> 26 <table id="overview">
27 <tr id="statusRow"> 27 <tr id="statusRow">
28 <td class="label">Status:</td> 28 <td class="label">Status:</td>
29 <td id="statusCell">{% if status %}{{status|keepnewlines}}{% else %}unkn own{% endif %}</td> 29 <td id="statusCell" usefulness="{{usefulness}}">{% if status %}{{status| keepnewlines}}{% else %}unknown{% endif %}</td>
30 </tr>
31 <tr id="usefulnessRow">
32 <td class="label">Usefulness:</td>
33 <td id="usefulnessCell" value="{{usefulness}}">{{ {'0': 'not established ', '1': 'useful', '-1': 'useless'}.get(usefulness, 'not established') }}</td>
34 </tr> 30 </tr>
35 <tr id="mainURLRow"> 31 <tr id="mainURLRow">
36 <td class="label">Website:</td> 32 <td class="label">Website:</td>
37 <td>{{main_url|url}} 33 <td>{{main_url|url}}
38 {%- if opener %}<br />Opened by {{opener|url}}{% endif -%} 34 {%- if opener %}<br />Opened by {{opener|url}}{% endif -%}
39 {%- if referrer %}<br />Referrer: {{referrer|url}}{% endif -%} 35 {%- if referrer %}<br />Referrer: {{referrer|url}}{% endif -%}
40 </td> 36 </td>
41 </tr> 37 </tr>
42 <tr id="typeRow"> 38 <tr id="typeRow">
43 <td class="label">Issue type:</td> 39 <td class="label">Issue type:</td>
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 </tr> 75 </tr>
80 {% if comment -%} 76 {% if comment -%}
81 <tr id="commentRow"> 77 <tr id="commentRow">
82 <td class="label">Comment:</td> 78 <td class="label">Comment:</td>
83 <td>{{comment|keepnewlines}}</td> 79 <td>{{comment|keepnewlines}}</td>
84 </tr> 80 </tr>
85 {% endif -%} 81 {% endif -%}
86 {% if email -%} 82 {% if email -%}
87 <tr id="emailRow"> 83 <tr id="emailRow">
88 <td class="label">Email:</td> 84 <td class="label">Email:</td>
89 <td id="emailCell">{{email}}</td> 85 <td id="emailCell"><a href="/user/{{uid}}">{{email}}</a></td>
90 </tr> 86 </tr>
91 {% endif -%} 87 {% endif -%}
92 </table> 88 </table>
93 89
94 <ul class="tabStrip"> 90 <ul class="tabStrip">
95 {% if requests -%} 91 {% if requests -%}
96 <li class="tab" id="requestsTab" onclick="selectTab('requests');">Requests </li> 92 <li class="tab" id="requestsTab" onclick="selectTab('requests');">Requests </li>
97 {% endif %} 93 {% endif %}
98 {% if filters -%} 94 {% if filters -%}
99 <li class="tab" id="filtersTab" onclick="selectTab('filters');">Filters</l i> 95 <li class="tab" id="filtersTab" onclick="selectTab('filters');">Filters</l i>
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 <td class="warningMessage">{{warnings[key]}}</td> 297 <td class="warningMessage">{{warnings[key]}}</td>
302 </tr> 298 </tr>
303 {% endfor -%} 299 {% endfor -%}
304 </tbody> 300 </tbody>
305 </table> 301 </table>
306 </div> 302 </div>
307 {%- endif %} 303 {%- endif %}
308 </div> 304 </div>
309 </body> 305 </body>
310 </html> 306 </html>
OLDNEW
« no previous file with comments | « sitescripts/reports/static/reports.js ('k') | sitescripts/reports/template/showUser.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld