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: 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/abp-testcase-subscription.txt.tmpl ('k') | pages/exceptions/element-hiding.tmpl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pages/exceptions/document.tmpl
diff --git a/pages/exceptions/document.tmpl b/pages/exceptions/document.tmpl
index 04f7aeffa73bc83ad77860c34f8d26f3f2ed4e21..f50f8a09961e40dde0775175df03f0b379c76100 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|domain }}##.testcase-ex-document</pre>
+ <pre>||{{ site_url|strip_proto }}/testcasefiles/document/*</pre>
+ <pre>@@{{ site_url|strip_proto }}/en/exceptions/document^$document</pre>
+</section>
« no previous file with comments | « pages/abp-testcase-subscription.txt.tmpl ('k') | pages/exceptions/element-hiding.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld