diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/views/voicemail_messages/_index_core.html.haml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/voicemail_messages/_index_core.html.haml b/app/views/voicemail_messages/_index_core.html.haml index 57226aa..e5dc853 100644 --- a/app/views/voicemail_messages/_index_core.html.haml +++ b/app/views/voicemail_messages/_index_core.html.haml @@ -32,7 +32,8 @@ - image = nil - if !voicemail_message.cid_number.blank? - phone_book_entry = voicemail_message.phone_book_entry_by_number(voicemail_message.cid_number) - - image = phone_book_entry.image_url(:mini) + - if phone_book_entry + - image = phone_book_entry.image_url(:mini) %tr{:id => "message_#{voicemail_message.uuid}"} %td.select_box= check_box_tag("selected_uuids[]", voicemail_message.uuid, false, :uuid => "select_item_#{voicemail_message.uuid}", :class => 'select_item') %td |