%section
  .page-header
    .pull-right
      = action_button "primary", "Add conference", new_conference_path, hint: "Add a new conference"
    %h1 List of conferences
  - if params[:term].blank? and Conference.all.empty?
    .row
      .span16
        .blank-slate
          %p
            There is not a single conference yet.
            Start adding a conference by clicking on the
            button on the right.
  - else
    = render 'shared/search_and_table', collection: @conferences

%section
  .page-header
    .pull-right
      = action_button "primary", "Add conference", new_conference_path, hint: "Add a new conference"
      - if policy(conference).orga?
        = action_button "primary", "Manage conferences", conferences_path, hint: "Delete conferences"
    %h1 List of conferences
  - if params[:term].blank? and Conference.all.empty?
    .row
      .span16
        .blank-slate
          %p
            There is not a single conference yet.
            Start adding a conference by clicking on the
            button on the right.
  - else
    = render 'shared/search_and_table', collection: @conferences

Add link to conferences list to home for orga
Add link to conferences list to home for orga
