Sha256: 542f5ffc65b35f75023738cc32e1e856839b4b39c64aaf7c5eaa2a192002cf90

Contents?: true

Size: 584 Bytes

Versions: 2

Compression:

Stored size: 584 Bytes

Contents

.header
  .header__wrapper.account-nav__wrapper
    - if HackathonConfig['logo_asset'].present?
      .header-logo
        = link_to root_path do
          = image_tag HackathonConfig['logo_asset'], id: 'logo', alt: "#{HackathonConfig['name']} logo", title: HackathonConfig['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

2 entries across 2 versions & 1 rubygems

Version Path
hackathon_manager-0.14.1 app/views/layouts/hackathon_manager/_header.html.haml
hackathon_manager-0.14.0 app/views/layouts/hackathon_manager/_header.html.haml