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

Unified Diff: pages/exceptions/popup.tmpl

Issue 29874607: Issue 6769 - Avoid hardcoding the URL (Closed)
Patch Set: Created Sept. 4, 2018, 4:23 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
Index: pages/exceptions/popup.tmpl
diff --git a/pages/exceptions/popup.tmpl b/pages/exceptions/popup.tmpl
index eee7ce0ee607fcf702787cd7f073c74712bed196..3cf490987f252b0f98bf74c1e7068424eb37f536 100644
--- a/pages/exceptions/popup.tmpl
+++ b/pages/exceptions/popup.tmpl
@@ -24,8 +24,8 @@ function do_popup()
<a href="/en/exceptions/popup" target="_blank">Link popup</a><br><br>
</div>
<h3>Filters</h3>
- <pre>||testpages.adblockplus.org/en/exceptions/popup^$popup</pre>
- <pre>@@||testpages.adblockplus.org/en/exceptions/popup^$popup</pre>
+ <pre>||{{ site_url|strip_proto }}/en/exceptions/popup^$popup</pre>
+ <pre>@@||{{ site_url|strip_proto }}/en/exceptions/popup^$popup</pre>
</section>
<section class="site-panel">
@@ -34,6 +34,6 @@ function do_popup()
<button onclick="do_popup();">window.open() popup</button>
</div>
<h3>Filters</h3>
- ||testpages.adblockplus.org/en/popuptarget^$popup
- @@||testpages.adblockplus.org/en/filters/popup-exception^$popup
-</section>
+ ||{{ site_url|strip_proto }}/en/popuptarget^$popup
+ @@||{{ site_url|strip_proto }}/en/filters/popup-exception^$popup
+</section>

Powered by Google App Engine
This is Rietveld