diff options
-rw-r--r-- | app/views/call_histories/_index_core.html.haml | 9 | ||||
-rw-r--r-- | config/locales/de.yml | 3 | ||||
-rw-r--r-- | config/locales/en.yml | 4 |
3 files changed, 14 insertions, 2 deletions
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 @@ -4,8 +4,13 @@ %thead %tr %th + Datum + %th Uhrzeit %th + Misc + %th + Avatar %th Teilnehmer %th @@ -17,6 +22,10 @@ - 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 %a{:href => sip_account_voicemail_messages_path(@sip_account, :anchor => "message_#{call_history.voicemail_message.id}")} diff --git a/config/locales/de.yml b/config/locales/de.yml index 087a2d3..e82f513 100644 --- a/config/locales/de.yml +++ b/config/locales/de.yml @@ -193,4 +193,5 @@ de: default: ! '%A, %d. %B %Y, %H:%M Uhr' long: ! '%A, %d. %B %Y, %H:%M Uhr' short: ! '%d. %B, %H:%M Uhr' - pm: nachmittags
\ No newline at end of file + pm: nachmittags + date_only: '%d.%m.%Y'
\ No newline at end of file diff --git a/config/locales/en.yml b/config/locales/en.yml index dabe98d..4f29799 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -3,4 +3,6 @@ en: dont_use_me: "NO ME USES!" # Temporal, just till we create the Voice Mail stuff. voice_mail: "Voice Mail" - fax: "Fax"
\ No newline at end of file + fax: "Fax" + time: + date_only: '%m.%d.%Y'
\ No newline at end of file |