Sha256: db606b94a9320a6cbf329867e3e33ffc5c95ed7dd025e85f489957c27eee9f0c

Contents?: true

Size: 786 Bytes

Versions: 6

Compression:

Stored size: 786 Bytes

Contents

.tab-content
  %h6.actions
    - if can?(User).update?
      = link_to edit_admin_user_path(user), title: t('keppler.actions.edit'), class: 'pull-left' do
        %i.icon-pencil
        %span= t('keppler.actions.edit')
    %a.pull-right.close-index-show
      %i.icon-close
  %p.control-sidebar-heading
    %i.icon-user
    %b= user.name.to_s
    %small= user.rol.to_s.humanize
  = image_tag user.avatar.url if user.avatar.url
  %ul.timeline
    - user.as_json(only: %w[id name permalink email created_at sign_in_count updated_at password]).each do |attribute, value|
      %li.list-row
        .timeline-item
          %h6.timeline-header.no-border
            %small
              %strong.display-value= t("activerecord.attributes.#{attribute}")
              %p.display-label= value

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
keppler-2.0.7 installer/core/app/views/admin/users/_index_show.html.haml
keppler-2.0.6 installer/core/app/views/admin/users/_index_show.html.haml
keppler-2.0.5 installer/core/app/views/admin/users/_index_show.html.haml
keppler-2.0.4.p1 installer/core/app/views/admin/users/_index_show.html.haml
keppler-2.0.4.pre.p1 installer/core/app/views/admin/users/_index_show.html.haml
keppler-2.0.4 installer/core/app/views/admin/users/_index_show.html.haml