diff options
author | Peter Kozak <spag@golwen.net> | 2013-04-30 11:43:34 +0200 |
---|---|---|
committer | Peter Kozak <spag@golwen.net> | 2013-04-30 11:43:34 +0200 |
commit | 4b118eb90f6b87d3346c77efd6d6c2d37ef0e6d1 (patch) | |
tree | 10f951d62841dc8cc5a3490135d27c689954973c /app | |
parent | 40875583e650747c6ad7f3be22ed5c365c667f36 (diff) |
comment removed
Diffstat (limited to 'app')
-rw-r--r-- | app/views/call_histories/_index_core.html.haml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/call_histories/_index_core.html.haml b/app/views/call_histories/_index_core.html.haml index fd335d4..8c40890 100644 --- a/app/views/call_histories/_index_core.html.haml +++ b/app/views/call_histories/_index_core.html.haml @@ -72,10 +72,9 @@ = call_history.result.gsub('_', ' ').titleize - else = t("call_histories.call_results.#{call_history.result}") - /= call_history.inspect %td - if @sip_account.registration && can?(:call, call_history) = 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' |