Sha256: 3849a005f63c03805eaa7c440aadb712c915c7229e5f2ad53a2dd01b15acce32

Contents?: true

Size: 589 Bytes

Versions: 13

Compression:

Stored size: 589 Bytes

Contents

%nav.sidebar
  - case @active
  - when :shop
    = link_to 'Товары', [:admin, :products], class: 'sidebar__link'
  - when :materials
    = link_to 'Статьи', [:admin, :articles], class: 'sidebar__link'
  - when :system
    = link_to 'Администраторы', [:admin, :managers], class: 'sidebar__link'
    = link_to 'Пользователи', [:admin, :users], class: 'sidebar__link'
  - else
    = link_to 'Демо active', nil, class: ['sidebar__link', '_active']
    = link_to nil, class: ['sidebar__link'] do
      Демо
      %span.sidebar__badge 2

Version data entries

13 entries across 8 versions & 1 rubygems

Version Path
redde-0.1.18 lib/generators/redde/layout/templates/base/_sidebar.html.haml
redde-0.1.18 spec/dummy/app/views/admin/base/_sidebar.html.haml
redde-0.1.17 spec/dummy/app/views/admin/base/_sidebar.html.haml
redde-0.1.17 lib/generators/redde/layout/templates/base/_sidebar.html.haml
redde-0.1.16 spec/dummy/app/views/admin/base/_sidebar.html.haml
redde-0.1.16 lib/generators/redde/layout/templates/base/_sidebar.html.haml
redde-0.1.15 spec/dummy/app/views/admin/base/_sidebar.html.haml
redde-0.1.15 lib/generators/redde/layout/templates/base/_sidebar.html.haml
redde-0.1.14 spec/dummy/app/views/admin/base/_sidebar.html.haml
redde-0.1.14 lib/generators/redde/layout/templates/base/_sidebar.html.haml
redde-0.1.13 lib/generators/redde/layout/templates/base/_sidebar.html.haml
redde-0.1.12 lib/generators/redde/layout/templates/base/_sidebar.html.haml
redde-0.1.11 lib/generators/redde/layout/templates/base/_sidebar.html.haml