%dl.well
%dt= AccessLog.human_attribute_name("accessed_#{@access_log.accessed_type.try(:downcase)}",default: AccessLog.human_attribute_name("accessed_name"))
%dd= @access_log.accessed_name
%dt= AccessLog.human_attribute_name(:accessed_at_late)
%dd= @access_log.accessed_at_late.try(:in_time_zone)
%dt= AccessLog.human_attribute_name(:accessed_ip)
%dd= @access_log.accessed_ip
%table.table#access_log_result_detail
%thead
%tr
%th= AccessLog.human_attribute_name(:accessed_on)
%th= AccessLog.human_attribute_name(:accessed_action_detail)
%th= AccessLog.human_attribute_name(:accessed_result)
%th
%tbody
- @access_log_details.each do |log_detail|
%tr
%td= log_detail.accessed_at.in_time_zone.strftime("%H:%M:%S")
%td= log_detail.accessed_action_detail
%td= log_detail.accessed_result_i18n
%td= link_to(t(".show_detail"),date_detail_access_log_path(date_index: log_detail.id),remote: true,class: [:btn,"btn-default"])
= paginate @access_log_details
#modal.modal.fade{aria: {hidden: "true"}}
.modal-dialog{class: TenantSetting.use_authority ? "modal-lg" : "" }
.modal-content
.modal-header
%button.close{type: "button",data: {dismiss: "modal"}, aria: {dismiss: "modal",label: "Close"}}
%span{aria: {hidden: "true"}} ×
%h4#modal_title.modal-title= t(".modal_title")
.modal-body#modal_body
.modal-footer
.btn.btn-default{data: {dismiss: "modal"}}= t("helpers.button.close")