Sha256: 6729176ab97b5e14d3cf312a80da4e3d55dddababfc6accadda154061ba05116

Contents?: true

Size: 840 Bytes

Versions: 5

Compression:

Stored size: 840 Bytes

Contents

/.nested-set-item
.list-item rel=object.id id="#{object.class.name.underscore}_#{object.id}" class=(optional_cls('list-item--unpublished' => !object.published?))
  .list-item__move
    .icon.icon--move class="-move"
  .list-item__name
    = link_to object.name, polymorphic_path([:admin, object], action: :edit)
  .list-item__url
    = object.absolute_path

  .list-item__controls
    .list-item__group
      - if object.nav_published?
        = admin_nav_published_sign(class: '-nav')
      - if object.published?
        = admin_published_sign(class: '-state')
      - else
        = admin_unpublished_sign(class: '-state')
    .list-item__group
      = object_link_duplication(object)
    .list-item__group
      = object_link_edit(object)
    .list-item__group
      = object_link_new(object)
  .list-item__check
    = admin_cb(object)

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
adminos-1.0.0.pre.rc.5 lib/generators/templates/install/admin_panel/pages/views/admin_pages/_object.slim
adminos-1.0.0.pre.rc.4 lib/generators/templates/install/admin_panel/pages/views/admin_pages/_object.slim
adminos-1.0.0.pre.rc.3 lib/generators/templates/install/admin_panel/pages/views/admin_pages/_object.slim
adminos-1.0.0.pre.rc.2 lib/generators/templates/install/admin_panel/pages/views/admin_pages/_object.slim
adminos-1.0.0.pre.rc.1 lib/generators/templates/install/admin_panel/pages/views/admin_pages/_object.slim