Skip to content

Commit

Permalink
Access report: show map for non-US users again
Browse files Browse the repository at this point in the history
This undoes the work to hide the map for non-US users in #19933, though leaves the map hiding functionality available in case we need it for something else.
  • Loading branch information
breville committed Apr 5, 2018
1 parent 4079014 commit 5b316a7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pegasus/sites.v3/code.org/public/yourschool.haml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ social:
%script{src: "https://cdn.optimizely.com/js/400912536.js"}
- census_announcement = DCDO.get('census_announcement', nil)
- census_announcement ||= {}
- if 'us' != hoc_detect_country
- census_announcement['hide_map'] = 'true'
- census_announcement['user_name'] = request.params["name"] if request.params["name"]
- census_announcement['user_email'] = request.params["email"] if request.params["email"]
- census_announcement['is_teacher'] = 'true' if request.params["isTeacher"] == 'true'
Expand Down

0 comments on commit 5b316a7

Please sign in to comment.