From: Anton Khorev Date: Fri, 17 Jan 2025 15:02:56 +0000 (+0300) Subject: Add explanation link to pd declaration page X-Git-Tag: live~176^2~7 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/f5f7985fdbef5c07e2833a834c774b209cebbc9e Add explanation link to pd declaration page --- diff --git a/app/views/accounts/pd_declarations/show.html.erb b/app/views/accounts/pd_declarations/show.html.erb index 6b8aaa609..7832184dc 100644 --- a/app/views/accounts/pd_declarations/show.html.erb +++ b/app/views/accounts/pd_declarations/show.html.erb @@ -3,9 +3,11 @@ <% end %> <%= bootstrap_form_tag do |f| %> - <%= f.check_box :consider_pd, - :label => t(".consider_pd"), - :autocomplete => :off, - :checked => current_user.consider_pd, - :disabled => current_user.consider_pd %> + <%= f.form_group :help => link_to(t(".consider_pd_why"), t(".consider_pd_why_url"), :target => :new) do %> + <%= f.check_box :consider_pd, + :label => t(".consider_pd"), + :autocomplete => :off, + :checked => current_user.consider_pd, + :disabled => current_user.consider_pd %> + <% end %> <% end %> diff --git a/config/locales/en.yml b/config/locales/en.yml index 24d772da4..bfdf1c64f 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -328,6 +328,8 @@ en: show: title: Consider my contributions to be in the Public Domain consider_pd: "I consider my contributions to be in the Public Domain" + consider_pd_why: "Why would I want my contributions to be Public Domain?" + consider_pd_why_url: https://osmfoundation.org/wiki/Licence_and_Legal_FAQ/Why_would_I_want_my_contributions_to_be_public_domain browse: deleted_ago_by_html: "Deleted %{time_ago} by %{user}" edited_ago_by_html: "Edited %{time_ago} by %{user}"