Left: | ||
Right: |
OLD | NEW |
---|---|
(Empty) | |
1 {# | |
2 # This file is part of the Adblock Plus website, | |
3 # Copyright (C) 2006-2015 Eyeo GmbH | |
4 # | |
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 | |
7 # published by the Free Software Foundation. | |
8 # | |
9 # Adblock Plus is distributed in the hope that it will be useful, | |
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 # GNU General Public License for more details. | |
13 # | |
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/>. | |
16 #} | |
17 | |
18 {% block body %} | |
19 <table id="preftable"> | |
20 <tbody> | |
21 <tr> | |
22 <th width="30%">{{"prefnamecol"|translate}}</th> | |
23 <th width="20%">{{"defaultcol"|translate}}</th> | |
24 <th width="50%">{{"descriptioncol"|translate}}</th> | |
25 </tr> | |
26 {% for section in preftable %} | |
27 <tr id="{{ section.id }}"> | |
28 <td class="section" colspan="3">{{ section.title|translate }}</td> | |
29 </tr> | |
30 {% for preference in section.preferences %} | |
31 <tr id="{{ preference.name }}"> | |
32 <td> | |
33 <span>extensions.</span> | |
34 <span>adblockplus.</span> | |
35 <span class="prefname">{{ preference.name }}</span> | |
36 </td> | |
37 {% if preference.default %} | |
38 <td>{{ preference.default }}</td> | |
39 {% else %} | |
40 {% if preference.empty != "false" %} | |
kzar
2015/02/26 19:50:17
So the logic here around preference.empty seemed b
| |
41 <td>{{ preference.empty }}</td> | |
42 {% else %} | |
43 <td> </td> | |
44 {% endif %} | |
45 {% endif %} | |
46 <td>{{ preference.description|translate(None, links[preference.descr iption]) }}</td> | |
Wladimir Palant
2015/02/24 20:19:40
Please allow for multiple description paragraphs,
kzar
2015/02/26 19:50:17
Done.
| |
47 </tr> | |
48 {% endfor %} | |
49 {% endfor %} | |
50 </tbody> | |
51 </table> | |
52 {% endblock %} | |
OLD | NEW |