diff options
Diffstat (limited to 'app/views/comment/new.html.erb')
-rw-r--r-- | app/views/comment/new.html.erb | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/app/views/comment/new.html.erb b/app/views/comment/new.html.erb new file mode 100644 index 000000000..aa5b6051c --- /dev/null +++ b/app/views/comment/new.html.erb @@ -0,0 +1,77 @@ +<% @title = "Make an annotation on '" + h(@info_request.title) + "'" %> + +<% if @existing_comment %> + <div class="errorExplanation" id="errorExplanation"><ul> + <li> + <%= user_or_you_capital(@existing_comment.user) %> already + made this annotation on <%=simple_date(@existing_comment.created_at)%>. + </li> + </ul></div> +<% end %> + +<%= foi_error_messages_for :comment %> + +<h1><%= _('Add an annotation')%></h1> +<h2>to “<%=request_link(@info_request)%>”</h2> + +<p> +<%= _('Annotations are so anyone, including you, can help the requester with their request. For example:')%> +</p> + +<ul> + +<% if [ 'waiting_clarification' ].include?(@info_request.described_state) %> + <li><%= _(' Advise on how to <strong>best clarify</strong> the request.')%></li> +<% end %> + +<% if not [ 'successful', 'partially_successful' ].include?(@info_request.described_state) %> + <li><%= _(' Link to the information requested, if it is <strong>already available</strong> on the Internet. ')%></li> + <li><%= _(' Suggest <strong>where else</strong> the requester might find the information. ')%></li> + <li><%= _(' Offer better ways of <strong>wording the request</strong> to get the information. ')%></li> +<% end %> + +<% if [ 'successful', 'partially_successful' ].include?(@info_request.described_state) %> + <li><%= _(' <strong>Summarise</strong> the content of any information returned. ')%></li> + <li><%= _(' Say how you\'ve <strong>used the information</strong>, with links if possible.')%> </li> + <li> <%= _('<strong>Thank</strong> the public authority or ')%><%=h (@info_request.user_name ? @info_request.user_name : _('the requester')) %>. </li> +<% end %> +<% if [ 'partially_successful' ].include?(@info_request.described_state) %> + <li> <%= _('Suggest how the requester can find the <strong>rest of the information</strong>.')%></li> +<% end %> +<% if [ 'successful', 'partially_successful' ].include?(@info_request.described_state) %> + <li> <%= _('Point to <strong>related information</strong>, campaigns or forums which may be useful.')%></li> +<% end %> + +<% if [ 'gone_postal' ].include?(@info_request.described_state) %> + <li> <%= _('A <strong>summary</strong> of the response if you have received it by post. ')%></li> +<% end %> + +<% if [ 'not_held' ].include?(@info_request.described_state) %> + <li><%= _(' Ideas on what <strong>other documents to request</strong> which the authority may hold. ')%></li> +<% end %> +<% if [ 'rejected' ].include?(@info_request.described_state) %> + <li> <%= _('Advise on whether the <strong>refusal is legal</strong>, and how to complain about it if not.') %> </li> +<% end %> + +<% if [ 'internal_review' ].include?(@info_request.described_state) %> + <li> <%= _('<strong>Advice</strong> on how to get a response that will satisfy the requester. </li>') %> +<% end %> +<% if [ 'error_message' ].include?(@info_request.described_state) %> + <li> <%= _('You know what caused the error, and can <strong>suggest a solution</strong>, such as a working email address.')%> </li> +<% end %> +<% if [ 'requires_admin' ].include?(@info_request.described_state) %> + <li> <%= _('Your thoughts on what the {{site_name}} <strong>administrators</strong> should do about the request.', :site_name=>site_name) %> </li> +<% end %> + + +</ul> + +<p> + <big><%= _('Annotations will be posted publicly here, and are + <strong>not</strong> sent to {{public_body_name}}.',:public_body_name=>h(@info_request.public_body.name)) %></big> + <% if @info_request.is_external? %> + <big><%= _('Note that the requester will not be notified about your annotation, because the request was published by {{public_body_name}} on their behalf.', :public_body_name => @info_request.public_body.name) %></big> + <% end %> +</p> + +<%= render :partial => 'comment/comment_form', :locals => { :track_thing => @track_thing } %> |