summaryrefslogtreecommitdiff
path: root/app/views/tenants/_table_of_conferences.html.haml
blob: 97759897a8eccfe422e67ec7d9a49af398fa803e (plain)
1
2
3
4
5
6
7
8
- cache(['table_of_pbx_features_conferences_row', I18n.locale, tenant, tenant.conferences.count, tenant.conferences.reorder(:updated_at).last]) do
  -# Conferences
  -#
  - if (can?( :index, Conference ) && tenant.conferences.count > 0 ) || can?( :create, Conference )
    %h2= t('conferences.index.page_title')
    - if can?( :index, Conference ) && tenant.conferences.count > 0
      = render "conferences/index_core", :conferences => tenant.conferences
    = render :partial => 'shared/create_link', :locals => {:parent => tenant, :child_class => Conference}