summaryrefslogtreecommitdiff
path: root/app/views/users/_sip_accounts.html.haml
blob: 18611050ddfea70995a6d995845c72a0ae0c62a2 (plain)
1
2
3
4
5
6
7
-# SIP accounts
-#
- if (can?( :index, SipAccount ) && user.sip_accounts.count > 0 ) || can?( :create, SipAccount )
  %h2= t('sip_accounts.index.page_title')
  - if can?( :index, SipAccount ) && user.sip_accounts.count > 0
    = render "sip_accounts/index_core", :sip_accounts => user.sip_accounts
  = render :partial => 'shared/create_link', :locals => {:parent => user, :child_class => SipAccount}