X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6e71f16bbbdf3da35fc064c354c4078ea48edcbf..0d0a9fc0044a77aa8f5b70761b7529e2191e5a3e:/app/views/changesets/show.html.erb?ds=inline diff --git a/app/views/changesets/show.html.erb b/app/views/changesets/show.html.erb index d44ccfc07..a30dc8c79 100644 --- a/app/views/changesets/show.html.erb +++ b/app/views/changesets/show.html.erb @@ -37,7 +37,7 @@ :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) } %> @@ -66,7 +66,12 @@