diff options
author | francis <francis> | 2008-01-21 18:35:28 +0000 |
---|---|---|
committer | francis <francis> | 2008-01-21 18:35:28 +0000 |
commit | c0098a847c662e4c1f622e622d383ad9f7d263a1 (patch) | |
tree | 32152fee7bed66fec74655e9397cd548a3ba0638 | |
parent | b9fed2f418964d44948d00305fb64db3d854ba44 (diff) |
Plain text icon
-rw-r--r-- | app/views/request/_bubble.rhtml | 2 | ||||
-rw-r--r-- | public/images/icon_text_plain_large.png | bin | 0 -> 2138 bytes |
2 files changed, 1 insertions, 1 deletions
diff --git a/app/views/request/_bubble.rhtml b/app/views/request/_bubble.rhtml index 9ad023aad..f8f92e24d 100644 --- a/app/views/request/_bubble.rhtml +++ b/app/views/request/_bubble.rhtml @@ -3,7 +3,7 @@ <div class="xboxcontent"> <% if not attachments.nil? and attachments.size > 0 %> <p> <% attachments.each do |a| %> - <% if ['application/pdf', 'application/msword'].include?(a.content_type) %> + <% if ['application/pdf', 'application/msword', 'text/plain'].include?(a.content_type) %> <img src="/images/icon_<%=a.content_type.sub('/', '_')%>_large.png" align="absmiddle"> <% else %> Attachment: diff --git a/public/images/icon_text_plain_large.png b/public/images/icon_text_plain_large.png Binary files differnew file mode 100644 index 000000000..f74a997ba --- /dev/null +++ b/public/images/icon_text_plain_large.png |