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

Side by Side Diff: pages/filters/image.tmpl

Issue 29874607: Issue 6769 - Avoid hardcoding the URL (Closed)
Patch Set: Created Sept. 4, 2018, 4:23 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 title = $image 1 title = $image
2 template = testcase 2 template = testcase
3 3
4 {% set testcase_moreinfo = [ 4 {% set testcase_moreinfo = [
5 ("Filter Options", "https://adblockplus.org/filters#options"), 5 ("Filter Options", "https://adblockplus.org/filters#options"),
6 ] %} 6 ] %}
7 7
8 <link rel="stylesheet" href="/testcasefiles/image/stylesheet.css"> 8 <link rel="stylesheet" href="/testcasefiles/image/stylesheet.css">
9 9
10 <section class="site-panel"> 10 <section class="site-panel">
11 <h2>$image</h2> 11 <h2>$image</h2>
12 <p>Check that usage of the $image filter option works as expected.</p> 12 <p>Check that usage of the $image filter option works as expected.</p>
13 <p>With the filter displayed below each test case added to ABP (or with the te stcase subscription installed and active), the images in each test case panel sh ould be blocked but the stylesheets should not.</p> 13 <p>With the filter displayed below each test case added to ABP (or with the te stcase subscription installed and active), the images in each test case panel sh ould be blocked but the stylesheets should not.</p>
14 </section> 14 </section>
15 15
16 <section class="site-panel"> 16 <section class="site-panel">
17 <h2>Test case</h2> 17 <h2>Test case</h2>
18 <p>The image should be blocked. The stylesheet should not be blocked</p> 18 <p>The image should be blocked. The stylesheet should not be blocked</p>
19 <div class="testcase-container"> 19 <div class="testcase-container">
20 <div class="testcase-row"> 20 <div class="testcase-row">
21 <h3>Image</h3><img src="/testcasefiles/image/image.jpg" class="blocked"/> 21 <h3>Image</h3><img src="/testcasefiles/image/image.jpg" class="blocked"/>
22 </div> 22 </div>
23 <div class="testcase-row"> 23 <div class="testcase-row">
24 <h3>Stylesheet</h3><div class="testcase-teststylesheet"></div> 24 <h3>Stylesheet</h3><div class="testcase-teststylesheet"></div>
25 </div> 25 </div>
26 </div> 26 </div>
27 <h3>Filters</h3> 27 <h3>Filters</h3>
28 <pre>testpages.adblockplus.org/testcasefiles/image/$image</pre> 28 <pre>{{ site_url|strip_proto }}/testcasefiles/image/$image</pre>
29 </section> 29 </section>
OLDNEW

Powered by Google App Engine
This is Rietveld