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

Side by Side Diff: includes/preftable.tmpl

Issue 6265373108207616: Issue #1170 adblockplus.org migration from Anwiki to our CMS. (Closed)
Patch Set: Created Sept. 17, 2014, 8:22 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 | « includes/interface.tmpl ('k') | includes/subscriptionList.tmpl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 {% block body %}
2 <table id="preftable">
3 <tbody>
4 <tr>
5 <th width="30%">{{"prefnamecol"|translate}}</th>
6 <th width="20%">{{"defaultcol"|translate}}</th>
7 <th width="50%">{{"descriptioncol"|translate}}</th>
8 </tr>
9 {% for section in preftable %}
10 <tr id="{{ section.id }}">
11 <td class="section" colspan="3">{{ section.title |translate }}</td>
12 </tr>
13 {% for preference in section.preferences %}
14 <tr id="{{ preference.name }}">
15 <td>
16 <span>extensions.</span>
17 <span>adblockplus.</span>
18 <span class="prefname">{{ preference.name }}</span>
19 </td>
20 {% if preference.default %}
21 <td>{{ preference.default }}</td>
22 {% else %}
23 {% if preference.empty != "false" %}
24 <td>{{ preference.empty }}</td>
25 {% else %}
26 <td>&nbsp</td>
27 {% endif %}
28 {% endif %}
29 <td>{{ preference.description |translate(None, links[preference.desc ription])|unescape|safe }}</td>
30 </tr>
31 {% endfor %}
32 {% endfor %}
33 </tbody>
34 </table>
35 {% endblock %}
OLDNEW
« no previous file with comments | « includes/interface.tmpl ('k') | includes/subscriptionList.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld