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

Unified Diff: pages/exceptions/document.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/document.tmpl
diff --git a/pages/exceptions/document.tmpl b/pages/exceptions/document.tmpl
index 04f7aeffa73bc83ad77860c34f8d26f3f2ed4e21..68502404a9527605fc1b84cfc299bbb9e89d4301 100644
--- a/pages/exceptions/document.tmpl
+++ b/pages/exceptions/document.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-document</pre>
- <pre>||testpages.adblockplus.org/testcasefiles/document/*</pre>
- <pre>@@testpages.adblockplus.org/en/exceptions/document^$document</pre>
-</section>
+ <pre>{{ site_url|strip_proto }}##.testcase-ex-document</pre>
+ <pre>||{{ site_url|strip_proto }}/testcasefiles/document/*</pre>
+ <pre>@@{{ site_url|strip_proto }}/en/exceptions/document^$document</pre>
+</section>

Powered by Google App Engine
This is Rietveld