]> git.openstreetmap.org Git - rails.git/commitdiff
Added explanation about discussions on open changesets
authormmd-osm <mmd.osm@gmail.com>
Mon, 18 Dec 2017 21:13:41 +0000 (21:13 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 18 Dec 2017 21:19:35 +0000 (21:19 +0000)
Closes #1705

app/views/browse/changeset.html.erb
config/locales/en.yml

index 86d190680c4a5bb29ba27667c658e273ab2fd724..6a3e856802c2b4c3d4c7bde5090d96e0a17a585b 100644 (file)
         <input type="submit" name="comment" value="<%= t('javascripts.changesets.show.comment') %>" data-changeset-id="<%= @changeset.id %>" data-method="POST" data-url="<%= changeset_comment_url(@changeset) %>" disabled="1"/>
       </div>
     </form>
+  <% else %>
+    <div class="notice hide_unless_logged_in">
+    <%= t('browse.changeset.still_open') %>
+    </div>
   <% end %>
 
   <% unless @ways.empty? %>
index 4ce1ae69ff7d0c173a16b0243fa437d621207cc8..5737e690a046336c99fe9718370b0b53dbeb426d 100644 (file)
@@ -131,6 +131,7 @@ en:
         title_comment: "Changeset %{id} - %{comment}"
       join_discussion: "Log in to join the discussion"
       discussion: Discussion
+      still_open: "Changeset still open - discussion will open once the changeset is closed."
     node:
       title: "Node: %{name}"
       history_title: "Node History: %{name}"