blob: aca570d730d8b962cdc2182efc18ec44fc7dbd11 (
plain)
1
2
3
4
5
6
7
8
|
- cache(['table_of_pbx_features_hunt_groups_row', I18n.locale, tenant, tenant.hunt_groups.count, tenant.hunt_groups.reorder(:updated_at).last]) do
-# HuntGroups
-#
- if (can?( :index, HuntGroup ) && tenant.hunt_groups.count > 0 ) || can?( :create, HuntGroup )
%h2= t('hunt_groups.index.page_title')
- if can?( :index, HuntGroup ) && tenant.hunt_groups.count > 0
= render "hunt_groups/index_core", :hunt_groups => tenant.hunt_groups
= render :partial => 'shared/create_link', :locals => {:parent => tenant, :child_class => HuntGroup}
|