Sha256: bc9d35e0d445066c396f3cd495e1db39663c535f16a616e87181d1a5674c568a

Contents?: true

Size: 1.28 KB

Versions: 5

Compression:

Stored size: 1.28 KB

Contents

%p#notice= notice

#page-title.bottom-margin-1
  .row
    .col-xs-8.col-8.mr-auto
      %h1= @resource.human
    .col-xs-4.col-4
      #page-actions.btn-container-right
        - if Ecm::UserArea::Configuration.allow_users_to_destroy_self
          .pull-right.text-right
            = link_to(ecm_user_area.current_user_path, method: :delete, class: 'btn btn-danger btn-responsive', 'data-confirm': I18n.t('confirmations.delete')) do
              %span.glyphicon.glyphicon-fire
              %span.btn-text= t('.destroy')

.panel.panel-default.panel-with-actions
  %table.table.table-striped.table-condensed.table-hover
    = resource_table(resource: @resource) do |table|
      = render 'show', table: table

  .panel-footer

= render 'show_extras', resource: @resource

.well.well-sm
  .btn-group
    = link_to(ecm_user_area.user_session_path, class: 'btn btn-warning btn-responsive', method: :delete) do
      %span.glyphicon.glyphicon-pencil
      %span.btn-text= t('.sign_out')
    = link_to(ecm_user_area.edit_current_user_path, class: 'btn btn-primary btn-responsive') do
      %span.glyphicon.glyphicon-pencil
      %span.btn-text= t('.edit')
  = link_to main_app.root_path, class: 'btn btn-default btn-responsive pull-right' do
    %span.glyphicon.glyphicon-arrow-left
    %span.btn-text= t('.back')

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ecm_user_area2-4.0.2 app/views/ecm/user_area/current_users/show.html.haml
ecm_user_area2-4.0.1 app/views/ecm/user_area/current_users/show.html.haml
ecm_user_area2-3.1.2 app/views/ecm/user_area/current_users/show.html.haml
ecm_user_area2-3.1.1 app/views/ecm/user_area/current_users/show.html.haml
ecm_user_area2-3.1.0 app/views/ecm/user_area/current_users/show.html.haml