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

Unified Diff: pages/filters/element-hiding.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/blocking.tmpl ('k') | pages/filters/element-hiding-emulation.tmpl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pages/filters/element-hiding.tmpl
diff --git a/pages/filters/element-hiding.tmpl b/pages/filters/element-hiding.tmpl
index 3afeda78327affd1191f9e693ba0f1768c6a172d..6e3b93914536b9a89fb1497dcf4045975ac8eec7 100644
--- a/pages/filters/element-hiding.tmpl
+++ b/pages/filters/element-hiding.tmpl
@@ -18,7 +18,7 @@ template = testcase
<div class="testcase-content stripes-grey">Content</div>
</div>
<h3>Filters</h3>
- <pre>testpages.adblockplus.org###testcase-eh-id</pre>
+ <pre>{{ site_url|domain }}###testcase-eh-id</pre>
</section>
<section class="site-panel">
@@ -28,7 +28,7 @@ template = testcase
<div class="testcase-content stripes-grey">Content</div>
</div>
<h3>Filters</h3>
- <pre>testpages.adblockplus.org##.testcase-eh-class</pre>
+ <pre>{{ site_url|domain }}##.testcase-eh-class</pre>
</section>
<section class="site-panel">
@@ -38,7 +38,7 @@ template = testcase
<div class="testcase-content stripes-grey">Content</div>
</div>
<h3>Filters</h3>
- <pre>testpages.adblockplus.org##.testcase-container > .testcase-eh-descendant</pre>
+ <pre>{{ site_url|domain }}##.testcase-container > .testcase-eh-descendant</pre>
</section>
<section class="site-panel">
@@ -49,7 +49,7 @@ template = testcase
<div class="testcase-content stripes-grey">Content</div>
</div>
<h3>Filters</h3>
- <pre>testpages.adblockplus.org##.testcase-eh-sibling + .testcase-eh-sibling-target</pre>
+ <pre>{{ site_url|domain }}##.testcase-eh-sibling + .testcase-eh-sibling-target</pre>
</section>
<section class="site-panel">
@@ -61,7 +61,7 @@ template = testcase
<div class="testcase-content stripes-grey">Content</div>
</div>
<h3>Filters</h3>
- <pre>testpages.adblockplus.org##table[height="100"][width="100"]</pre>
+ <pre>{{ site_url|domain }}##table[height="100"][width="100"]</pre>
</section>
<section class="site-panel">
@@ -71,7 +71,7 @@ template = testcase
<div class="testcase-content stripes-grey">Content</div>
</div>
<h3>Filters</h3>
- <pre>testpages.adblockplus.org##a[href="http://testcase-attribute.com/"]</pre>
+ <pre>{{ site_url|domain }}##a[href="http://testcase-attribute.com/"]</pre>
</section>
@@ -82,7 +82,7 @@ template = testcase
<div class="testcase-content stripes-grey">Content</div>
</div>
<h3>Filters</h3>
- <pre>testpages.adblockplus.org##div[style="width:199px;height:51px;"]</pre>
+ <pre>{{ site_url|domain }}##div[style="width:199px;height:51px;"]</pre>
</section>
<section class="site-panel">
@@ -92,7 +92,7 @@ template = testcase
<div class="testcase-content stripes-grey">Content</div>
</div>
<h3>Filters</h3>
- <pre>testpages.adblockplus.org##a[href^="http://testcase-attributestartswith.com/"]</pre>
+ <pre>{{ site_url|domain }}##a[href^="http://testcase-attributestartswith.com/"]</pre>
</section>
@@ -103,7 +103,7 @@ template = testcase
<div class="testcase-content stripes-grey">Content</div>
</div>
<h3>Filters</h3>
- <pre>testpages.adblockplus.org##div[style^="width:201px;height:51px;"]</pre>
+ <pre>{{ site_url|domain }}##div[style^="width:201px;height:51px;"]</pre>
</section>
<section class="site-panel">
@@ -113,7 +113,7 @@ template = testcase
<div class="testcase-content stripes-grey">Content</div>
</div>
<h3>Filters</h3>
- <pre>testpages.adblockplus.org##div[style$="width:202px;height:51px;"]</pre>
+ <pre>{{ site_url|domain }}##div[style$="width:202px;height:51px;"]</pre>
</section>
<section class="site-panel">
@@ -123,5 +123,5 @@ template = testcase
<div class="testcase-content stripes-grey">Content</div>
</div>
<h3>Filters</h3>
- <pre>testpages.adblockplus.org##div[style*="width:203px;height:51px;"]</pre>
-</section>
+ <pre>{{ site_url|domain }}##div[style*="width:203px;height:51px;"]</pre>
+</section>
« no previous file with comments | « pages/filters/blocking.tmpl ('k') | pages/filters/element-hiding-emulation.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld