summaryrefslogtreecommitdiff
path: root/app/views/call_histories
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-26 20:28:50 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-26 20:28:50 +0100
commitbf0ab8ce84a7562b6724513d1a84c44de647e4ac (patch)
treeb7f65f256eb936d4de9cfbe9aa82aa522ee93e68 /app/views/call_histories
parentc23704427182d8b63600dd404f1295763e88addd (diff)
Show thumbnail.
Diffstat (limited to 'app/views/call_histories')
-rw-r--r--app/views/call_histories/_index_core.html.haml6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/views/call_histories/_index_core.html.haml b/app/views/call_histories/_index_core.html.haml
index f4e1565..d80071c 100644
--- a/app/views/call_histories/_index_core.html.haml
+++ b/app/views/call_histories/_index_core.html.haml
@@ -47,7 +47,11 @@
%td
- image = call_history.display_image(:small, phone_book_entry)
- if image
- = image_tag(image, :itemprop => 'image')
+ %ul.thumbnails
+ %li.span1
+ %div.thumbnail
+ %a.thumbnail{:href => image}
+ =image_tag(image, :alt => phone_book_entry.to_s, :class => 'img-rounded')
- display_name = call_history.display_name
- if display_name.blank?