OLD | NEW |
(Empty) | |
| 1 {% extends "templates/default" %} |
| 2 |
| 3 {% block body %} |
| 4 {{body|safe}} |
| 5 |
| 6 <table id="preftable"> |
| 7 <tbody> |
| 8 <tr> |
| 9 <th width="30%">{{"prefnamecol"|translate}}</th> |
| 10 <th width="20%">{{"defaultcol"|translate}}</th> |
| 11 <th width="50%">{{"descriptioncol"|translate}}</th> |
| 12 </tr> |
| 13 {% for i in range(0, 100) %} |
| 14 {% if ("section%did" % i) in localedata %} |
| 15 <tr id="{{ ("section%did" % i) |translate }}"> |
| 16 <td class="section" colspan="3">{{ ("section%dtitle" % i) |translate
}}</td> |
| 17 </tr> |
| 18 {% for j in range(0, 100) %} |
| 19 {% if ("section%dpreference%dname" % (i, j)) in localedata %} |
| 20 <tr id="{{ ("section%dpreference%dname" % (i, j)) |translate }}"> |
| 21 <td> |
| 22 <span>extensions.</span> |
| 23 <span>adblockplus.</span> |
| 24 <span class="prefname">{{ ("section%dpreference%dname" % (i, j
)) |translate }}</span> |
| 25 </td> |
| 26 {% if ("section%dpreference%ddefault" % (i, j)) in localedata %} |
| 27 <td>{{ ("section%dpreference%ddefault" % (i, j)) |translate }}
</td> |
| 28 {% else %} |
| 29 {% if ("section%dpreference%dempty" % (i, j)) |translate != "f
alse" %} |
| 30 <td>{{ ("section%dpreference%dempty" % (i, j)) |translate }}
</td> |
| 31 {% else %} |
| 32 <td> </td> |
| 33 {% endif %} |
| 34 {% endif %} |
| 35 <td>{{ ("section%dpreference%ddescription" % (i, j)) |translate|
unescape|safe }}</td> |
| 36 </tr> |
| 37 {% endif %} |
| 38 {% endfor %} |
| 39 {% endif %} |
| 40 {% endfor %} |
| 41 </tbody> |
| 42 </table> |
| 43 {% endblock %} |
OLD | NEW |