diff options
author | Henare Degan <henare.degan@gmail.com> | 2013-02-27 10:34:47 +1100 |
---|---|---|
committer | Henare Degan <henare.degan@gmail.com> | 2013-02-27 10:34:47 +1100 |
commit | 835b51c1de0d49e652fe9c9a60f0974275de070c (patch) | |
tree | 0d64a841f28654a66556bcc0c0bb1153bae645a2 /app/views/request/_view_html_prefix.html.erb | |
parent | 77a284d6d088f7aa6d40810d46a39658fc6cf2cd (diff) |
Rename ALL THE TEMPLATES!!1!!!one!!1!!
.rhtml is deprecated in favour of .erb in Rails 3
Diffstat (limited to 'app/views/request/_view_html_prefix.html.erb')
-rw-r--r-- | app/views/request/_view_html_prefix.html.erb | 12 |
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> + |