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: 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/filters/element-hiding.tmpl
diff --git a/pages/filters/element-hiding.tmpl b/pages/filters/element-hiding.tmpl
index 3afeda78327affd1191f9e693ba0f1768c6a172d..d7e6dce407236ec3a13b43892f80dcf2a7b79f59 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|strip_proto }}###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|strip_proto }}##.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|strip_proto }}##.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|strip_proto }}##.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|strip_proto }}##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|strip_proto }}##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|strip_proto }}##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|strip_proto }}##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|strip_proto }}##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|strip_proto }}##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|strip_proto }}##div[style*="width:203px;height:51px;"]</pre>
+</section>

Powered by Google App Engine
This is Rietveld