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

Unified Diff: pages/exceptions/stylesheet.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/stylesheet.tmpl
diff --git a/pages/exceptions/stylesheet.tmpl b/pages/exceptions/stylesheet.tmpl
index 58731f6431b1ad97cef46d2d7603d0660ec01a79..093e99a69dc47bb9d45d9e61d27086230bb2f8ea 100644
--- a/pages/exceptions/stylesheet.tmpl
+++ b/pages/exceptions/stylesheet.tmpl
@@ -26,6 +26,6 @@ template = testcase
</div>
</div>
<h3>Filters</h3>
- <pre>||testpages.adblockplus.org/testcasefiles/stylesheetexception/*</pre>
- <pre>@@testpages.adblockplus.org/testcasefiles/stylesheetexception/$stylesheet</pre>
+ <pre>||{{ site_url|strip_proto }}/testcasefiles/stylesheetexception/*</pre>
+ <pre>@@{{ site_url|strip_proto }}/testcasefiles/stylesheetexception/$stylesheet</pre>
</section>

Powered by Google App Engine
This is Rietveld