diff options
-rw-r--r-- | app/views/request/_bubble.rhtml | 2 | ||||
-rw-r--r-- | public/images/icon_image_gif_large.png | bin | 0 -> 2575 bytes | |||
-rw-r--r-- | todo.txt | 3 |
3 files changed, 4 insertions, 1 deletions
diff --git a/app/views/request/_bubble.rhtml b/app/views/request/_bubble.rhtml index a9e904c0f..862b1058c 100644 --- a/app/views/request/_bubble.rhtml +++ b/app/views/request/_bubble.rhtml @@ -7,7 +7,7 @@ <p> <% attachments.each do |a| %> <% attachment_url = get_attachment_url(:id => incoming_message.info_request_id, :incoming_message_id => incoming_message.id, :part => a.url_part_number, :file_name => a.display_filename) %> - <% if ['application/pdf', 'application/msword', 'application/msexcel', 'text/plain', 'image/tiff'].include?(a.content_type) %> + <% if ['application/pdf', 'application/msword', 'application/msexcel', 'text/plain', 'image/tiff', 'image/gif'].include?(a.content_type) %> <a href="<%=attachment_url%>"><img class="attachment_image" alt="Attachment" src="/images/icon_<%=a.content_type.sub('/', '_')%>_large.png"></a> <% else %> Attachment: diff --git a/public/images/icon_image_gif_large.png b/public/images/icon_image_gif_large.png Binary files differnew file mode 100644 index 000000000..424d1e0fd --- /dev/null +++ b/public/images/icon_image_gif_large.png @@ -1,3 +1,5 @@ +Isn't showing admin things that haven't been touched for 2 weeks or whatever + FOI requests to use to test it ============================== @@ -200,6 +202,7 @@ Quoting fixing TODO: http://www.whatdotheyknow.com/request/30/response/166 http://www.whatdotheyknow.com/request/road_safety_campaign_expenditure http://www.whatdotheyknow.com/request/47/response/283 + http://www.whatdotheyknow.com/request/secured_convictions_aided_by_cct Char encoding and other bad formatting: http://www.whatdotheyknow.com/request/107/response/144 http://www.whatdotheyknow.com/request/35/response/177 |