From a11fb318d4f877173c90bc8c3be464d77eea50eb Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Mon, 8 Apr 2019 02:19:05 +0200 Subject: [PATCH] Use image preview in sidebar attachments list. --- .../app/views/ticket_zoom/sidebar_article_attachment.jst.eco | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/app/views/ticket_zoom/sidebar_article_attachment.jst.eco b/app/assets/javascripts/app/views/ticket_zoom/sidebar_article_attachment.jst.eco index f08429406..7a0ba5748 100644 --- a/app/assets/javascripts/app/views/ticket_zoom/sidebar_article_attachment.jst.eco +++ b/app/assets/javascripts/app/views/ticket_zoom/sidebar_article_attachment.jst.eco @@ -5,7 +5,7 @@
<% if attachment.preferences && attachment.preferences['Content-Type'] && @ContentTypeIcon(attachment.preferences['Content-Type']): %> <% if @canPreview(attachment.preferences['Content-Type']): %> - + <% else: %> <%- @Icon( @ContentTypeIcon(attachment.preferences['Content-Type']) ) %> <% end %>