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: Fixed some mistakes Created Sept. 5, 2018, 4:59 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/element-hiding.tmpl ('k') | pages/exceptions/image.tmpl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pages/exceptions/elemhide.tmpl
diff --git a/pages/exceptions/elemhide.tmpl b/pages/exceptions/elemhide.tmpl
index d07168570ae80e16560d027f3d1434e0c467c283..bfaa63edf1e4ad4e89a32db186f4646736d8a3ea 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|domain }}##.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>
« no previous file with comments | « pages/exceptions/element-hiding.tmpl ('k') | pages/exceptions/image.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld