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

Side by Side Diff: pages/uninstalled.tmpl

Issue 29721785: Fixes #29 - Moved reinstall banner below heading on uninstalled pages (Closed) Base URL: https://hg.adblockplus.org/web.adblockplus.org
Patch Set: Adjusted spacing and refactored button to accomodate other languages Created March 13, 2018, 9:42 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=Adblock Plus has been uninstalled 1 title=Adblock Plus has been uninstalled
2 template=minimal 2 template=minimal
3 3
4 {% set reasons = [ 4 {% set reasons = [
5 ("1v0", "reason-not-installed", "I didn't install Adblock Plus.", ""), 5 ("1v0", "reason-not-installed", "I didn't install Adblock Plus.", ""),
6 ("2v0", "reason-slowing-down", "Adblock Plus slowed down my browser.", ""), 6 ("2v0", "reason-slowing-down", "Adblock Plus slowed down my browser.", ""),
7 ("3v0", "reason-acceptable-ads", "I don't like the Acceptable Ads program.", " "), 7 ("3v0", "reason-acceptable-ads", "I don't like the Acceptable Ads program.", " "),
8 ("4v0", "reason-see-ads", "Adblock Plus didn't block all ads.", ""), 8 ("4v0", "reason-see-ads", "Adblock Plus didn't block all ads.", ""),
9 ("5v0", "reason-better-adblocker", "I found better ad blocking software.", ["A dBlock", "uBlock", "uBlock Origin", "Ghostery"]), 9 ("5v0", "reason-better-adblocker", "I found better ad blocking software.", ["A dBlock", "uBlock", "uBlock Origin", "Ghostery"]),
10 ("6v0", "reason-break-websites", "Adblock Plus breaks websites that I visit.", ""), 10 ("6v0", "reason-break-websites", "Adblock Plus breaks websites that I visit.", ""),
11 ("7v0", "reason-difficult", "I find it difficult to use Adblock Plus.", ""), 11 ("7v0", "reason-difficult", "I find it difficult to use Adblock Plus.", ""),
12 ] %} 12 ] %}
13 13
14 <head> 14 <head>
15 <meta name="robots" content="noindex" /> 15 <meta name="robots" content="noindex" />
16 <link href="/css/uninstalled.css" rel="stylesheet"> 16 <link href="/css/uninstalled.css" rel="stylesheet">
17 </head> 17 </head>
18 18
19 <div id="content"> 19 <div id="content">
20 <? include reinstall ?>
21
22 <section id="uninstall-reasons"> 20 <section id="uninstall-reasons">
23 <div class="container content"> 21 <div class="container content">
24 <h1>{{ title | translate("title") }}</h1> 22 <h1>{{ title | translate("title") }}</h1>
25 <p class="lead">{{ "Please select the reason(s) why you uninstalled Adblock Plus:" | translate("reasons-header", "Form heading") }}</p> 23 <? include reinstall ?>
24 <p>{{ "Please select the reason(s) why you uninstalled Adblock Plus:" | tran slate("reasons-header", "Form heading") }}</p>
26 <form id="reasons-form" action="uninstalled-submit" method="get"> 25 <form id="reasons-form" action="uninstalled-submit" method="get">
27 <fieldset> 26 <fieldset>
28 <ul id="reasons"> 27 <ul id="reasons">
29 {%- for reasonId, stringId, value, adblockers in reasons %} 28 {%- for reasonId, stringId, value, adblockers in reasons %}
30 <li> 29 <li>
31 <label> 30 <label>
32 <input type="checkbox" name="reason" {% if adblockers %} data-to ggle-view="adblockers" {% endif %} value="{{ reasonId }}" /> 31 <input type="checkbox" name="reason" {% if adblockers %} data-to ggle-view="adblockers" {% endif %} value="{{ reasonId }}" />
33 {{ value | translate(stringId, "Uninstallation reason") }} 32 {{ value | translate(stringId, "Uninstallation reason") }}
34 </label> 33 </label>
35 {%- if adblockers %} 34 {%- if adblockers %}
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 </p> 72 </p>
74 </form> 73 </form>
75 <p class="disclaimer"> 74 <p class="disclaimer">
76 <small>{{ "By clicking Submit, you are sending your response to Adblock Pl us. Please see our <a href='/privacy'>privacy policy</a>." | translate("disclaim er", "Disclaimer below form") }}</small> 75 <small>{{ "By clicking Submit, you are sending your response to Adblock Pl us. Please see our <a href='/privacy'>privacy policy</a>." | translate("disclaim er", "Disclaimer below form") }}</small>
77 </p> 76 </p>
78 </div> 77 </div>
79 </section> 78 </section>
80 </div> 79 </div>
81 80
82 <script src="/js/uninstalled.js"></script> 81 <script src="/js/uninstalled.js"></script>
OLDNEW

Powered by Google App Engine
This is Rietveld