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

Unified Diff: pages/filters/element-hiding-emulation.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/filters/element-hiding.tmpl ('k') | pages/filters/image.tmpl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pages/filters/element-hiding-emulation.tmpl
diff --git a/pages/filters/element-hiding-emulation.tmpl b/pages/filters/element-hiding-emulation.tmpl
index 267b76da1b118c7f4ca6bb2980366bf9937a4a87..79cc4bc3fd151cebcbccb749a6739804ceaae217 100644
--- a/pages/filters/element-hiding-emulation.tmpl
+++ b/pages/filters/element-hiding-emulation.tmpl
@@ -18,7 +18,7 @@ template = testcase
<div class="testcase-content stripes-grey">Content</div>
</div>
<h3>Filters</h3>
- <pre>testpages.adblockplus.org#?#div:-abp-properties(width: 213px)</pre>
+ <pre>{{ site_url|domain }}#?#div:-abp-properties(width: 213px)</pre>
</section>
<section class="site-panel">
@@ -33,7 +33,7 @@ template = testcase
<div class="testcase-content stripes-grey">Content</div>
</div>
<h3>Filters</h3>
- <pre>testpages.adblockplus.org#?#div:-abp-has(>div>img.testcase-es-has)</pre>
+ <pre>{{ site_url|domain }}#?#div:-abp-has(>div>img.testcase-es-has)</pre>
</section>
@@ -44,7 +44,7 @@ template = testcase
<div class="testcase-content stripes-grey">Content</div>
</div>
<h3>Filters</h3>
- <pre>testpages.adblockplus.org#?#span:-abp-contains(ESContainsTarget)</pre>
+ <pre>{{ site_url|domain }}#?#span:-abp-contains(ESContainsTarget)</pre>
</section>
<section class="site-panel">
@@ -56,7 +56,7 @@ template = testcase
<div class="testcase-content stripes-grey">Content</div>
</div>
<h3>Filters</h3>
- <pre>testpages.adblockplus.org#?#div:-abp-has(> div:-abp-properties(width: 214px))</pre>
+ <pre>{{ site_url|domain }}#?#div:-abp-has(> div:-abp-properties(width: 214px))</pre>
</section>
@@ -67,7 +67,7 @@ template = testcase
<div class="testcase-content stripes-grey">Content</div>
</div>
<h3>Filters</h3>
- <pre>testpages.adblockplus.org#?#div:-abp-properties(WiDtH: 215px)</pre>
+ <pre>{{ site_url|domain }}#?#div:-abp-properties(WiDtH: 215px)</pre>
</section>
<section class="site-panel">
@@ -77,7 +77,7 @@ template = testcase
<div class="testcase-content stripes-grey">Content</div>
</div>
<h3>Filters</h3>
- <pre>testpages.adblockplus.org#?#div:-abp-properties(cursor:*)</pre>
+ <pre>{{ site_url|domain }}#?#div:-abp-properties(cursor:*)</pre>
</section>
<section class="site-panel">
@@ -89,7 +89,7 @@ template = testcase
<div class="testcase-content stripes-grey">Content</div>
</div>
<h3>Filters</h3>
- <pre>testpages.adblockplus.org#?#div:-abp-properties(/width: 12[1-5]px;/)</pre>
+ <pre>{{ site_url|domain }}#?#div:-abp-properties(/width: 12[1-5]px;/)</pre>
</section>
@@ -102,5 +102,5 @@ template = testcase
<div class="testcase-content stripes-grey">Content</div>
</div>
<h3>Filters</h3>
- <pre>testpages.adblockplus.org#?#div > div:-abp-contains(/ESContainsRegEx\d/)</pre>
+ <pre>{{ site_url|domain }}#?#div > div:-abp-contains(/ESContainsRegEx\d/)</pre>
</section>
« no previous file with comments | « pages/filters/element-hiding.tmpl ('k') | pages/filters/image.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld