Sha256: 996e4a98676afeae73b65a054260a47e61366e665f086b6713d9d3b17cf116bc

Contents?: true

Size: 1.47 KB

Versions: 124

Compression:

Stored size: 1.47 KB

Contents

- @page_title = t('users') + ' - ' + default_page_title

= render_region :top

.outset
  %table.index#users
    %thead
      %tr
        - render_region :thead do |thead|
          - thead.title_header do
            %th.user== #{t('name')} / #{t('username')}
          - thead.roles_header do
            %th.roles= t('roles')
          - thead.actions_header do
            %th.actions{:style=>"width:9em"}= t('modify')
    %tbody
      - @users.each do |user|
        %tr[user]
          - render_region :tbody, :locals => {:user => user} do |tbody|
            - tbody.title_cell do
              %td.name
                = link_to image_tag(gravatar_url(user.email, :size=>"32px"), :class=>"avatar avatar_32x32", :width=>32, :height=>32, :alt=>""), edit_admin_user_url(user)
                = link_to user.name, edit_admin_user_url(user)
                %span.login (#{h user.login})
            - tbody.roles_cell do
              %td.roles= roles(user)
            - tbody.actions_cell do
              %td.actions
                - if user == current_user
                  %span.action.disabled= image('minus_disabled') + ' ' + t('remove')
                - else
                  = link_to image('minus') + ' ' + t('remove'), remove_admin_user_url(user), :class => "action"

- render_region :bottom do |bottom|
  - bottom.new_button do
    #actions
      = pagination_for(@users)
      %ul
        %li= link_to image('plus') + " " + t('new_user'), new_admin_user_url, :class => 'action_button'

Version data entries

124 entries across 124 versions & 3 rubygems

Version Path
trusty-cms-3.8.0 app/views/admin/users/index.html.haml
trusty-cms-3.7.1 app/views/admin/users/index.html.haml
trusty-cms-3.7.0 app/views/admin/users/index.html.haml
trusty-cms-3.6.2 app/views/admin/users/index.html.haml
trusty-cms-3.6.1 app/views/admin/users/index.html.haml
trusty-cms-3.6.0 app/views/admin/users/index.html.haml
trusty-cms-3.5.5 app/views/admin/users/index.html.haml
trusty-cms-3.5.4 app/views/admin/users/index.html.haml
trusty-cms-3.5.3 app/views/admin/users/index.html.haml
trusty-cms-3.5.2 app/views/admin/users/index.html.haml
trusty-cms-3.5.1 app/views/admin/users/index.html.haml
trusty-cms-3.5.0 app/views/admin/users/index.html.haml
trusty-cms-3.4.0 app/views/admin/users/index.html.haml
trusty-cms-3.3.7 app/views/admin/users/index.html.haml
trusty-cms-3.3.6 app/views/admin/users/index.html.haml
trusty-cms-3.3.5 app/views/admin/users/index.html.haml
trusty-cms-3.3.3 app/views/admin/users/index.html.haml
trusty-cms-3.3.2 app/views/admin/users/index.html.haml
trusty-cms-3.3.1 app/views/admin/users/index.html.haml
trusty-cms-3.2.1 app/views/admin/users/index.html.haml