aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/views/request/_correspondence.rhtml10
1 files changed, 2 insertions, 8 deletions
diff --git a/app/views/request/_correspondence.rhtml b/app/views/request/_correspondence.rhtml
index cf7864041..79b164029 100644
--- a/app/views/request/_correspondence.rhtml
+++ b/app/views/request/_correspondence.rhtml
@@ -7,10 +7,7 @@ end
if not incoming_message.nil?
%>
<div class="correspondence" id="incoming-<%=incoming_message.id.to_s%>">
- <% if @previous_date.nil? or (@previous_date != incoming_message.sent_at.to_date) %>
- <h2><%= simple_date(incoming_message.sent_at) %></h2>
- <% end
- @previous_date = incoming_message.sent_at.to_date %>
+ <h2><%= simple_date(incoming_message.sent_at) %></h2>
<%= render :partial => 'bubble', :locals => { :incoming_message => incoming_message, :body => incoming_message.get_body_for_html_display(@collapse_quotes), :attachments => incoming_message.get_attachments_for_display } %>
@@ -28,10 +25,7 @@ elsif info_request_event.event_type == 'sent' || info_request_event.event_type =
outgoing_message = info_request_event.outgoing_message
%>
<div class="correspondence" id="outgoing-<%=outgoing_message.id.to_s%>">
- <% if @previous_date.nil? or (@previous_date != info_request_event.created_at.to_date) %>
- <h2><%= simple_date(info_request_event.created_at) %></h2>
- <% end
- @previous_date = info_request_event.created_at.to_date %>
+ <h2><%= simple_date(info_request_event.created_at) %></h2>
<%= render :partial => 'bubble', :locals => { :body => outgoing_message.get_body_for_html_display(), :attachments => nil } %>