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

Unified Diff: pages/exceptions/elemhide.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/elemhide.tmpl
diff --git a/pages/exceptions/elemhide.tmpl b/pages/exceptions/elemhide.tmpl
index d07168570ae80e16560d027f3d1434e0c467c283..7fe7f61b43f03612c79b3cfa09c1200b57bd9c95 100644
--- a/pages/exceptions/elemhide.tmpl
+++ b/pages/exceptions/elemhide.tmpl
@@ -20,7 +20,7 @@ template = testcase
<div class="testcase-content stripes-grey">Content</div>
</div>
<h3>Filters</h3>
- <pre>testpages.adblockplus.org##.testcase-ex-elemhide</pre>
- <pre>||testpages.adblockplus.org/testcasefiles/elemhide/image.jpg</pre>
- <pre>@@testpages.adblockplus.org/en/exceptions/elemhide^$elemhide</pre>
+ <pre>{{ site_url|strip_proto }}##.testcase-ex-elemhide</pre>
+ <pre>||{{ site_url|strip_proto }}/testcasefiles/elemhide/image.jpg</pre>
+ <pre>@@{{ site_url|strip_proto }}/en/exceptions/elemhide^$elemhide</pre>
</section>

Powered by Google App Engine
This is Rietveld