summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-27 11:42:46 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-27 11:42:46 +0100
commitd96593f72f45d8fa1c84205cd73ffd3e4e51d8e5 (patch)
treeb9b4baea85537c1d1213ff896a3f0433b2cb7b79 /app/views
parente758cec9a842e75abe0a26312c4d7d3e8530b84a (diff)
i18n display of the time.
Diffstat (limited to 'app/views')
-rw-r--r--app/views/call_histories/_index_core.html.haml9
1 files changed, 9 insertions, 0 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}")}