Sha256: d6a0965f822530183b0c448415327b901dcfb3423374fccff33523e2088f77da

Contents?: true

Size: 841 Bytes

Versions: 2

Compression:

Stored size: 841 Bytes

Contents

- cache [:tree, menu] do
  div  class=("menu_div active_#{menu.active} visible_#{menu.visible} fake_#{menu.fake}") 
    - if menu.fake
      span.menu_name
        = menu.name
    - else
      - if menu.invisible_content
        span.warning
          | !
      - if menu.editable && menu.contents.empty? && menu.external_link.blank?
        span.blank
          | !
      span.menu_name
        = link_to menu.name, edit_url(menu.class, menu)
      span.menu_details
        span.content_type
          = menu.content_type
        span.updated
          = menu.updated_at_view
        span.edit_buttons
          = table_controls_edit_btn(edit_url(menu.class, menu))
          - if menu.deletable
            = table_controls_delete_btn(obj_url(menu.class, menu), btc('confirm', Mokio::Menu))
          - else
            span.blank-delete

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mokio-0.0.6 app/views/mokio/menus/_menu.html.slim
mokio-0.0.5 app/views/mokio/menus/_menu.html.slim