From bf0ab8ce84a7562b6724513d1a84c44de647e4ac Mon Sep 17 00:00:00 2001 From: Stefan Wintermeyer Date: Sat, 26 Jan 2013 20:28:50 +0100 Subject: Show thumbnail. --- app/views/call_histories/_index_core.html.haml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'app/views/call_histories') 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? -- cgit v1.2.3