summaryrefslogtreecommitdiff
path: root/app/views/tenants/_table_of_phone_books.html.haml
blob: 9d9b97c967f96a51624c96f70b037efb33ff61af (plain)
1
2
3
4
5
6
7
8
- cache(['user_show_phone_books', I18n.locale, tenant, tenant.phone_books]) do
  %h2=t("phone_books.index.page_title")
  -# Phone books
  -#
  - if GuiFunction.display?('show_phone_books_in_user_show_view', current_user)
    - if can?( :index, PhoneBook )
      = render "phone_books/index_core", :phone_books => tenant.phone_books
      = render :partial => 'shared/create_link', :locals => {:parent => tenant, :child_class => PhoneBook}