Sha256: 3922207d1d1deccefad2eb8751d8e546a66f28a403322a707d0e0f0c29f4193e

Contents?: true

Size: 921 Bytes

Versions: 3

Compression:

Stored size: 921 Bytes

Contents

.tab-content
  %h6.actions
    - if Pundit.policy(current_user, 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#close-index-show.pull-right
      %i.icon-close
  %p.control-sidebar-heading
    %i.icon-user
    %b= "#{@user.name}"
    %small= "(#{@user.rol.humanize})"
  = image_tag @user.avatar
  %ul.timeline
    - @user.as_json(only: ["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
:coffee
  $('#close-index-show').click ->
    $('#index-show').css 'right', -$('#index-show').outerWidth()

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
keppler-2.0.2 installer/core/app/views/admin/users/_index_show.html.haml
keppler-2.0.1 installer/core/app/views/admin/users/_index_show.html.haml
keppler-2.0.0 installer/core/app/views/admin/users/_index_show.html.haml