Sha256: c4149444d1a1010a6f24fd9d58cf5d800e5bce79572da2abed0f3638a4f2d1c4
Contents?: true
Size: 1.54 KB
Versions: 18
Compression:
Stored size: 1.54 KB
Contents
= within_admin_layout(title: "HD Transmission Logs") do .hd_transmission_logs table.stripeless thead tr th.col-width-date-time Date th.col-width-tiny Dir th.col-width-tiny Fmt th.col-width-tiny Payload th.col-width-large Filename th.col-width-medium Patient th.col-width-small Ext Session Id th.col-width-small Session Id th.col-width-tiny Result th Errors tbody - logs.each do |log| ruby: klass = if log.parent_id.present? log.session_id.present? ? "session_import_success" : "session_import_error" else "" end tr(class=klass) td= l(log.created_at) td= log.direction td= log.format td= link_to "...", hd_transmission_log_path(log, format: :xml), class: "button small_ellipsis_button", target: "_blank" td span(title=log.filepath)= log.filepath && Pathname(log.filepath).basename td= log.patient && link_to(log.patient, patient_hd_sessions_path(log.patient)) td= log.external_session_id th - if log.patient && log.session = link_to log.session_id, patient_hd_session_path(log.patient, log.session) td= log.result td= log.error_messages.compact.uniq.join("<br>").html_safe = paginate logs
Version data entries
18 entries across 18 versions & 1 rubygems