From d96593f72f45d8fa1c84205cd73ffd3e4e51d8e5 Mon Sep 17 00:00:00 2001 From: Stefan Wintermeyer Date: Sun, 27 Jan 2013 11:42:46 +0100 Subject: i18n display of the time. --- app/views/call_histories/_index_core.html.haml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'app/views') diff --git a/app/views/call_histories/_index_core.html.haml b/app/views/call_histories/_index_core.html.haml index 7409203..4ca340d 100644 --- a/app/views/call_histories/_index_core.html.haml +++ b/app/views/call_histories/_index_core.html.haml @@ -3,9 +3,14 @@ %table.table.table-striped %thead %tr + %th + Datum %th Uhrzeit %th + Misc + %th + Avatar %th Teilnehmer %th @@ -16,6 +21,10 @@ - if !call_history.display_number.blank? - phone_book_entry = call_history.phone_book_entry_by_number(call_history.display_number) %tr{:id => "call_history_id_#{call_history.id}_tr", :class => (call_history.duration.blank? ? 'warning' : '')} + %td + = l call_history.start_stamp, :format => :date_only + %td + = l call_history.start_stamp, :format => :short %td - if call_history.voicemail_message? .voicemail-message -- cgit v1.2.3