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

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

Issue 29874607: Issue 6769 - Avoid hardcoding the URL (Closed)
Patch Set: Rebased Created Sept. 24, 2018, 1:37 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
« no previous file with comments | « pages/exceptions/xmlhttprequest.tmpl ('k') | pages/filters/element-hiding.tmpl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 title = Blocking 1 title = Blocking
2 template = testcase 2 template = testcase
3 3
4 {% set testcase_moreinfo = [ 4 {% set testcase_moreinfo = [
5 ("Filter Cheatsheet - Blocking", "https://adblockplus.org/filter-cheatsheet#bl ocking"), 5 ("Filter Cheatsheet - Blocking", "https://adblockplus.org/filter-cheatsheet#bl ocking"),
6 ] %} 6 ] %}
7 7
8 <section class="site-panel"> 8 <section class="site-panel">
9 <h2>Blocking</h2> 9 <h2>Blocking</h2>
10 <p>Check that basic blocking functionality is working as expected.</p> 10 <p>Check that basic blocking functionality is working as expected.</p>
11 <p>With the filter displayed below each test case added to ABP (or with the te stcase subscription installed and active), the test images in each test case pan el should be blocked.</p> 11 <p>With the filter displayed below each test case added to ABP (or with the te stcase subscription installed and active), the test images in each test case pan el should be blocked.</p>
12 </section> 12 </section>
13 13
14 <section class="site-panel"> 14 <section class="site-panel">
15 <h2>Complete Address</h2> 15 <h2>Complete Address</h2>
16 <div class="testcase-container"> 16 <div class="testcase-container">
17 <img class="testcase-contentaside blocked" src="/testcasefiles/blocking/addr esscomplete/image.jpg"> 17 <img class="testcase-contentaside blocked" src="/testcasefiles/blocking/addr esscomplete/image.jpg">
18 <div class="testcase-content stripes-grey">Content</div> 18 <div class="testcase-content stripes-grey">Content</div>
19 </div> 19 </div>
20 <h3>Filters</h3> 20 <h3>Filters</h3>
21 <pre>||testpages.adblockplus.org/testcasefiles/blocking/addresscomplete/image. jpg</pre> 21 <pre>||{{ site_url|strip_proto }}/testcasefiles/blocking/addresscomplete/image .jpg</pre>
22 </section> 22 </section>
23 23
24 <section class="site-panel"> 24 <section class="site-panel">
25 <h2>Part Address</h2> 25 <h2>Part Address</h2>
26 <div class="testcase-container"> 26 <div class="testcase-container">
27 <img class="testcase-contentaside blocked" src="/testcasefiles/blocking/addr esspart/abptestcasepath/image.jpg"> 27 <img class="testcase-contentaside blocked" src="/testcasefiles/blocking/addr esspart/abptestcasepath/image.jpg">
28 <div class="testcase-content stripes-grey">Content</div> 28 <div class="testcase-content stripes-grey">Content</div>
29 </div> 29 </div>
30 <h3>Filters</h3> 30 <h3>Filters</h3>
31 <pre>/testcasefiles/blocking/addresspart/abptestcasepath/</pre> 31 <pre>/testcasefiles/blocking/addresspart/abptestcasepath/</pre>
32 </section> 32 </section>
33 33
34 <section class="site-panel"> 34 <section class="site-panel">
35 <h2>Wildcard</h2> 35 <h2>Wildcard</h2>
36 <div class="testcase-container"> 36 <div class="testcase-container">
37 <img class="testcase-contentaside blocked" src="/testcasefiles/blocking/wild card/one/image.jpg"> 37 <img class="testcase-contentaside blocked" src="/testcasefiles/blocking/wild card/one/image.jpg">
38 <img class="testcase-contentaside blocked" src="/testcasefiles/blocking/wild card/two/image.jpg"> 38 <img class="testcase-contentaside blocked" src="/testcasefiles/blocking/wild card/two/image.jpg">
39 <div class="testcase-content stripes-grey">Content</div> 39 <div class="testcase-content stripes-grey">Content</div>
40 </div> 40 </div>
41 <h3>Filters</h3> 41 <h3>Filters</h3>
42 <pre>||testpages.adblockplus.org/testcasefiles/blocking/wildcard/*/image.jpg</ pre> 42 <pre>||{{ site_url|strip_proto }}/testcasefiles/blocking/wildcard/*/image.jpg< /pre>
43 </section> 43 </section>
OLDNEW
« no previous file with comments | « pages/exceptions/xmlhttprequest.tmpl ('k') | pages/filters/element-hiding.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld