]> git.openstreetmap.org Git - rails.git/commitdiff
Remove "Public editing" line from settings page
authorAnton Khorev <tony29@yandex.ru>
Sat, 18 Jan 2025 00:32:57 +0000 (03:32 +0300)
committerAnton Khorev <tony29@yandex.ru>
Sat, 18 Jan 2025 00:32:57 +0000 (03:32 +0300)
app/views/accounts/edit.html.erb
config/locales/en.yml

index 16f109c9f99b77d23ced80ae371be78bae461c4d..7a10b12e3d281c181248d9bd5b11312eea62c7b0 100644 (file)
     <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">
index 888079a6c6956035b6b5831cb1a01f0d0fd12f9f..42e3f637e9e7bce7b6517c5d0e114e3eaae4021c 100644 (file)
@@ -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."