aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Houston <robin.houston@gmail.com>2012-08-20 07:09:30 +0100
committerRobin Houston <robin.houston@gmail.com>2012-08-20 07:09:30 +0100
commit3979f7439254ceb5cdde8373a2b049829546431e (patch)
treeaffa2c00be50e9fcd972b82236e75edf149121d8
parent8819a7ceef32254c2502d64ffc5cafedc6804762 (diff)
External requests were not sent by us
Therefore we ought not to display the warning “This message has not yet been sent for an unknown reason” for such requests. Closes #548.
-rw-r--r--app/views/request/_correspondence.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/request/_correspondence.rhtml b/app/views/request/_correspondence.rhtml
index 36257991b..bcfc93657 100644
--- a/app/views/request/_correspondence.rhtml
+++ b/app/views/request/_correspondence.rhtml
@@ -40,7 +40,7 @@ elsif [ 'sent', 'followup_sent' ].include?(info_request_event.event_type)
<%= render :partial => 'bubble', :locals => { :body => outgoing_message.get_body_for_html_display(), :attachments => nil } %>
<p class="event_actions">
- <% if outgoing_message.status == 'ready' %>
+ <% if outgoing_message.status == 'ready' && !@info_request.is_external? %>
<strong>Warning:</strong> This message has <strong>not yet been sent</strong> for an unknown reason.
<% end %>