diff options
author | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-01-26 20:28:50 +0100 |
---|---|---|
committer | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-01-26 20:28:50 +0100 |
commit | bf0ab8ce84a7562b6724513d1a84c44de647e4ac (patch) | |
tree | b7f65f256eb936d4de9cfbe9aa82aa522ee93e68 /app | |
parent | c23704427182d8b63600dd404f1295763e88addd (diff) |
Show thumbnail.
Diffstat (limited to 'app')
-rw-r--r-- | app/views/call_histories/_index_core.html.haml | 6 |
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? |