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

Side by Side Diff: sitescripts/extensions/template/nightlies.html

Issue 29526599: Noissue - Fix download link for new Adblock Plus for Firefox builds (Closed) Base URL: https://hg.adblockplus.org/sitescripts/
Patch Set: Fix it properly this time Created Aug. 24, 2017, 12:26 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 | « no previous file | 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 <!-- 1 <!--
2 - This file is part of the Adblock Plus web scripts, 2 - This file is part of the Adblock Plus web scripts,
3 - Copyright (C) 2006-present eyeo GmbH 3 - Copyright (C) 2006-present eyeo GmbH
4 - 4 -
5 - Adblock Plus is free software: you can redistribute it and/or modify 5 - Adblock Plus is free software: you can redistribute it and/or modify
6 - it under the terms of the GNU General Public License version 3 as 6 - it under the terms of the GNU General Public License version 3 as
7 - published by the Free Software Foundation. 7 - published by the Free Software Foundation.
8 - 8 -
9 - Adblock Plus is distributed in the hope that it will be useful, 9 - Adblock Plus is distributed in the hope that it will be useful,
10 - but WITHOUT ANY WARRANTY; without even the implied warranty of 10 - but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 10 matching lines...) Expand all
21 21
22 <p style="border: 1px solid black; background-color: #FEE; color: #000; margin-l eft: 5px; margin-right: 5px; padding: 5px;"> 22 <p style="border: 1px solid black; background-color: #FEE; color: #000; margin-l eft: 5px; margin-right: 5px; padding: 5px;">
23 <strong>Warning</strong>: The files in this directory are development 23 <strong>Warning</strong>: The files in this directory are development
24 builds and as such they have not been fully tested and might not work 24 builds and as such they have not been fully tested and might not work
25 properly. 25 properly.
26 26
27 Use them at your own risk, see <a href="https://adblockplus.org/en/development -builds">development builds introduction</a> for more information. 27 Use them at your own risk, see <a href="https://adblockplus.org/en/development -builds">development builds introduction</a> for more information.
28 28
29 {%if config.galleryID or config.downloadPage -%} 29 {%if config.galleryID or config.downloadPage -%}
30 Latest <em>stable {{config.name}} release</em> can be downloaded from 30 Latest <em>stable {{config.name}} release</em> can be downloaded from
31 {% if config.type == 'gecko' and config.galleryID -%} 31 {% if (config.type == 'gecko' or config.type == 'gecko-webext') and config.gal leryID -%}
Sebastian Noack 2017/08/24 12:31:08 Right, set literals are not supported in jinja2, h
Wladimir Palant 2017/08/24 12:43:09 Done.
32 <a href="https://addons.mozilla.org/addon/{{config.galleryID}}/">Mozilla Add -ons</a> 32 <a href="https://addons.mozilla.org/addon/{{config.galleryID}}/">Mozilla Add -ons</a>
33 {%- elif config.type == 'chrome' and config.galleryID -%} 33 {%- elif config.type == 'chrome' and config.galleryID -%}
34 <a href="https://chrome.google.com/webstore/detail/{{config.galleryID}}">Chr ome Web Store</a> 34 <a href="https://chrome.google.com/webstore/detail/{{config.galleryID}}">Chr ome Web Store</a>
35 {%- else %} 35 {%- else %}
36 <a href="https://adblockplus.org{{config.downloadPage}}">its installation pa ge</a> 36 <a href="https://adblockplus.org{{config.downloadPage}}">its installation pa ge</a>
37 {%- endif -%} 37 {%- endif -%}
38 . 38 .
39 {%- endif %} 39 {%- endif %}
40 </p> 40 </p>
41 41
42 <h2>Development build listing for {{config.name}}</h2> 42 <h2>Development build listing for {{config.name}}</h2>
43 <hr /> 43 <hr />
44 <table border="0" cellspacing="10"> 44 <table border="0" cellspacing="10">
45 {%- for link in links %} 45 {%- for link in links %}
46 <tr{%if loop.first%} style="font-weight: bold;"{%endif%}> 46 <tr{%if loop.first%} style="font-weight: bold;"{%endif%}>
47 <td> 47 <td>
48 <a href="{{link.download}}">{{config.name}} {{link.version}}</a> 48 <a href="{{link.download}}">{{config.name}} {{link.version}}</a>
49 {%- if link.changelog %} 49 {%- if link.changelog %}
50 <a href="{{link.changelog}}"> (changelog)</a> 50 <a href="{{link.changelog}}"> (changelog)</a>
51 {%- endif %} 51 {%- endif %}
52 </td> 52 </td>
53 <td>{{link.mtime|formattime}}</td> 53 <td>{{link.mtime|formattime}}</td>
54 <td>{{link.size|bytes}}</td> 54 <td>{{link.size|bytes}}</td>
55 </tr> 55 </tr>
56 {%- endfor %} 56 {%- endfor %}
57 </table> 57 </table>
58 <hr /> 58 <hr />
59 </body> 59 </body>
60 </html> 60 </html>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld