Sha256: 9aaf2307d0f1f3391716f0d6fa6130a12f9b73d1808bd61529832a5a055009a7

Contents?: true

Size: 541 Bytes

Versions: 5

Compression:

Stored size: 541 Bytes

Contents

%li{ :class => object.children.empty? ? 'file' : 'folder' }
  - link_class = object.class.to_s.underscore.split('_').first
  - link_class = 'external' if link_class.eql?('menu')
  - link_to  object.url, :class => 'tree-link' do
    = content_tag(:span, object.title, :class => "small-icons #{link_class}")
    = content_tag :span, '', :class => "small-icons #{object.active ? 'see-on' : 'see-off'}"
  - unless object.children.nil? or object.children.blank?
    %ul= render :partial => 'admin/menu_links/show', :collection => object.children

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
forgeos_cms-1.9.5.rc1 app/views/admin/menu_links/_show.html.haml
forgeos_cms-1.9.4 app/views/admin/menu_links/_show.html.haml
forgeos_cms-1.9.2 app/views/admin/menu_links/_show.html.haml
forgeos_cms-1.9.1 app/views/admin/menu_links/_show.html.haml
forgeos_cms-1.9.0 app/views/admin/menu_links/_show.html.haml