Sha256: 4976ff5cee7aaa6b526bddf63d99e751dab2baf24e9f3d38c07a163aec9087c5

Contents?: true

Size: 998 Bytes

Versions: 14

Compression:

Stored size: 998 Bytes

Contents

- if @resource.respond_to?(:roles)
  .panel.panel-default
    .panel-heading
      .panel-title= Ecm::Rbac::Role.model_name.human(count: :other)
    %table.table.table-striped.table-condensed.table-hover
      = render_collection(@resource.roles, Ecm::Rbac::Role, as: :bootstrap_table) do |table, record|
        = table.column :identifier
        = table.column :actions do |resource|
          = link_to t('.show'), url_for(resource), class: 'btn btn-primary btn-xs'
    .panel-footer

- if @resource.respond_to?(:permissions)
  .panel.panel-default
    .panel-heading
      .panel-title= Ecm::Rbac::Permission.model_name.human(count: :other)
    %table.table.table-striped.table-condensed.table-hover
      = render_collection(@resource.permissions, Ecm::Rbac::Permission, as: :bootstrap_table) do |table, record|
        = table.column :identifier
        = table.column :actions do |resource|
          = link_to t('.show'), url_for(resource), class: 'btn btn-primary btn-xs'
    .panel-footer

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
ecm_rbac_backend-1.1.2 app/views/ecm/rbac/backend/users/_show_extras.haml
ecm_rbac_backend-1.1.1 app/views/ecm/rbac/backend/users/_show_extras.haml
ecm_rbac_backend-1.1.0 app/views/ecm/rbac/backend/users/_show_extras.haml
ecm_rbac_backend-1.0.0 app/views/ecm/rbac/backend/users/_show_extras.haml
ecm_rbac_backend-0.0.11 app/views/ecm/rbac/backend/users/_show_extras.haml
ecm_rbac_backend-0.0.10 app/views/ecm/rbac/backend/users/_show_extras.haml
ecm_rbac_backend-0.0.9 app/views/ecm/rbac/backend/users/_show_extras.haml
ecm_rbac_backend-0.0.8 app/views/ecm/rbac/backend/users/_show_extras.haml
ecm_rbac_backend-0.0.7 app/views/ecm/rbac/backend/users/_show_extras.haml
ecm_rbac_backend-0.0.6 app/views/ecm/rbac/backend/users/_show_extras.haml
ecm_rbac_backend-0.0.5 app/views/ecm/rbac/backend/users/_show_extras.haml
ecm_rbac_backend-0.0.4 app/views/ecm/rbac/backend/users/_show_extras.haml
ecm_rbac_backend-0.0.3 app/views/ecm/rbac/backend/users/_show_extras.haml
ecm_rbac_backend-0.0.2 app/views/ecm/rbac/backend/users/_show_extras.haml