Files
dunlop-core/app/views/dunlop/execution_batches/show.html.slim
T
2018-01-20 13:02:44 -03:00

42 lines
1.3 KiB
Plaintext

- if defined?(Foundation)
= page_title :show, @record, back: dunlop.execution_batches_path
.display-row
.display-label= at :sti_type
.display-field= @record.model_name.human
.display-row
.display-label= at :state
.display-field= @record.human_state_name
.display-row
.display-label= at :created_at
.display-field data-time=@record.created_at.iso8601 data-format="LLL"
.display-row
.display-label= at :updated_at
.display-field data-time=@record.updated_at.iso8601 data-format="LLL"
.display-row
.display-label= at :info_message
.display-field= @record.info_message
= render 'dunlop/log_entries', loggable: @record
- else
.ui.container
= page_title :show, @record, back: dunlop.execution_batches_path
table.ui.definition.table
tr
td= at :sti_type
td= @record.model_name.human
tr
td= at :state
td= @record.human_state_name
tr
td= at :created_at
td: span data-time=@record.created_at.iso8601 data-format="LLL"
tr
td= at :updated_at
td: span data-time=@record.updated_at.iso8601 data-format="LLL"
tr
td= at :info_message
td= @record.info_message
= render 'dunlop/log_entries', loggable: @record
- if @record.processing?
javascript:
setTimeout(function(){window.location.reload()}, 40000)