diff options
author | Peter Kozak <spag@golwen.net> | 2013-02-25 17:12:49 -0500 |
---|---|---|
committer | Peter Kozak <spag@golwen.net> | 2013-02-25 17:12:49 -0500 |
commit | 90ccb06c88c920c0a21282acf86c0ecad6b6310a (patch) | |
tree | e2a99204a3de0ff155e62ed896711efa401fa4a3 /app | |
parent | 04bcdeca551f21748becfbf610e6ea2001c18bc1 (diff) |
icons
Diffstat (limited to 'app')
-rw-r--r-- | app/views/call_forwards/_index_core.html.haml | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/app/views/call_forwards/_index_core.html.haml b/app/views/call_forwards/_index_core.html.haml index 221baf2..3c57405 100644 --- a/app/views/call_forwards/_index_core.html.haml +++ b/app/views/call_forwards/_index_core.html.haml @@ -1,15 +1,20 @@ %table.table.table-striped %thead %tr + %th %th= t('call_forwards.index.call_forward_case') %th= t('call_forwards.index.timeout') %th= t('call_forwards.index.destination') - %th= t('call_forwards.index.source') - %th= t('call_forwards.index.active') + %th= t('call_forwards.index.source') %tbody - for call_forward in call_forwards %tr + %td + -if call_forward.active + %i.icon-ok + - else + %i.icon-ban-circle %td= t("call_forward_cases.#{call_forward.call_forward_case.value}") %td= call_forward.timeout %td @@ -20,5 +25,5 @@ - if call_forward.destinationable_id = ": #{call_forward.destinationable}" %td= call_forward.source - %td= call_forward.active - =render :partial => 'shared/index_view_edit_destroy_part', :locals => {:parent => call_forward.call_forwardable, :child => call_forward}
\ No newline at end of file + =render :partial => 'shared/index_view_edit_destroy_part', :locals => {:parent => call_forward.call_forwardable, :child => call_forward} + |