From 1fe77ca170e8dc017bf3ee16fa6392284c710407 Mon Sep 17 00:00:00 2001 From: jpl Date: Fri, 5 May 2017 15:28:11 +0200 Subject: Refs #3287: adding time to date of sync, to sync pages --- app/views/line_referentials/show.html.slim | 8 +++----- app/views/stop_area_referentials/show.html.slim | 5 +++-- 2 files changed, 6 insertions(+), 7 deletions(-) (limited to 'app') diff --git a/app/views/line_referentials/show.html.slim b/app/views/line_referentials/show.html.slim index 7d4067202..95c2c02b0 100644 --- a/app/views/line_referentials/show.html.slim +++ b/app/views/line_referentials/show.html.slim @@ -27,11 +27,8 @@ table.table thead tr - / th Synchronisé th = t('.synchronized') - / th Statut th = t('.status') - / th Message th = t('.message') tbody @@ -42,8 +39,9 @@ - sync.line_referential_sync_messages.last.tap do |log| - if log.criticity = log.criticity tr - td = l(log.created_at, format: :short) - td + td style='width: 150px' + = l(log.created_at, format: :short_with_time) + td.text-center .fa.fa-circle class="text-#{criticity_class(log.criticity)}" td - data = log.message_attributs.symbolize_keys! diff --git a/app/views/stop_area_referentials/show.html.slim b/app/views/stop_area_referentials/show.html.slim index 24428eea4..56ecbf6da 100644 --- a/app/views/stop_area_referentials/show.html.slim +++ b/app/views/stop_area_referentials/show.html.slim @@ -32,8 +32,9 @@ - sync.stop_area_referential_sync_messages.last.tap do |log| - if log.criticity = log.criticity tr - td = l(log.created_at, format: :short) - td + td style='width:150px' + = l(log.created_at, format: :short_with_time) + td.text-center .fa.fa-circle class="text-#{criticity_class(log.criticity)}" td - data = log.message_attributs.symbolize_keys! -- cgit v1.2.3