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

Unified Diff: pages/exceptions/element-hiding.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/element-hiding.tmpl
diff --git a/pages/exceptions/element-hiding.tmpl b/pages/exceptions/element-hiding.tmpl
index a8d52068750136613407b868982ea9b276d751c4..8e72141c51cf3f84a26d462402629644bb365c4a 100644
--- a/pages/exceptions/element-hiding.tmpl
+++ b/pages/exceptions/element-hiding.tmpl
@@ -18,6 +18,6 @@ template = testcase
<div class="testcase-content stripes-grey">Content</div>
</div>
<h3>Filters</h3>
- <pre>testpages.adblockplus.org##.testcase-ehe</pre>
- <pre>testpages.adblockplus.org#@#.testcase-ehe</pre>
+ <pre>{{ site_url|strip_proto }}##.testcase-ehe</pre>
+ <pre>{{ site_url|strip_proto }}#@#.testcase-ehe</pre>
</section>

Powered by Google App Engine
This is Rietveld