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

Delta Between Two Patch Sets: pages/requirements.tmpl

Issue 6702768332996608: Issue 2432 - Auto-generate browser versions on requirements page (Closed)
Left Patch Set: Created April 29, 2015, 1:16 p.m.
Right Patch Set: Removed build ID an try-block for SeaMonkey Aurora and Nightly Created May 15, 2015, 10:19 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « globals/get_browser_versions.py ('k') | no next file » | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 title=Adblock Plus system requirements 1 title=Adblock Plus system requirements
2 2
3 {%- macro browser_versions(browser_name, internal_name, versions) %}
4 <h2 id="{{ internal_name }}">{{ browser_name }}</h2>
5 <ul>
6 {%- set versions = versions or get_browser_versions(internal_name) %}
7 {%- if versions.previous %}
8 <li>{{ browser_name }} {{ versions.previous }}</li>
9 {%- endif %}
10 <li>{{ browser_name }} {{ versions.current }}</li>
11 {%- for version in versions.unreleased %}
12 <li>{{ browser_name }} {{ version }}{{ ': Using <a href="development-builds">A dblock Plus development builds</a> is recommended.'|translate("s3") }}</li>
13 {%- endfor %}
14 </ul>
15 {%- endmacro %}
3 16
4 <p> 17 <p>
5 {{ "Adblock Plus is a platform-independent extension, which means that it can be installed on any operating system provided that a host application is availab le."|translate("s1") }} 18 {{ "Adblock Plus is a platform-independent extension, which means that it can be installed on any operating system provided that a host application is availab le."|translate("s1") }}
6 {{ "Supported programs and versions are listed below."|translate("s2") }} 19 {{ "Supported programs and versions are listed below."|translate("s2") }}
7 </p> 20 </p>
8 21
9 <h2 id="firefox">Firefox</h2> 22 {% set firefox_versions = get_browser_versions("firefox") -%}
23 {{ browser_versions("Firefox", "firefox", firefox_versions) }}
10 24
11 <ul> 25 {{ browser_versions("Google Chrome", "chrome") }}
12 <li>Firefox 36</li>
13 <li>Firefox 37</li>
14 <li>Firefox 38{{ ': Using <a href="development-builds">Adblock Plus developmen t builds</a> is recommended.'|translate("s3") }}</li>
15 <li>Firefox 39{{ ': Using <a href="development-builds">Adblock Plus developmen t builds</a> is recommended.'|translate("s3") }}</li>
16 <li>Firefox 40{{ ': Using <a href="development-builds">Adblock Plus developmen t builds</a> is recommended.'|translate("s3") }}</li>
17 </ul>
18 26
19 <h2 id="chrome">Google Chrome</h2> 27 {{ browser_versions("Opera", "opera") }}
20 28
21 <ul> 29 <h2 id="safari">Safari</h2>
22 {%- for version in get_current_browser_versions("chrome") %}
23 <li>Google Chrome {{ version }}</li>
24 {%- endfor %}
25 </ul>
26
27 <h2 id="opera">Opera</h2>
28
29 <ul>
30 {%- for version in get_current_browser_versions("opera") %}
31 <li>Opera {{ version }}</li>
32 {%- endfor %}
33 </ul>
34
35 <h2 id="opera">Safari</h2>
36
37 <ul> 30 <ul>
38 <li>Safari 6.0</li> 31 <li>Safari 6.0</li>
39 <li>Safari 6.1</li> 32 <li>Safari 6.1</li>
40 <li>Safari 7.0</li> 33 <li>Safari 7.0</li>
41 <li>Safari 8.0</li> 34 <li>Safari 8.0</li>
42 </ul> 35 </ul>
43 36
44 <h2 id="internet-explorer">Internet Explorer</h2> 37 <h2 id="internet-explorer">Internet Explorer</h2>
45
46 <ul> 38 <ul>
47 <li>Internet Explorer 8</li> 39 <li>Internet Explorer 8</li>
48 <li>Internet Explorer 9</li> 40 <li>Internet Explorer 9</li>
49 <li>Internet Explorer 10</li> 41 <li>Internet Explorer 10</li>
50 <li>Internet Explorer 11</li> 42 <li>Internet Explorer 11</li>
51 </ul> 43 </ul>
52 44
53 <h2 id="thunderbird">Yandex.Browser</h2> 45 {{ browser_versions("Yandex.Browser", "yandex") }}
54 46
55 <ul> 47 {{ browser_versions("Firefox Mobile", "fennec", firefox_versions) }}
56 {%- for version in get_current_browser_versions("yandex") %}
57 <li>Yandex.Browser {{ version }}</li>
58 {%- endfor %}
59 </ul>
60 48
61 <h2 id="fennec">Firefox Mobile (Fennec)</h2> 49 {{ browser_versions("SeaMonkey", "seamonkey") }}
62 50
63 <ul> 51 {{ browser_versions("Thunderbird", "thunderbird") }}
64 <li>Firefox Mobile 36</li>
65 <li>Firefox Mobile 37</li>
66 <li>Firefox Mobile 38{{ ': Using <a href="development-builds">Adblock Plus dev elopment builds</a> is recommended.'|translate("s3") }}</li>
67 <li>Firefox Mobile 39{{ ': Using <a href="development-builds">Adblock Plus dev elopment builds</a> is recommended.'|translate("s3") }}</li>
68 <li>Firefox Mobile 40{{ ': Using <a href="development-builds">Adblock Plus dev elopment builds</a> is recommended.'|translate("s3") }}</li>
69 </ul>
70
71 <h2 id="seamonkey">SeaMonkey</h2>
72
73 <ul>
74 <li>SeaMonkey 2.32</li>
75 <li>SeaMonkey 2.33</li>
76 <li>SeaMonkey 2.34{{ ': Using <a href="development-builds">Adblock Plus develo pment builds</a> is recommended.'|translate("s3") }}</li>
77 <li>SeaMonkey 2.35{{ ': Using <a href="development-builds">Adblock Plus develo pment builds</a> is recommended.'|translate("s3") }}</li>
78 <li>SeaMonkey 2.36{{ ': Using <a href="development-builds">Adblock Plus develo pment builds</a> is recommended.'|translate("s3") }}</li>
79 </ul>
80
81 <h2 id="thunderbird">Thunderbird</h2>
82
83 <ul>
84 <li>Thunderbird 31</li>
85 <li>Thunderbird 37{{ ': Using <a href="development-builds">Adblock Plus develo pment builds</a> is recommended.'|translate("s3") }}</li>
86 <li>Thunderbird 38{{ ': Using <a href="development-builds">Adblock Plus develo pment builds</a> is recommended.'|translate("s3") }}</li>
87 <li>Thunderbird 39{{ ': Using <a href="development-builds">Adblock Plus develo pment builds</a> is recommended.'|translate("s3") }}</li>
88 </ul>
LEFTRIGHT

Powered by Google App Engine
This is Rietveld