]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/templates/notes/show.jst.ejs
Merge remote-tracking branch 'osmlab/map-ui'
[rails.git] / app / assets / javascripts / templates / notes / show.jst.ejs
index cc81bb9d324f840fd14d815ebf46de1fb61794a0..63177012c87c1616d9de5b3419519b91909d0ebb 100644 (file)
@@ -24,8 +24,8 @@
   <form action="#">
     <textarea class="comment" name="text" cols="40" rows="5"></textarea>
     <div class="buttons clearfix">
+      <input type="submit" name="hide" value="<%- I18n.t('javascripts.notes.show.hide') %>" class="hide_unless_moderator deemphasize" data-method="DELETE" data-url="<%- note.url %>">
       <input type="submit" name="close" value="<%- I18n.t('javascripts.notes.show.resolve') %>" class="hide_unless_logged_in" data-method="POST" data-url="<%- note.close_url %>">
-      <input type="submit" name="hide" value="<%- I18n.t('javascripts.notes.show.hide') %>" class="hide_unless_moderator" data-method="DELETE" data-url="<%- note.url %>">
       <input type="submit" name="comment" value="<%- I18n.t('javascripts.notes.show.comment') %>" data-method="POST" data-url="<%- note.comment_url %>" disabled="1">
     </div>
   </form>
@@ -33,7 +33,7 @@
   <form action="#">
     <input type="hidden" name="text" value="">
     <div class="buttons clearfix">
-      <input type="submit" name="hide" value="<%- I18n.t('javascripts.notes.show.hide') %>" class="hide_unless_moderator" data-method="DELETE" data-url="<%- note.url %>">
+      <input type="submit" name="hide" value="<%- I18n.t('javascripts.notes.show.hide') %>" class="hide_unless_moderator deemphasize" data-method="DELETE" data-url="<%- note.url %>">
       <input type="submit" name="reopen" value="<%- I18n.t('javascripts.notes.show.reactivate') %>" class="hide_unless_logged_in" data-method="POST" data-url="<%- note.reopen_url %>">
     </div>
   </form>