Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Homepage: only change action buttons for code break if non-en #34198

Merged
merged 1 commit into from Apr 13, 2020

Conversation

Erin007
Copy link
Contributor

@Erin007 Erin007 commented Apr 13, 2020

Links

Testing story

Reviewer Checklist:

  • Tests provide adequate coverage
  • Code is well-commented
  • New features are translatable or updates will not break translations
  • Relevant documentation has been added or updated
  • User impact is well-understood and desirable
  • Pull Request is labeled appropriately
  • Follow-up work items (including potential tech debt) are tracked and linked

@Erin007 Erin007 requested a review from breville April 13, 2020 20:12
@Erin007 Erin007 merged commit 4f2308e into staging Apr 13, 2020
@Erin007 Erin007 deleted the non-en-code-break-buttons branch April 13, 2020 20:17
@@ -127,7 +127,7 @@ def self.get_actions(request)
end

hoc_mode = DCDO.get('hoc_mode', CDO.default_hoc_mode)
if code_break_takeover
if code_break_takeover && request.language == "en"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we'd still have a problem here, and should therefore check for en here instead, so that code_break_takeover only gets set for en users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants