1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
|
<% if @incoming_message.nil? %>
<% @title = _("Send follow up to '{{title}}'", :title => h(@info_request.title)) %>
<% elsif @incoming_message.recently_arrived %>
<% @title = _("New response to '{{title}}'", :title => h(@info_request.title)) %>
<% else %>
<% @title = _("Response to '{{title}}'", :title => h(@info_request.title)) %>
<% end %>
<%= foi_error_messages_for :incoming_message, :outgoing_message %>
<% if @gone_postal %>
<div class="gone_postal_help">
<h1><%= _('Which of these is happening?') %></h1>
<dl>
<dt>
<%= _('The authority say that they <strong>need a postal
address</strong>, not just an email, for it to be a valid FOI request') %>
</dt>
<dd>
<%= render :partial => 'help/why_they_should_reply_by_email', :locals => {:help_page_url => help_privacy_path } %>
</dd>
<dt>
<%= _('The authority only has a <strong>paper copy</strong> of the information.') %>
</dt>
<dd>
<%= _('At the bottom of this page, write a reply to them trying to persuade them to scan it in
(<a href="{{url}}">more details</a>).', :url => (help_privacy_path + '#postal_answer').html_safe) %>
</dd>
<dt>
<%= _('You want to <strong>give your postal address</strong> to the authority in private.') %>
</dt>
<dd>
<%= _('To do that please send a private email to ') %><%=h(@postal_email_name)%>
<<%=link_to h(@postal_email), "mailto:" + @postal_email%>>
<%= _('containing your postal address, and asking them to reply to this request.
Or you could phone them.') %>
<%= _('When you receive the paper response, please help
others find out what it says:') %>
<ul>
<li><%= _('Add an annotation to your request with choice quotes, or
a <strong>summary of the response</strong>.') %></li>
<li><%= _('If you can, scan in or photograph the response, and <strong>send us
a copy to upload</strong>.') %></li>
</ul>
</dd>
</dl>
</div>
<% end %>
<div id="show_response_view">
<% if !@incoming_message.nil? %>
<% if @is_owning_user %>
<% if @incoming_message.recently_arrived %>
<h2><%= _('New response to your request') %> '<%= request_link @info_request %>'</h2>
<% else %>
<h2><%= _('Response to your request') %> '<%= request_link @info_request %>'</h2>
<% end %>
<% else %>
<% if @incoming_message.recently_arrived %>
<h2><%= _('New response to {{law_used_short}} request',:law_used_short => h(@info_request.law_used_short))%> '<%= request_link @info_request %>'</h2>
<% else %>
<h2>Response to <%=h(@info_request.law_used_short)%> request '<%= request_link @info_request %>'</h2>
<% end %>
<% end %>
<% if @incoming_message.nil? %>
<%= render :partial => 'correspondence', :locals => { :info_request_event => @info_request.get_last_outgoing_event, :incoming_message => nil } %>
<% else %>
<%= render :partial => 'correspondence', :locals => { :info_request_event => nil, :incoming_message => @incoming_message } %>
<% end %>
<% end %>
<%= render :partial => 'followup', :locals => { :incoming_message => @incoming_message } %>
</div>
|