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

Side by Side Diff: templates/interface.tmpl

Issue 6021528219025408: Issue #1170 More progress migrating adblockplus.org to our CMS. (Closed)
Patch Set: Created Sept. 1, 2014, 10:45 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 | « templates/default.tmpl ('k') | templates/preftable.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 {% extends "templates/default" %}
2
3 {% block body %}
4 <h2>{{ "general_notes" |translate }}</h2>
5
6 {{body|safe}}
7
8 <h2>{{ "methods_and_properties" |translate }}</h2>
9 <ul>
10 {% for i in range(0, 100) %}
11 {% if ("property%dname" % i) in localedata %}
12 <li>
13 {{ ("property%dmodifier" % i) |translate }} {{ ("property%dtype" % i) |translate }}
14 <a href="#prop_{{ ("property%dname" % i) |translate }}" class="propnam e">{{ ("property%dname" % i) |translate }}</a>
15 </li>
16 {% endif %}
17 {% endfor %}
18 {% for i in range(0, 100) %}
19 {% if ("method%dname" % i) in localedata %}
20 <li>
21 {{ ("method%dreturn_type" % i) |translate }}
22 <a href="#method_{{ ("method%dname" % i) |translate }}" class="methodn ame">{{ ("method%dname" % i) |translate }}</a>
23 (
24 {% for j in range(0, 100) %}
25 {% if ("method%dargument%dname" % (i, j)) in localedata %}
26 {{ ("method%dargument%dtype" % (i, j)) |translate }} {{ ("method%d argument%dname" % (i, j))|translate }}
27 {%- if ("method%dargument%dname" % (i, j + 1)) in localedata %},{% endif %}
28 {% endif %}
29 {% endfor %}}
30 )
31 </li>
32 {% endif %}
33 {% endfor %}
34 </ul>
35
36 {% for i in range(0, 100) %}
37 {% if ("property%dname" % i) in localedata %}
38 <hr>
39 <p id="prop_{{ ("property%dname" % i) |translate }}">
40 {{ ("property%dmodifier" % i) |translate }} {{ ("property%dtype" % i) |t ranslate }}
41 <span class="propname">{{ ("property%dname" % i) |translate }}</span>
42 </p>
43 <p>{{ ("property%ddescription" % i)|translate|unescape|safe }}</p>
44 {% endif %}
45 {% endfor %}
46
47 {% for i in range(0, 100) %}
48 {% if ("method%dname" % i) in localedata %}
49 <hr>
50 <p id="method_{{ ("method%dname" % i) |translate }}">
51 {% if ("method%dreturn_type" % i) |translate|truncate(1, True, "") == "I " %}
52 {{ ("method%dreturn_type" % i) |translate|linkify }}
53 {{ ("method%dreturn_type" % i) |translate }}
54 </a>
55 {% else %}
56 {{ ("method%dreturn_type" % i) |translate }}
57 {% endif %}
58 <span class="methodname">{{ ("method%dname" % i) |translate }}</span>
59 (
60 {% for j in range(0, 100) %}
61 {% if ("method%dargument%dname" % (i, j)) in localedata %}
62 {{ ("method%dargument%dtype" % (i, j))|translate }} {{ ("method%darg ument%dname" % (i, j))|translate }}
63 {%- if ("method%dargument%dname" % (i, j + 1)) in localedata %},{% e ndif %}
64 {% endif %}
65 {% endfor %}
66 )
67 </p>
68 {{ ("method%ddescription" % i) |translate | unescape | safe }}
69 {% endif %}
70 {% endfor %}
71 {% endblock %}
OLDNEW
« no previous file with comments | « templates/default.tmpl ('k') | templates/preftable.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld