Sha256: 176788530fe14a18f12c873cb09d17329155e2b8f8da7689f170b98ee9df8bc3

Contents?: true

Size: 586 Bytes

Versions: 12

Compression:

Stored size: 586 Bytes

Contents

ruby:
  title ||= nil

ul.breadcrumbs
  li
    a.-home href=fae.root_path
      i.icon-home
  - fav_nav_array = @fae_navigation.items
  - @fae_navigation.coordinates.each_with_index do |coors, i|
    - link = fav_nav_array[coors][:path]
    - if (i < @fae_navigation.coordinates.length - 1 || title.present?) && fav_nav_array[coors][:nested_path].present?
      li
        a href=fav_nav_array[coors][:nested_path] = fav_nav_array[coors][:text]
    - else
      li = fav_nav_array[coors][:text]
    - fav_nav_array = fav_nav_array[coors][:subitems]

  - if title.present?
    li = title

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
fae-rails-3.0.0 app/views/fae/application/_breadcrumb.html.slim
fae-rails-2.2.0 app/views/fae/application/_breadcrumb.html.slim
fae-rails-2.1.0 app/views/fae/application/_breadcrumb.html.slim
fae-railsz-2.1.0 app/views/fae/application/_breadcrumb.html.slim
fae-rails-2.0.0 app/views/fae/application/_breadcrumb.html.slim
fae-rails-1.7.1 app/views/fae/application/_breadcrumb.html.slim
fae-rails-1.7.0 app/views/fae/application/_breadcrumb.html.slim
fae-rails-1.6.0 app/views/fae/application/_breadcrumb.html.slim
fae-rails-1.5.1 app/views/fae/application/_breadcrumb.html.slim
fae-rails-1.5.0 app/views/fae/application/_breadcrumb.html.slim
fae-rails-1.4.1 app/views/fae/application/_breadcrumb.html.slim
fae-rails-1.4.0 app/views/fae/application/_breadcrumb.html.slim