X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b61e4f77e86fd2535a88b0d3e5aec97809c8ec5e..d9d625f65186e846d12431cefede8999f65ca4e5:/app/views/message/read.rhtml diff --git a/app/views/message/read.rhtml b/app/views/message/read.rhtml index a8bd2e733..7a0d2bbe1 100644 --- a/app/views/message/read.rhtml +++ b/app/views/message/read.rhtml @@ -2,19 +2,19 @@
From | +From | <%= link_to @message.sender.display_name, :controller => 'user', :action => 'view', :display_name => @message.sender.display_name %> |
---|---|---|
Subject | +Subject | <%= @message.title %> |
Date | +Date | <%= @message.sent_on %> |
Message | +<%= @message.body %> |
<%= button_to 'Reply', :controller => 'message', :action => 'new', :user_id => @message.from_user_id %> | -<%= button_to 'Mark as read', :controller => 'message', :action => 'mark', :message_id => @message.id %> | +<%= button_to 'Mark as unread', :controller => 'message', :action => 'mark', :message_id => @message.id, :mark => 'unread' %> | +<%= link_to 'Back to inbox', :controller => 'message', :action => 'inbox', :display_name => @user.display_name %> |