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

Side by Side Diff: pages/requirements.tmpl

Issue 6702768332996608: Issue 2432 - Auto-generate browser versions on requirements page (Closed)
Patch Set: Addressed comments Created May 13, 2015, 6:18 p.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 | « globals/get_browser_versions.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 {{s1 Adblock Plus is a platform-independent extension, which means that it can be installed on any 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 operating system provided that a host application is available.}} {{s2 Support ed 19 {{ "Supported programs and versions are listed below."|translate("s2") }}
7 programs and versions are listed below.}}
8 </p> 20 </p>
9 21
10 <h2 id="firefox">Firefox</h2> 22 {% set firefox_versions = get_browser_versions("firefox") -%}
23 {{ browser_versions("Firefox", "firefox", firefox_versions) }}
11 24
12 <ul> 25 {{ browser_versions("Google Chrome", "chrome") }}
13 <li>Firefox 36</li>
14 <li>Firefox 37</li>
15 <li>{{s3 <fix>Firefox 38</fix>: Using <a href="development-builds">Adblock Plu s development
16 builds</a> is recommended.}}</li>
17 <li>{{s3 <fix>Firefox 39</fix>: Using <a href="development-builds">Adblock Plu s development
18 builds</a> is recommended.}}</li>
19 <li>{{s3 <fix>Firefox 40</fix>: Using <a href="development-builds">Adblock Plu s development
20 builds</a> is recommended.}}</li>
21 </ul>
22 26
23 <h2 id="chrome">Google Chrome</h2> 27 {{ browser_versions("Opera", "opera") }}
24 28
25 <ul> 29 <h2 id="safari">Safari</h2>
26 <li>Google Chrome 41</li>
27 <li>Google Chrome 42</li>
28 <li>Google Chrome 43</li>
29 <li>Google Chrome 44</li>
30 </ul>
31
32 <h2 id="opera">Opera</h2>
33
34 <ul>
35 <li>Opera 28</li>
36 <li>Opera 29</li>
37 <li>Opera 30</li>
38 <li>Opera 31</li>
39 </ul>
40
41 <h2 id="opera">Safari</h2>
42
43 <ul> 30 <ul>
44 <li>Safari 6.0</li> 31 <li>Safari 6.0</li>
45 <li>Safari 6.1</li> 32 <li>Safari 6.1</li>
46 <li>Safari 7.0</li> 33 <li>Safari 7.0</li>
47 <li>Safari 8.0</li> 34 <li>Safari 8.0</li>
48 </ul> 35 </ul>
49 36
50 <h2 id="internet-explorer">Internet Explorer</h2> 37 <h2 id="internet-explorer">Internet Explorer</h2>
51
52 <ul> 38 <ul>
53 <li>Internet Explorer 8</li> 39 <li>Internet Explorer 8</li>
54 <li>Internet Explorer 9</li> 40 <li>Internet Explorer 9</li>
55 <li>Internet Explorer 10</li> 41 <li>Internet Explorer 10</li>
56 <li>Internet Explorer 11</li> 42 <li>Internet Explorer 11</li>
57 </ul> 43 </ul>
58 44
59 <h2 id="thunderbird">Yandex.Browser</h2> 45 {{ browser_versions("Yandex.Browser", "yandex") }}
60 46
61 <ul> 47 {{ browser_versions("Firefox Mobile", "fennec", firefox_versions) }}
62 <li>Yandex.Browser 15.2</li>
63 <li>Yandex.Browser 15.4</li>
64 </ul>
65 48
66 <h2 id="fennec">Firefox Mobile (Fennec)</h2> 49 {{ browser_versions("SeaMonkey", "seamonkey") }}
67 50
68 <ul> 51 {{ browser_versions("Thunderbird", "thunderbird") }}
69 <li>Firefox Mobile 36</li>
70 <li>Firefox Mobile 37</li>
71 <li>{{s3 <fix>Firefox Mobile 38</fix>: Using <a href="development-builds">Adbl ock Plus development
72 builds</a> is recommended.}}</li>
73 <li>{{s3 <fix>Firefox Mobile 39</fix>: Using <a href="development-builds">Adbl ock Plus development
74 builds</a> is recommended.}}</li>
75 <li>{{s3 <fix>Firefox Mobile 40</fix>: Using <a href="development-builds">Adbl ock Plus development
76 builds</a> is recommended.}}</li>
77 </ul>
78
79 <h2 id="seamonkey">SeaMonkey</h2>
80
81 <ul>
82 <li>SeaMonkey 2.33</li>
83 <li>SeaMonkey 2.34</li>
84 <li>{{s3 <fix>SeaMonkey 2.35</fix>: Using <a href="development-builds">Adblock Plus development
85 builds</a> is recommended.}}</li>
86 <li>{{s3 <fix>SeaMonkey 2.36</fix>: Using <a href="development-builds">Adblock Plus development
87 builds</a> is recommended.}}</li>
88 <li>{{s3 <fix>SeaMonkey 2.37</fix>: Using <a href="development-builds">Adblock Plus development
89 builds</a> is recommended.}}</li>
90 </ul>
91
92 <h2 id="thunderbird">Thunderbird</h2>
93
94 <ul>
95 <li>Thunderbird 31</li>
96 <li>{{s3 <fix>Thunderbird 38</fix>: Using <a href="development-builds">Adblock Plus development
97 builds</a> is recommended.}}</li>
98 <li>{{s3 <fix>Thunderbird 39</fix>: Using <a href="development-builds">Adblock Plus development
99 builds</a> is recommended.}}</li>
100 <li>{{s3 <fix>Thunderbird 40</fix>: Using <a href="development-builds">Adblock Plus development
101 builds</a> is recommended.}}</li>
102 </ul>
OLDNEW
« no previous file with comments | « globals/get_browser_versions.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld