X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7eb181999d3357bf210ceb24e18c913bf3ef6ba3..7d3a5899c9ef20b9a67eda05c1b1c167b6677bdd:/app/views/message/_message_summary.rhtml?ds=sidebyside
diff --git a/app/views/message/_message_summary.rhtml b/app/views/message/_message_summary.rhtml
index dbd71f017..263e30e64 100644
--- a/app/views/message/_message_summary.rhtml
+++ b/app/views/message/_message_summary.rhtml
@@ -1,15 +1,14 @@
-<% this_colour = cycle('lightgrey', 'white') # can only call once for some dumb reason %>
+<% this_colour = cycle('lightgrey', 'white') # can only call once for some dumb reason
+%>
">
- <%= link_to h(message_summary.sender.display_name), :controller => 'user', :action => message_summary.sender.display_name %> |
- <%= link_to h(message_summary.title), :controller => 'message', :action => 'read', :message_id => message_summary.id %> |
- <%= message_summary.sent_on %> |
+ <%= link_to h(message_summary.sender.display_name), :controller => 'user', :action => message_summary.sender.display_name %> |
+ <%= link_to h(message_summary.title), :controller => 'message', :action => 'read', :message_id => message_summary.id %> |
+ <%= message_summary.sent_on %> |
<% if message_summary.message_read? %>
<%= button_to 'Mark as unread', :controller => 'message', :action => 'mark', :message_id => message_summary.id, :mark => 'unread' %> |
<% else %>
<%= button_to 'Mark as read', :controller => 'message', :action => 'mark', :message_id => message_summary.id, :mark => 'read' %> |
<% end %>
<%= button_to 'Reply', :controller => 'message', :action => 'reply', :message_id => message_summary.id %> |
- <%= button_to 'Delete', :controller => 'message', :action => 'destroy', :message_id => message_summary.id %> |
-