Sha256: 8935c690bc7a2d8038469ab546060a1e7183801416820edf63b0c78d16bbb638

Contents?: true

Size: 692 Bytes

Versions: 10

Compression:

Stored size: 692 Bytes

Contents

<%= content_for :data_controls do %>
  <%= link_to 'Edit', edit_admin_user_path(@user), :class => 'btn btn-primary admin-user-edit-btn', :title => "Edit" %>
<% end %>

<dl class="dl-horizontal">
  <% if !TbCore.config.use_email_as_login %>
    <dt>Login</dt>
    <dd><%= @user.login %></dd>
  <% end %>
  <dt>Email</dt>
  <dd><%= mail_to @user.email %></dd>
  <dt>Last Login</dt>
  <dd><%= timestamp @user.current_login_at %></dd>
  <dt>Created At</dt>
  <dd><%= timestamp @user.created_at %></dd>
  <dt>Role:</dt>
  <dd><%= @user.role.blank? ? 'None' : @user.role.name %></dd>
  <dt>Super Admin?<dt>
  <dd><%= @user.super_admin? ? 'Yes' : 'No' %></dd>
  <%= render 'show_additions' %>
</dl>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
tb_core-1.5.4 app/views/admin/users/show.html.erb
tb_core-1.5.3 app/views/admin/users/show.html.erb
tb_core-1.5.2 app/views/admin/users/show.html.erb
tb_core-1.5.1 app/views/admin/users/show.html.erb
tb_core-1.5.0 app/views/admin/users/show.html.erb
tb_core-1.4.8 app/views/admin/users/show.html.erb
tb_core-1.4.7 app/views/admin/users/show.html.erb
tb_core-1.4.6 app/views/admin/users/show.html.erb
tb_core-1.4.5 app/views/admin/users/show.html.erb
tb_core-1.4.4 app/views/admin/users/show.html.erb