%dl.dl-horizontal.well %dt= AccessLog.human_attribute_name(:accessed_on) %dd= log_detail.accessed_at.in_time_zone.strftime("%H:%M:%S") %dt= AccessLog.human_attribute_name(:accessed_action_detail) %dd= log_detail.accessed_action_detail %dt= AccessLog.human_attribute_name(:accessed_result) %dd= log_detail.accessed_result_i18n - if log_detail.accessed_purpose.present? .panel.panel-default .panel-heading= AccessLog.human_attribute_name(:accessed_purpose) .panel-body = simple_format(log_detail.accessed_purpose) - if log_detail.accessed_error_detail.present? .panel.panel-danger .panel-heading= AccessLog.human_attribute_name(:accessed_error_detail) .panel-body = simple_format(log_detail.accessed_error_detail) - if @log_mynumbers.present? .panel.panel-default .panel-heading= AccessLog.human_attribute_name(:mynumber) %table.table %thead %tr %th= Mynumber.human_attribute_name(:key_1) %th= Mynumber.human_attribute_name(:key_2) %th= Mynumber.human_attribute_name(:key_3) - if TenantSetting.use_authority %th= Mynumber.human_attribute_name(:organization) %th= Mynumber.human_attribute_name(:unit) - case log_detail.accessed_action - when "edit_with_family" %th= AccessLog.human_attribute_name(:action_type) %tbody - key_1_i18ns = @log_mynumbers.key_1_i18n_from_cnses - @log_mynumbers.each do |mynumber| %tr - mynumber.key_1_i18n_values = key_1_i18ns %td= mynumber.key_1_i18n_from_cns %td= mynumber.key_2 %td= mynumber.key_3 - if TenantSetting.use_authority %td= mynumber.organization %td= mynumber.unit - case log_detail.accessed_action - when "edit_with_family" %td= mynumber.action_type_i18n = paginate @log_mynumbers,remote: true