Add link from settings to pd declaration
This commit is contained in:
parent
0e0ef1da26
commit
7c551c5f73
2 changed files with 6 additions and 1 deletions
|
@ -35,9 +35,12 @@
|
||||||
<% if current_user.terms_agreed? %>
|
<% if current_user.terms_agreed? %>
|
||||||
<%= t ".contributor terms.agreed" %>
|
<%= t ".contributor terms.agreed" %>
|
||||||
(<a href="<%= t ".contributor terms.link" %>" target="_new"><%= t ".contributor terms.link text" %></a>)
|
(<a href="<%= t ".contributor terms.link" %>" target="_new"><%= t ".contributor terms.link text" %></a>)
|
||||||
|
<br>
|
||||||
<% if current_user.consider_pd? %>
|
<% if current_user.consider_pd? %>
|
||||||
<br>
|
|
||||||
<%= t ".contributor terms.agreed_with_pd" %>
|
<%= t ".contributor terms.agreed_with_pd" %>
|
||||||
|
<% else %>
|
||||||
|
<%= t ".contributor terms.not_agreed_with_pd" %>
|
||||||
|
(<%= link_to t(".contributor terms.pd_link_text"), account_pd_declaration_path %>)
|
||||||
<% end %>
|
<% end %>
|
||||||
<% else %>
|
<% else %>
|
||||||
<%= t ".contributor terms.not yet agreed" %>
|
<%= t ".contributor terms.not yet agreed" %>
|
||||||
|
|
|
@ -259,6 +259,8 @@ en:
|
||||||
agreed_with_pd: "You have also declared that you consider your edits to be in the Public Domain."
|
agreed_with_pd: "You have also declared that you consider your edits to be in the Public Domain."
|
||||||
link: "https://osmfoundation.org/wiki/Licence/Contributor_Terms"
|
link: "https://osmfoundation.org/wiki/Licence/Contributor_Terms"
|
||||||
link text: "what is this?"
|
link text: "what is this?"
|
||||||
|
not_agreed_with_pd: "You haven't declared that you consider your edits to be in the Public Domain."
|
||||||
|
pd_link_text: "declare"
|
||||||
save changes button: Save Changes
|
save changes button: Save Changes
|
||||||
delete_account: Delete Account...
|
delete_account: Delete Account...
|
||||||
go_public:
|
go_public:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue