]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/message/read.rhtml
Fix diary entry creation...
[rails.git] / app / views / message / read.rhtml
index a8bd2e73311a56a6ccd0fe9a30bbdb4b16a21b2c..b84fea4c7c60f7b0e2606c7235297d755b623601 100644 (file)
@@ -24,6 +24,7 @@
 <table>
   <tr>
     <td><%= button_to 'Reply', :controller => 'message', :action => 'new', :user_id => @message.from_user_id %></td>
-    <td><%= button_to 'Mark as read', :controller => 'message', :action => 'mark', :message_id => @message.id %></td>
+    <td><%= button_to 'Mark as unread', :controller => 'message', :action => 'mark', :message_id => @message.id, :mark => 'unread' %></td>
+    <td><%= link_to 'Back to inbox', :controller => 'message', :action => 'inbox', :display_name => @user.display_name %></td>
   </tr>
 </table>