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

Side by Side Diff: pages/filters/subdocument.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/filters/stylesheet.tmpl ('k') | pages/filters/webrtc.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 = $subdocument 1 title = $subdocument
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 <section class="site-panel"> 8 <section class="site-panel">
9 <h2>$subdocument</h2> 9 <h2>$subdocument</h2>
10 <p>Check that usage of the $subdocument filter option works as expected.</p> 10 <p>Check that usage of the $subdocument filter option works 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 subdocuments/frames in each test case panel should be blocked but the images should not.</p> 11 <p>With the filter displayed below each test case added to ABP (or with the te stcase subscription installed and active), the subdocuments/frames in each test case panel should be blocked but the images should not.</p>
12 </section> 12 </section>
13 13
14 <section class="site-panel"> 14 <section class="site-panel">
15 <h2>Test case</h2> 15 <h2>Test case</h2>
16 <div class="testcase-container"> 16 <div class="testcase-container">
17 <div class="testcase-row"> 17 <div class="testcase-row">
18 <h3>Subdocument</h3><iframe src="/testcasefiles/subdocument/frame.html" cl ass="blocked"></iframe> 18 <h3>Subdocument</h3><iframe src="/testcasefiles/subdocument/frame.html" cl ass="blocked"></iframe>
19 </div> 19 </div>
20 <div class="testcase-row"> 20 <div class="testcase-row">
21 <h3>Image</h3><img class="testcase-image" src="/testcasefiles/subdocument/ image.jpg"/> 21 <h3>Image</h3><img class="testcase-image" src="/testcasefiles/subdocument/ image.jpg"/>
22 </div> 22 </div>
23 </div> 23 </div>
24 <h3>Filters</h3> 24 <h3>Filters</h3>
25 <pre>testpages.adblockplus.org/testcasefiles/subdocument/$subdocument</pre> 25 <pre>{{ site_url|strip_proto }}/testcasefiles/subdocument/$subdocument</pre>
26 </section> 26 </section>
OLDNEW
« no previous file with comments | « pages/filters/stylesheet.tmpl ('k') | pages/filters/webrtc.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld