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

Issue 29424810: Issue 5191 - Add Terms of Use to adblockplus.org homepage (Closed)

Created:
April 28, 2017, 6:57 p.m. by juliandoucette
Modified:
May 4, 2017, 3:14 p.m.
Reviewers:
Jon Sonesen, saroyanm
CC:
Felix Dahlke, tamara, Lisa, j.nink, Vasily Kuznetsov
Base URL:
https://hg.adblockplus.org/web.adblockplus.org
Visibility:
Public.

Patch Set 1 : Minimal / Incomplete #

Total comments: 2

Patch Set 2 : Took a stab at it #

Total comments: 7

Patch Set 3 : Fixed has_string #

Total comments: 6

Patch Set 4 : Removed fr/index.json #

Patch Set 5 : Changed 'en' to defaultlocale #

Patch Set 6 : Added check for locale page #

Total comments: 1

Patch Set 7 : Removed locale logic #

Total comments: 7

Patch Set 8 : Changed class to id #

Patch Set 9 : Removed '>' from selector #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -12 lines) Patch
M includes/index.tmpl View 1 2 3 4 5 6 7 5 chunks +16 lines, -12 lines 0 comments Download
M static/css/index.css View 1 2 3 4 5 6 7 8 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 19
juliandoucette
April 28, 2017, 6:57 p.m. (2017-04-28 18:57:14 UTC) #1
juliandoucette
Note: I'm publishing comments on two changesets at once here. There are questions for Jon ...
April 28, 2017, 9:56 p.m. (2017-04-28 21:56:01 UTC) #2
Jon Sonesen
https://codereview.adblockplus.org/29424810/diff/29424817/globals/has_string.py File globals/has_string.py (right): https://codereview.adblockplus.org/29424810/diff/29424817/globals/has_string.py#newcode4 globals/has_string.py:4: def has_string(context, name, page=None): On 2017/04/28 21:56:01, juliandoucette wrote: ...
April 29, 2017, 8:30 a.m. (2017-04-29 08:30:55 UTC) #3
juliandoucette
Thanks Jon! See comment below. https://codereview.adblockplus.org/29424810/diff/29424817/globals/has_string.py File globals/has_string.py (right): https://codereview.adblockplus.org/29424810/diff/29424817/globals/has_string.py#newcode4 globals/has_string.py:4: def has_string(context, name, page=None): ...
May 2, 2017, 8:39 a.m. (2017-05-02 08:39:17 UTC) #4
juliandoucette
https://codereview.adblockplus.org/29424810/diff/29424817/globals/has_string.py File globals/has_string.py (right): https://codereview.adblockplus.org/29424810/diff/29424817/globals/has_string.py#newcode4 globals/has_string.py:4: def has_string(context, name, page=None): On 2017/04/29 08:30:55, Jon Sonesen ...
May 2, 2017, 8:45 a.m. (2017-05-02 08:45:45 UTC) #5
saroyanm
https://codereview.adblockplus.org/29424810/diff/29427558/includes/index.tmpl File includes/index.tmpl (right): https://codereview.adblockplus.org/29424810/diff/29427558/includes/index.tmpl#newcode70 includes/index.tmpl:70: {% if locale == "en" or has_string("terms-message", "index") %} ...
May 2, 2017, 9:26 a.m. (2017-05-02 09:26:38 UTC) #6
juliandoucette
@Jen & @Vasily please check question below. https://codereview.adblockplus.org/29424810/diff/29427558/includes/index.tmpl File includes/index.tmpl (right): https://codereview.adblockplus.org/29424810/diff/29427558/includes/index.tmpl#newcode70 includes/index.tmpl:70: {% if ...
May 2, 2017, 10:22 a.m. (2017-05-02 10:22:13 UTC) #7
juliandoucette
Added a detail for Jon and Vasily below. (Sorry about the spelling mistake in the ...
May 2, 2017, 10:32 a.m. (2017-05-02 10:32:01 UTC) #8
juliandoucette
@Jon & @Vasily I may have found a solution. See notes below. https://codereview.adblockplus.org/29424810/diff/29427574/includes/index.tmpl File includes/index.tmpl ...
May 2, 2017, 10:45 a.m. (2017-05-02 10:45:34 UTC) #9
juliandoucette
Removed locale conditions based on a discussion with Judith at lunch today.
May 2, 2017, 12:22 p.m. (2017-05-02 12:22:39 UTC) #10
saroyanm
Just a small suggestion. https://codereview.adblockplus.org/29424810/diff/29427582/includes/index.tmpl File includes/index.tmpl (right): https://codereview.adblockplus.org/29424810/diff/29427582/includes/index.tmpl#newcode79 includes/index.tmpl:79: <a class="install-button" href="https://update.adblockplus.org/latest/adblockplusfirefox.xpi" id="install-firefox">{{"Agree and ...
May 2, 2017, 12:48 p.m. (2017-05-02 12:48:30 UTC) #11
saroyanm
LGTM https://codereview.adblockplus.org/29424810/diff/29427582/includes/index.tmpl File includes/index.tmpl (right): https://codereview.adblockplus.org/29424810/diff/29427582/includes/index.tmpl#newcode79 includes/index.tmpl:79: <a class="install-button" href="https://update.adblockplus.org/latest/adblockplusfirefox.xpi" id="install-firefox">{{"Agree and Install for Firefox"|translate("s13")}}</a> ...
May 2, 2017, 2:16 p.m. (2017-05-02 14:16:40 UTC) #12
saroyanm
https://codereview.adblockplus.org/29424810/diff/29427582/static/css/index.css File static/css/index.css (right): https://codereview.adblockplus.org/29424810/diff/29427582/static/css/index.css#newcode178 static/css/index.css:178: .terms-message > a A detail: We can use IDs ...
May 2, 2017, 2:22 p.m. (2017-05-02 14:22:32 UTC) #13
juliandoucette
Ready for translation. https://codereview.adblockplus.org/29424810/diff/29427582/includes/index.tmpl File includes/index.tmpl (right): https://codereview.adblockplus.org/29424810/diff/29427582/includes/index.tmpl#newcode79 includes/index.tmpl:79: <a class="install-button" href="https://update.adblockplus.org/latest/adblockplusfirefox.xpi" id="install-firefox">{{"Agree and Install ...
May 2, 2017, 2:42 p.m. (2017-05-02 14:42:35 UTC) #14
saroyanm
LGTM with nit https://codereview.adblockplus.org/29424810/diff/29427582/static/css/index.css File static/css/index.css (right): https://codereview.adblockplus.org/29424810/diff/29427582/static/css/index.css#newcode178 static/css/index.css:178: .terms-message > a On 2017/05/02 14:42:35, ...
May 2, 2017, 2:50 p.m. (2017-05-02 14:50:09 UTC) #15
juliandoucette
https://codereview.adblockplus.org/29424810/diff/29427582/static/css/index.css File static/css/index.css (right): https://codereview.adblockplus.org/29424810/diff/29427582/static/css/index.css#newcode178 static/css/index.css:178: .terms-message > a On 2017/05/02 14:50:09, saroyanm wrote: > ...
May 2, 2017, 2:55 p.m. (2017-05-02 14:55:03 UTC) #16
saroyanm
LGTM again :)
May 2, 2017, 2:58 p.m. (2017-05-02 14:58:54 UTC) #17
Jon Sonesen
On 2017/05/02 14:58:54, saroyanm wrote: > LGTM again :)
May 3, 2017, 9:31 a.m. (2017-05-03 09:31:35 UTC) #18
Jon Sonesen
May 3, 2017, 9:32 a.m. (2017-05-03 09:32:11 UTC) #19
After some quick testing I realized we can drop "RuntimeError" from the except
catch :)

other than that LGTM

Powered by Google App Engine
This is Rietveld