aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2013-08-01 17:23:53 +0100
committerLouise Crow <louise.crow@gmail.com>2013-09-16 12:41:41 +0100
commit86bac5f263be8adbf8a2fd32a558a8f80321fb57 (patch)
treee8b318180b1f511ed8f5ec84e8b5537653167210 /app
parentb8151bc4b13affeb7ec66146327961c35ef7e136 (diff)
Remove unused hidden correspondence template.
Diffstat (limited to 'app')
-rw-r--r--app/views/request/_hidden_correspondence.html.erb33
1 files changed, 0 insertions, 33 deletions
diff --git a/app/views/request/_hidden_correspondence.html.erb b/app/views/request/_hidden_correspondence.html.erb
deleted file mode 100644
index 4c06f1f48..000000000
--- a/app/views/request/_hidden_correspondence.html.erb
+++ /dev/null
@@ -1,33 +0,0 @@
-<% if info_request_event.prominence == 'requester_only' %>
- <%
- if !info_request_event.nil? && info_request_event.event_type == 'response'
- incoming_message = info_request_event.incoming_message
- end
- if not incoming_message.nil?
- %>
- <div class="correspondence" id="incoming-<%=incoming_message.id.to_s%>">
- <p>
- <%= _('This response has been hidden. See annotations to find out why.
- If you are the requester, then you may <a href="{{url}}">sign in</a> to view the response.', :url => signin_url(:r => request.fullpath).html_safe) %>
- </p>
- </div>
- <% elsif [ 'sent', 'followup_sent', 'resent', 'followup_resent' ].include?(info_request_event.event_type) %>
- <div class="correspondence" id="outgoing-<%=outgoing_message.id.to_s%>">
- <p>
- <%= _('This outgoing message has been hidden. See annotations to
- find out why. If you are the requester, then you may <a href="{{url}}">sign in</a> to view the response.', :url => signin_url(:r => request.fullpath).html_safe) %>
- </p>
- </div>
- <% elsif info_request_event.event_type == 'comment' %>
- <div class="comment_in_request" id="comment-<%=comment.id.to_s%>">
- <p><%= _('This comment has been hidden. See annotations to
- find out why. If you are the requester, then you may <a href="{{url}}">sign in</a> to view the response.', :url => signin_url(:r => request.fullpath).html_safe) %>
- </p>
- </div>
- <% end %>
-
-<% elsif info_request_event.prominence == 'hidden' %>
- <% # show nothing when hidden %>
-<% else %>
- <% raise _("unexpected prominence on request event") %>
-<% end %>