Sha256: 349f482374345d189d699437fd62c2775a7a23c173d0abad686cf0212cc00509

Contents?: true

Size: 930 Bytes

Versions: 6

Compression:

Stored size: 930 Bytes

Contents

%nav{ class: "navbar navbar-default navbar-fixed-top", role: "navigation" }
  .navbar-header
    %button{ class: "navbar-toggle", type: "button", data: { toggle: "collapse", target: ".navbar-ex1-collapse" } }
      %span.sr-only
        Toggle Navigation
      %span.icon-bar
      %span.icon-bar
      %span.icon-bar
    .navbar-brand
      = link_to image_tag('application_logo.png'), IuguSDK::app_main_url
  %div.collapse.navbar-collapse.navbar-ex1-collapse
    %ul.nav.navbar-nav
      %li{ :class => "#{controller_name=='profile'?'active':''}" }
        %a{ :href => profile_settings_path }
          = I18n.t "iugu.profile"
      %li{ class: "#{controller_name=='account'?'active':''}" }
        - if IuguSDK::enable_multiple_accounts == false && current_user.accounts.count <= 1
          = link_to I18n.t("iugu.account"), account_view_path
        - else
          = link_to I18n.t("iugu.accounts"), account_settings_path

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
iugusdk-1.0.11 app/views/iugu/shared/_settings.header.html.haml
iugusdk-1.0.10 app/views/iugu/shared/_settings.header.html.haml
iugusdk-1.0.9 app/views/iugu/shared/_settings.header.html.haml
iugusdk-1.0.8 app/views/iugu/shared/_settings.header.html.haml
iugusdk-1.0.7 app/views/iugu/shared/_settings.header.html.haml
iugusdk-1.0.6 app/views/iugu/shared/_settings.header.html.haml