diff options
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/sim_cards/_index_core.html.haml | 2 | ||||
-rw-r--r-- | app/views/sim_cards/show.html.haml | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/app/views/sim_cards/_index_core.html.haml b/app/views/sim_cards/_index_core.html.haml index 460c8ba..16440ff 100644 --- a/app/views/sim_cards/_index_core.html.haml +++ b/app/views/sim_cards/_index_core.html.haml @@ -1,5 +1,6 @@ %table.table.table-striped %tr + %th= t('sim_cards.show.sim_number') %th= t('sim_cards.index.sip_account_id') %th= t('sip_accounts.index.phone_numbers') %th= t('sim_cards.index.auth_key') @@ -8,6 +9,7 @@ - for sim_card in sim_cards %tr + %td= sim_card.sim_number %td= sim_card.sip_account %td = render 'phone_numbers/listing', :phone_numbers => sim_card.sip_account.phone_numbers.order(:number) diff --git a/app/views/sim_cards/show.html.haml b/app/views/sim_cards/show.html.haml index 88822f1..4752aab 100644 --- a/app/views/sim_cards/show.html.haml +++ b/app/views/sim_cards/show.html.haml @@ -5,6 +5,11 @@ %table.table.table-striped %tr %td + %strong= t('sim_cards.show.sim_number') + ":" + %td + = @sim_card.sim_number + %tr + %td %strong= t('sim_cards.show.sip_account_id') + ":" %td = @sim_card.sip_account |