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