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

Unified 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: Use list literals Created Aug. 24, 2017, 12:42 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sitescripts/extensions/template/nightlies.html
===================================================================
--- a/sitescripts/extensions/template/nightlies.html
+++ b/sitescripts/extensions/template/nightlies.html
@@ -23,17 +23,17 @@
<strong>Warning</strong>: The files in this directory are development
builds and as such they have not been fully tested and might not work
properly.
Use them at your own risk, see <a href="https://adblockplus.org/en/development-builds">development builds introduction</a> for more information.
{%if config.galleryID or config.downloadPage -%}
Latest <em>stable {{config.name}} release</em> can be downloaded from
- {% if config.type == 'gecko' and config.galleryID -%}
+ {% if config.type in ['gecko', 'gecko-webext'] and config.galleryID -%}
<a href="https://addons.mozilla.org/addon/{{config.galleryID}}/">Mozilla Add-ons</a>
{%- elif config.type == 'chrome' and config.galleryID -%}
<a href="https://chrome.google.com/webstore/detail/{{config.galleryID}}">Chrome Web Store</a>
{%- else %}
<a href="https://adblockplus.org{{config.downloadPage}}">its installation page</a>
{%- endif -%}
.
{%- endif %}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld