Sha256: 464bf9efe877661dfeb72280942bcc8ff2a06540956bca5fa8ee715869eb41ae
Contents?: true
Size: 567 Bytes
Versions: 2
Compression:
Stored size: 567 Bytes
Contents
<%- if page.redirects_to_external? -%> <%= link_to( h(page.name), page.urlname, :title => (options[:show_title] == true ? page.title : nil), :target => configuration(:open_external_links_in_new_tab) ? '_blank' : nil, :class => external_page_css_class(page) ) -%> <%- else -%> <%= link_to( h(page.name), @preview_mode ? 'javascript:void(0)' : show_alchemy_page_path(page), { :class => (page_active?(page) ? 'active' : nil), :title => (options[:show_title] ? page.title : nil), :lang => page.language_code, 'data-page-id' => page.id } ) -%> <%- end -%>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
alchemy_cms-2.1.12 | app/views/alchemy/navigation/_link.html.erb |
alchemy_cms-2.1.11 | app/views/alchemy/navigation/_link.html.erb |