In case *Contributor Terms* or *Terms of Use* were updated since last agreeing to them, which is supposedly the case for many people, it's impossible to accept the new terms.
This PR makes it possible by - telling when the terms were accepted in *My Account* - linking to the *Terms* page  - disabling the checks if terms were previously accepted on the *Terms* page, which made it do nothing or redirect back to *My Account* You can view, comment on, or merge this pull request online at: https://github.com/openstreetmap/openstreetmap-website/pull/5706 -- Commit Summary -- * Allow to revisit terms page if already agreed * Allow to agree to new terms if already agreed to old terms * Show terms acceptance dates and link to terms on account page -- File Changes -- M app/controllers/accounts/terms_controller.rb (15) M app/views/accounts/show.html.erb (34) M config/locales/en.yml (13) M test/controllers/accounts/terms_controller_test.rb (72) A test/system/account_terms_test.rb (54) -- Patch Links -- https://github.com/openstreetmap/openstreetmap-website/pull/5706.patch https://github.com/openstreetmap/openstreetmap-website/pull/5706.diff -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/5706 You are receiving this because you are subscribed to this thread. Message ID: <openstreetmap/openstreetmap-website/pull/5...@github.com>
_______________________________________________ rails-dev mailing list rails-dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/rails-dev