diff options
author | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-01-26 23:19:09 +0100 |
---|---|---|
committer | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-01-26 23:19:09 +0100 |
commit | e5fa1fc32609426693b43a4e8b6208867371d30e (patch) | |
tree | baf00093a5d17c55f6004fb35aa6533280c45571 /app | |
parent | 2e21387f7b494ec2121b01219737700f3f59012c (diff) |
UI improvements.
Diffstat (limited to 'app')
-rw-r--r-- | app/views/call_histories/_index_core.html.haml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/views/call_histories/_index_core.html.haml b/app/views/call_histories/_index_core.html.haml index 489892c..7409203 100644 --- a/app/views/call_histories/_index_core.html.haml +++ b/app/views/call_histories/_index_core.html.haml @@ -6,6 +6,7 @@ %th Uhrzeit %th + %th Teilnehmer %th Status @@ -52,7 +53,7 @@ %div.thumbnail %a.thumbnail{:href => call_history.display_image(:profile, phone_book_entry)} =image_tag(image, :alt => phone_book_entry.to_s, :class => 'img-rounded') - + %td - display_name = call_history.display_name - if display_name.blank? - display_name = phone_book_entry.to_s @@ -68,7 +69,7 @@ = t("call_histories.call_results.#{call_history.result}") %td - if @sip_account.registration && can?(:call, call_history) - = link_to t('call_histories.index.actions.call'), call_sip_account_call_history_path(@sip_account, call_history), :method => :put + = link_to raw("<i class = 'icon-bell'></i> ") + t('call_histories.index.actions.call'), call_sip_account_call_history_path(@sip_account, call_history), :method => :put, :class => 'btn btn-mini' %td - if can? :destroy, call_history = link_to raw("<i class = 'icon-trash icon-white'></i> ") + t('call_histories.index.actions.destroy'), [@sip_account, call_history], :method => :delete, :remote => true, :class => 'btn btn-mini btn-danger' |