Sha256: 78521a8498b50651ba4717abc7feb27cd76f64cfc91f20dcd746765b066892de

Contents?: true

Size: 631 Bytes

Versions: 50

Compression:

Stored size: 631 Bytes

Contents

.header
  .header__wrapper.account-nav__wrapper
    - if Rails.configuration.hackathon['logo_asset']
      .header-logo
        = link_to root_path do
          = image_tag Rails.configuration.hackathon['logo_asset'], id: 'logo', alt: "#{Rails.configuration.hackathon['name']} logo", title: Rails.configuration.hackathon['name'], class: 'header-logo__image'
    - else
      .header-nav
        = btn_link_to "Home", root_path
    .header-nav
      - if user_signed_in?
        - if current_user.admin?
          = btn_link_to "Manage", manage_root_path
        = btn_link_to "Sign Out", destroy_user_session_path, method: :delete

Version data entries

50 entries across 50 versions & 1 rubygems

Version Path
hackathon_manager-0.13.12 app/views/layouts/hackathon_manager/_header.html.haml
hackathon_manager-0.13.11 app/views/layouts/hackathon_manager/_header.html.haml
hackathon_manager-0.13.10 app/views/layouts/hackathon_manager/_header.html.haml
hackathon_manager-0.13.9 app/views/layouts/hackathon_manager/_header.html.haml
hackathon_manager-0.13.8 app/views/layouts/hackathon_manager/_header.html.haml
hackathon_manager-0.13.7 app/views/layouts/hackathon_manager/_header.html.haml
hackathon_manager-0.13.6 app/views/layouts/hackathon_manager/_header.html.haml
hackathon_manager-0.13.5 app/views/layouts/hackathon_manager/_header.html.haml
hackathon_manager-0.13.4 app/views/layouts/hackathon_manager/_header.html.haml
hackathon_manager-0.13.3 app/views/layouts/hackathon_manager/_header.html.haml
hackathon_manager-0.13.2 app/views/layouts/hackathon_manager/_header.html.haml
hackathon_manager-0.13.1 app/views/layouts/hackathon_manager/_header.html.haml
hackathon_manager-0.13.0 app/views/layouts/hackathon_manager/_header.html.haml
hackathon_manager-0.12.2 app/views/layouts/hackathon_manager/_header.html.haml
hackathon_manager-0.12.1 app/views/layouts/hackathon_manager/_header.html.haml
hackathon_manager-0.12.0 app/views/layouts/hackathon_manager/_header.html.haml
hackathon_manager-0.11.2 app/views/layouts/hackathon_manager/_header.html.haml
hackathon_manager-0.11.1 app/views/layouts/hackathon_manager/_header.html.haml
hackathon_manager-0.11.0 app/views/layouts/hackathon_manager/_header.html.haml
hackathon_manager-0.10.3 app/views/layouts/hackathon_manager/_header.html.haml