<%= t('page.showing', model: t('activerecord.models.user')) -%>

<%= notice %>

[U] <%= @profile.user.username -%> <% if @profile.full_name? %> (<%= @profile.full_name %>) <% end %>

<%= t('activerecord.attributes.profile.user_number') %>: <%= @profile.user_number %>

<%- if flash[:temporary_password] -%>

<%= t('user.your_temporary_password_is') -%>:

<%= flash[:temporary_password] -%>

<%- end -%> <% if defined?(EnjuCirculation) %>

<%= t('activerecord.models.checkout') %> <%= link_to image_tag('icons/date.png', size: '16x16', alt: 'iCalendar', class: 'icon'), checkouts_path(icalendar_token: current_user.profile.checkout_icalendar_token, format: :ics) if current_user.profile.checkout_icalendar_token? %> <%= link_to image_tag('icons/feed.png', size: '16x16', alt: 'RSS', class: 'icon'), checkouts_path(user_id: current_user.username, format: :rss) %> <%= link_to image_tag('icons/page_white_excel.png', size: '16x16', alt: 'TSV', class: 'icon'), checkouts_path(user_id: current_user.username, format: :txt) %>

<% if @profile.user %> <%= render 'checkouts/list', checkouts: @profile.user.checkouts.page(params[:page]) %> <% end %> <% end %>