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: 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/exceptions/image.tmpl ('k') | pages/exceptions/script.tmpl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pages/exceptions/popup.tmpl
diff --git a/pages/exceptions/popup.tmpl b/pages/exceptions/popup.tmpl
index 2efc137335babe87f7db3d1ec7cf0fda0a4ee47e..cd8c2735a6ebb169c7a1b78b062ac3e80f62a8dd 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>
- <pre>||testpages.adblockplus.org/en/popuptarget^$popup</pre>
- <pre>@@||testpages.adblockplus.org/en/filters/popup-exception^$popup</pre>
+ <pre>||{{ site_url|strip_proto }}/en/popuptarget^$popup</pre>
+ <pre>@@||{{ site_url|strip_proto }}/en/filters/popup-exception^$popup</pre>
</section>
« no previous file with comments | « pages/exceptions/image.tmpl ('k') | pages/exceptions/script.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld