Sha256: eca57c561a8248e001b8d33da820249d0d3fe4e33cdc265c76b6b6efb1259bcc

Contents?: true

Size: 278 Bytes

Versions: 49

Compression:

Stored size: 278 Bytes

Contents

- page ||= @page
- link_last ||= false
- crumbs = page.ancestors
- crumbs << page
- if crumbs.any?
  %ol.breadcrumb{style: "margin-bottom: 5px;"}
    - crumbs.each do |crumb|
      %li
        = link_to_if (crumb != crumbs.last) || link_last, crumb.title, wiki_page_path(crumb)

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
tawork-0.0.50 app/views/wiki/pages/_breadcrumb.html.haml
tawork-0.0.49 app/views/wiki/pages/_breadcrumb.html.haml
tawork-0.0.48 app/views/wiki/pages/_breadcrumb.html.haml
tawork-0.0.47 app/views/wiki/pages/_breadcrumb.html.haml
tawork-0.0.46 app/views/wiki/pages/_breadcrumb.html.haml
tawork-0.0.45 app/views/wiki/pages/_breadcrumb.html.haml
tawork-0.0.44 app/views/wiki/pages/_breadcrumb.html.haml
tawork-0.0.43 app/views/wiki/pages/_breadcrumb.html.haml
tawork-0.0.42 app/views/wiki/pages/_breadcrumb.html.haml
tawork-0.0.41 app/views/wiki/pages/_breadcrumb.html.haml
tawork-0.0.40 app/views/wiki/pages/_breadcrumb.html.haml
tawork-0.0.39 app/views/wiki/pages/_breadcrumb.html.haml
tawork-0.0.38 app/views/wiki/pages/_breadcrumb.html.haml
tawork-0.0.37 app/views/wiki/pages/_breadcrumb.html.haml
tawork-0.0.36 app/views/wiki/pages/_breadcrumb.html.haml
tawork-0.0.35 app/views/wiki/pages/_breadcrumb.html.haml
tawork-0.0.34 app/views/wiki/pages/_breadcrumb.html.haml
tawork-0.0.33 app/views/wiki/pages/_breadcrumb.html.haml
tawork-0.0.31 app/views/wiki/pages/_breadcrumb.html.haml
tawork-0.0.30 app/views/wiki/pages/_breadcrumb.html.haml