Add the ability for a recipient to (logically) delete a message from
their INBOX so they no longer see it.
This commit is contained in:
parent
0d97737a7d
commit
f3bf0c8b14
7 changed files with 33 additions and 3 deletions
|
@ -10,4 +10,5 @@
|
|||
<td><%= button_to t('message.message_summary.read_button'), :controller => 'message', :action => 'mark', :message_id => message_summary.id, :mark => 'read' %></td>
|
||||
<% end %>
|
||||
<td><%= button_to t('message.message_summary.reply_button'), :controller => 'message', :action => 'reply', :message_id => message_summary.id %></td>
|
||||
<td><%= button_to t('message.message_summary.delete_button'), :controller => 'message', :action => 'delete', :message_id => message_summary.id %></td>
|
||||
</tr>
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
<th><%= t'message.inbox.date' %></th>
|
||||
<th></th>
|
||||
<th></th>
|
||||
<th></th>
|
||||
</tr>
|
||||
<%= render :partial => "message_summary", :collection => @user.messages %>
|
||||
</table>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue