Sha256: db605f5f7ab49353da1d10dcce60182029ab7f0558f52ab4808d5b525e102d1d

Contents?: true

Size: 468 Bytes

Versions: 39

Compression:

Stored size: 468 Bytes

Contents

<% css_classes = [options[:page] == page ? "active" : nil] %>
<% if page == pages.first %>
  <% css_classes << "first" %>
<% elsif page == pages.last %>
  <% css_classes << "last" %>
<% end %>
<%= link_to_unless(
  !options[:link_active_page] && options[:page] == page,
  h(page.name),
  show_alchemy_page_path(page),
  class: css_classes.compact.join(" "),
  title: page.title
) do |name, url, html_options| %>
  <%= content_tag :span, name, html_options %>
<% end %>

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
alchemy_cms-3.1.3 app/views/alchemy/breadcrumb/_page.html.erb
alchemy_cms-3.2.0.beta app/views/alchemy/breadcrumb/_page.html.erb
alchemy_cms-2.9.1 app/views/alchemy/breadcrumb/_page.html.erb
alchemy_cms-3.1.1 app/views/alchemy/breadcrumb/_page.html.erb
alchemy_cms-3.0.4 app/views/alchemy/breadcrumb/_page.html.erb
alchemy_cms-3.1.0 app/views/alchemy/breadcrumb/_page.html.erb
alchemy_cms-3.1.0.rc3 app/views/alchemy/breadcrumb/_page.html.erb
alchemy_cms-3.1.0.rc2 app/views/alchemy/breadcrumb/_page.html.erb
alchemy_cms-3.1.0.rc1 app/views/alchemy/breadcrumb/_page.html.erb
alchemy_cms-3.1.0.beta6 app/views/alchemy/breadcrumb/_page.html.erb
alchemy_cms-3.1.0.beta5 app/views/alchemy/breadcrumb/_page.html.erb
alchemy_cms-3.1.0.beta4 app/views/alchemy/breadcrumb/_page.html.erb
alchemy_cms-3.0.3 app/views/alchemy/breadcrumb/_page.html.erb
alchemy_cms-3.1.0.beta3 app/views/alchemy/breadcrumb/_page.html.erb
alchemy_cms-3.1.0.beta2 app/views/alchemy/breadcrumb/_page.html.erb
alchemy_cms-3.1.0.beta1 app/views/alchemy/breadcrumb/_page.html.erb
alchemy_cms-3.0.2 app/views/alchemy/breadcrumb/_page.html.erb
alchemy_cms-3.0.1 app/views/alchemy/breadcrumb/_page.html.erb
alchemy_cms-3.0.0 app/views/alchemy/breadcrumb/_page.html.erb
alchemy_cms-3.0.0.rc8 app/views/alchemy/breadcrumb/_page.html.erb