-if @user
  div
    .breadcrumb
      ul.breadcrumb-list
        li
          a(href=index_path)
            = t :front_page
            span.arrow ›
        li
          a(href=alliances_path)
            = 'Vaaliliitot'
            span.arrow ›
    .tabs-container
      .tabs
        ul.tabs-list
          li.active: a(href='#') = t 'navi.all'
      .tab-content
        .tab
          .open-calls
            = render @alliances
          .button-row
            a.btn.js-modal(href=new_alliance_path)
              = t('alliances.create_alliance')

-if @user
  div
    .breadcrumb
      ul.breadcrumb-list
        li
          a(href=index_path)
            = t :front_page
            span.arrow ›
        li
          a(href=alliances_path)
            = 'Vaaliliitot'
            span.arrow ›
    .tabs-container
      .tabs
        ul.tabs-list
          li.active: a(href='#') = t 'navi.all'
      .tab-content
        .tab
          = render @alliances
          .hr
          .button-row
            - if can_admin_calls?
              a.btn.js-modal(href=new_alliance_path)
                = t('alliances.create_alliance')

Create Alliance link shown to only union employees
Create Alliance link shown to only union employees

experq/hhj,ayystudentunion/hhj,experq/hhj,experq/hhj,ayystudentunion/hhj,experq/hhj,ayystudentunion/hhj,ayystudentunion/hhj