Skip to content

Commit

Permalink
Remove "Public editing" line from settings page
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonKhorev committed Jan 18, 2025
1 parent 4370fe4 commit 9c744ab
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 20 deletions.
13 changes: 0 additions & 13 deletions app/views/accounts/edit.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,6 @@
<small class="form-text text-body-secondary">(<a href="<%= t ".openid.link" %>" target="_new"><%= t ".openid.link text" %></a>)</small>
</fieldset>

<div class="mb-3">
<label class="form-label"><%= t ".public editing.heading" %></label>
<span class="form-text text-body-secondary">
<% if current_user.data_public? %>
<%= t ".public editing.enabled" %>
(<a href="<%= t ".public editing.enabled link" %>" target="_new"><%= t ".public editing.enabled link text" %></a>)
<% else %>
<%= t ".public editing.disabled" %>
(<a href="#public"><%= t ".public editing.disabled link text" %></a>)
<% end %>
</span>
</div>

<div class="mb-3">
<label class="form-label"><%= t ".contributor terms.heading" %></label>
<span class="form-text text-body-secondary">
Expand Down
7 changes: 0 additions & 7 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -251,13 +251,6 @@ en:
openid:
link: "https://wiki.openstreetmap.org/wiki/OpenID"
link text: "what is this?"
public editing:
heading: "Public editing"
enabled: "Enabled. Not anonymous and can edit data."
enabled link: "https://wiki.openstreetmap.org/wiki/Anonymous_edits"
enabled link text: "what is this?"
disabled: "Disabled and cannot edit data, all previous edits are anonymous."
disabled link text: "why can't I edit?"
contributor terms:
heading: "Contributor Terms"
agreed: "You have agreed to the new Contributor Terms."
Expand Down

0 comments on commit 9c744ab

Please sign in to comment.