Sha256: 8ef33a8ea7a44e4c704857df95d86ca2804707b2410765392793e04fed854a0d

Contents?: true

Size: 922 Bytes

Versions: 57

Compression:

Stored size: 922 Bytes

Contents

- if @resource.respond_to?(:roles)
  .panel.panel-default
    .panel-heading
      .panel-title= Cmor::Rbac::Role.model_name.human(count: :other)
    %table.table.table-striped.table-condensed.table-hover
      = collection_table(collection: @resource.roles) do |table|
        = 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= Cmor::Rbac::Permission.model_name.human(count: :other)
    %table.table.table-striped.table-condensed.table-hover
      = collection_table(collection: @resource.permissions) do |table|
        = 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

57 entries across 57 versions & 1 rubygems

Version Path
cmor_rbac_backend-0.0.60.pre app/views/cmor/rbac/backend/users/_after_show_table.html.haml
cmor_rbac_backend-0.0.59.pre app/views/cmor/rbac/backend/users/_after_show_table.html.haml
cmor_rbac_backend-0.0.58.pre app/views/cmor/rbac/backend/users/_after_show_table.html.haml
cmor_rbac_backend-0.0.57.pre app/views/cmor/rbac/backend/users/_after_show_table.html.haml
cmor_rbac_backend-0.0.56.pre app/views/cmor/rbac/backend/users/_after_show_table.html.haml
cmor_rbac_backend-0.0.55.pre app/views/cmor/rbac/backend/users/_after_show_table.html.haml
cmor_rbac_backend-0.0.54.pre app/views/cmor/rbac/backend/users/_after_show_table.html.haml
cmor_rbac_backend-0.0.53.pre app/views/cmor/rbac/backend/users/_after_show_table.html.haml
cmor_rbac_backend-0.0.52.pre app/views/cmor/rbac/backend/users/_after_show_table.html.haml
cmor_rbac_backend-0.0.51.pre app/views/cmor/rbac/backend/users/_after_show_table.html.haml
cmor_rbac_backend-0.0.50.pre app/views/cmor/rbac/backend/users/_after_show_table.html.haml
cmor_rbac_backend-0.0.49.pre app/views/cmor/rbac/backend/users/_after_show_table.html.haml
cmor_rbac_backend-0.0.48.pre app/views/cmor/rbac/backend/users/_after_show_table.html.haml
cmor_rbac_backend-0.0.45.pre app/views/cmor/rbac/backend/users/_after_show_table.html.haml
cmor_rbac_backend-0.0.44.pre app/views/cmor/rbac/backend/users/_after_show_table.html.haml
cmor_rbac_backend-0.0.43.pre app/views/cmor/rbac/backend/users/_after_show_table.html.haml
cmor_rbac_backend-0.0.42.pre app/views/cmor/rbac/backend/users/_after_show_table.html.haml
cmor_rbac_backend-0.0.41.pre app/views/cmor/rbac/backend/users/_after_show_table.html.haml
cmor_rbac_backend-0.0.40.pre app/views/cmor/rbac/backend/users/_after_show_table.html.haml
cmor_rbac_backend-0.0.39.pre app/views/cmor/rbac/backend/users/_after_show_table.html.haml