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