Sha256: 6db577e5a731cadd3c395e5d01fa191b9f2408a238e6ca58775c13ee5ce1ca11

Contents?: true

Size: 793 Bytes

Versions: 9

Compression:

Stored size: 793 Bytes

Contents

- title 'Users'

- if @users.empty?
  .columns
    .empty-default
      %h2 No users
      %p This is weird. How are you even seeing this?
      = link_to ficon(:plus, 'New user'), push_type.new_user_path, class: 'button radius success'

- else
  .large-8.columns
    %section
      %ul.user-list.small-block-grid-1.medium-block-grid-2
        - for user in @users.all
          %li= render 'user', user: user

  .large-4.columns
    .side-panel{ :'side-panel' => true }
      .padded
        .pagination-centered
          .pagination-stats #{ pluralize @users.total_count, 'user' } - Page #{ @users.current_page } of #{ @users.total_pages }
          = paginate @users
      .cta.text-center
        = link_to ficon(:plus, 'New user'), push_type.new_user_path, class: 'button radius success'

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
push_type_admin-0.4.0.beta.3 app/views/push_type/users/index.html.haml
push_type_admin-0.3.3 app/views/push_type/users/index.html.haml
push_type_admin-0.3.1 app/views/push_type/users/index.html.haml
push_type_admin-0.2.1 app/views/push_type/users/index.html.haml
push_type_admin-0.2.0 app/views/push_type/users/index.html.haml
push_type_admin-0.2.0.beta2 app/views/push_type/users/index.html.haml
push_type_admin-0.1.1 app/views/push_type/users/index.html.haml
push_type_admin-0.1.0 app/views/push_type/users/index.html.haml
push_type_admin-0.1.0.beta3 app/views/push_type/users/index.html.haml