diff options
author | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-01-21 21:30:48 +0100 |
---|---|---|
committer | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-01-22 00:02:50 +0100 |
commit | d8fe3b636cab1504cb5d3cb5dc57ed818749ccf5 (patch) | |
tree | 8da5973505763a836e59d59c7604f1b381891973 /app/views/sip_accounts | |
parent | c8973406e83861f593af33c959abd4529a855437 (diff) |
Twitter Bootstrap stuff.
Diffstat (limited to 'app/views/sip_accounts')
-rw-r--r-- | app/views/sip_accounts/_index_core.html.haml | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/app/views/sip_accounts/_index_core.html.haml b/app/views/sip_accounts/_index_core.html.haml index f8dac6f..cac29d0 100644 --- a/app/views/sip_accounts/_index_core.html.haml +++ b/app/views/sip_accounts/_index_core.html.haml @@ -4,15 +4,14 @@ %th= t('sip_accounts.index.caller_name') %th= t('sip_accounts.index.phone_numbers') %th= t('phones.name') - - - reset_cycle + - for sip_account in sip_accounts - %tr{:class => cycle('odd', 'even')} + %tr %td - if sip_account.registration - =image_tag 'icons/phone-down-green-32x.png' + %i.icon-ok - else - =image_tag 'icons/phone-down-grey-32x.png' + %i.icon-thumbs-down %td = sip_account.caller_name - phone_numbers = sip_account.phone_numbers |