aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/request/_view_html_prefix.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/request/_view_html_prefix.html.erb')
-rw-r--r--app/views/request/_view_html_prefix.html.erb12
1 files changed, 12 insertions, 0 deletions
diff --git a/app/views/request/_view_html_prefix.html.erb b/app/views/request/_view_html_prefix.html.erb
new file mode 100644
index 000000000..b29830ac7
--- /dev/null
+++ b/app/views/request/_view_html_prefix.html.erb
@@ -0,0 +1,12 @@
+<div class="view_html_prefix">
+ <div class="view_html_logo">
+ <a href="/"><img src="/images/navimg/logo-trans-small.png" alt="<%= site_name %>"></a>
+ </div>
+ <div class="view_html_download_link">
+ <%=link_to _("Download original attachment"), @attachment_url %>
+ <br>(<%=h @attachment.name_of_content_type %>)
+ </div>
+ <%= _('This is an HTML version of an attachment to the Freedom of Information request')%>
+ '<%=link_to h(@info_request.title), incoming_message_url(@incoming_message)%>'.
+</div>
+