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

Unified Diff: pages/filters/popup.tmpl

Issue 29874607: Issue 6769 - Avoid hardcoding the URL (Closed)
Patch Set: Rebased Created Sept. 24, 2018, 1:37 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 | « pages/filters/ping.tmpl ('k') | pages/filters/script.tmpl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pages/filters/popup.tmpl
diff --git a/pages/filters/popup.tmpl b/pages/filters/popup.tmpl
index b613ecece8c118b27301bcf506423f6e484f0886..40ec8ed933059b38a0cb497956d5ceb8901edc3c 100644
--- a/pages/filters/popup.tmpl
+++ b/pages/filters/popup.tmpl
@@ -25,7 +25,7 @@ function do_popup()
<a href="/en/popuptarget" target="_blank">Link popup</a><br><br>
</div>
<h3>Filters</h3>
- <pre>||testpages.adblockplus.org/en/popuptarget^$popup</pre>
+ <pre>||{{ site_url|strip_proto }}/en/popuptarget^$popup</pre>
</section>
<section class="site-panel">
@@ -34,5 +34,5 @@ function do_popup()
<button onclick="do_popup();">window.open() popup</button>
</div>
<h3>Filters</h3>
- <pre>||testpages.adblockplus.org/en/popuptarget^$popup</pre>
-</section>
+ <pre>||{{ site_url|strip_proto }}/en/popuptarget^$popup</pre>
+</section>
« no previous file with comments | « pages/filters/ping.tmpl ('k') | pages/filters/script.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld