:user => link_to(comment.author.display_name, comment.author) %>
<% if current_user&.moderator? %>
—
- <%= tag.button t("javascripts.changesets.show.#{comment.visible ? 'hide' : 'unhide'}_comment"),
+ <%= tag.button t(".#{comment.visible ? 'hide' : 'unhide'}_comment"),
:class => "btn btn-sm small btn-link link-secondary p-0 align-baseline",
:data => { :method => "POST",
:url => comment.visible ? changeset_comment_hide_url(comment) : changeset_comment_unhide_url(comment) } %>
still_open: "Changeset still open - discussion will open once the changeset is closed."
comment_by_html: "Comment from %{user} %{time_ago}"
hidden_comment_by_html: "Hidden comment from %{user} %{time_ago}"
+ hide_comment: "hide"
+ unhide_comment: "unhide"
changesetxml: "Changeset XML"
osmchangexml: "osmChange XML"
paging_nav:
comment: "Comment"
subscribe: "Subscribe"
unsubscribe: "Unsubscribe"
- hide_comment: "hide"
- unhide_comment: "unhide"
edit_help: Move the map and zoom in on a location you want to edit, then click here.
directions:
ascend: "Ascend"