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

Side by Side Diff: pages/uninstalled.tmpl

Issue 29359928: Issue 4572 - Selectbox data are not being transmitted in uninstallation page (Closed)
Patch Set: Created Oct. 26, 2016, 9:58 a.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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 title=Adblock Plus has been uninstalled 1 title=Adblock Plus has been uninstalled
2 template=simple 2 template=simple
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.", "")
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 <fieldset> 119 <fieldset>
120 <ul id="reasons"> 120 <ul id="reasons">
121 {%- for reasonId, stringId, value, adblockers in reasons %} 121 {%- for reasonId, stringId, value, adblockers in reasons %}
122 <li> 122 <li>
123 <label> 123 <label>
124 <input type="checkbox" name="reason" {% if adblockers %} data-toggle -view="adblockers" {% endif %} value="{{reasonId}}" /> 124 <input type="checkbox" name="reason" {% if adblockers %} data-toggle -view="adblockers" {% endif %} value="{{reasonId}}" />
125 {{value|translate(stringId, "Uninstallation reason")}} 125 {{value|translate(stringId, "Uninstallation reason")}}
126 </label> 126 </label>
127 {%- if adblockers %} 127 {%- if adblockers %}
128 <fieldset class="hidden" id="adblockers"> 128 <fieldset class="hidden" id="adblockers">
129 <select> 129 <select name="otherAdblockerPredefined">
130 {%- for name in adblockers %} 130 {%- for name in adblockers %}
131 <option name="otherAdblockerPredefined" data-hide-element="other-a dblocker" value="{{name}}">{{name}}</option> 131 <option data-hide-element="other-adblocker" value="{{name}}">{{nam e}}</option>
132 {%- endfor %} 132 {%- endfor %}
133 <option name="otherAdblockerPredefined" data-show-element="other-a dblocker" value="Other">{{"Other"|translate("other", "Option in list of Adblocke rs")}}</option> 133 <option data-show-element="other-adblocker" value="Other">{{"Other "|translate("other", "Option in list of Adblockers")}}</option>
134 </select> 134 </select>
135 <input id="other-adblocker" class="hidden" type="text" name="otherAd blocker" /> 135 <input id="other-adblocker" class="hidden" type="text" name="otherAd blocker" />
136 </fieldset> 136 </fieldset>
137 {%- endif %} 137 {%- endif %}
138 </li> 138 </li>
139 {%- endfor %} 139 {%- endfor %}
140 <li> 140 <li>
141 <label> 141 <label>
142 <input id="reason-other" data-toggle-view="reason-other-container" t ype="checkbox" name="reason" value="0v0" /> 142 <input id="reason-other" data-toggle-view="reason-other-container" t ype="checkbox" name="reason" value="0v0" />
143 {{"Other, namely..."|translate("reason-other", "Last uninstallation reason")}} 143 {{"Other, namely..."|translate("reason-other", "Last uninstallation reason")}}
144 </label> 144 </label>
145 <fieldset id="reason-other-container" class="hidden"> 145 <fieldset id="reason-other-container" class="hidden">
146 <textarea id="reason-other-input" name="reasonOther" maxlength="300" placeholder="{{"Please explain why you are uninstalling Adblock Plus"|translate ("reason-other-placeholder", "Textarea placeholder text, appears after selecting 'Other, namely...' option")}}"></textarea> 146 <textarea id="reason-other-input" name="reasonOther" maxlength="300" placeholder="{{"Please explain why you are uninstalling Adblock Plus"|translate ("reason-other-placeholder", "Textarea placeholder text, appears after selecting 'Other, namely...' option")}}"></textarea>
147 <div> 147 <div>
148 {{"Characters remaining:"|translate("countdown-text", "Text of ch aracter limit counter appears after selecting 'Other, namely...' option")}} 148 {{"Characters remaining:"|translate("countdown-text", "Text of ch aracter limit counter appears after selecting 'Other, namely...' option")}}
149 <span id="characters-countdown"></span> 149 <span id="characters-countdown"></span>
150 </div> 150 </div>
151 </fieldset> 151 </fieldset>
152 </li> 152 </li>
153 </ul> 153 </ul>
154 </fieldset> 154 </fieldset>
155 <button id="submit-form">{{"Submit"|translate("submit", "Submit button text" )}}</button> 155 <button id="submit-form">{{"Submit"|translate("submit", "Submit button text" )}}</button>
156 <span class="error-label">{{"Please select at least one of the options above "|translate("error-msg", "Error message, is being shown after submission if no i tem selected")}}</span> 156 <span class="error-label">{{"Please select at least one of the options above "|translate("error-msg", "Error message, is being shown after submission if no i tem selected")}}</span>
157 </form> 157 </form>
158 <p class="disclaimer"> 158 <p class="disclaimer">
159 {{"By clicking Submit, you are sending your response to Adblock Plus. Please see our <a href='/privacy'>privacy policy</a>."|translate("disclaimer", "Discla imer below form")}} 159 {{"By clicking Submit, you are sending your response to Adblock Plus. Please see our <a href='/privacy'>privacy policy</a>."|translate("disclaimer", "Discla imer below form")}}
160 </p> 160 </p>
161 </section> 161 </section>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld