diff options
| author | jpl | 2017-05-05 15:28:11 +0200 |
|---|---|---|
| committer | jpl | 2017-05-05 15:28:17 +0200 |
| commit | 1fe77ca170e8dc017bf3ee16fa6392284c710407 (patch) | |
| tree | a3277004bb4505c54d2b31b2aa930f214f4467ab /app | |
| parent | a118a072a1084e9dce5e5e76898eeb4d12a29870 (diff) | |
| download | chouette-core-1fe77ca170e8dc017bf3ee16fa6392284c710407.tar.bz2 | |
Refs #3287: adding time to date of sync, to sync pages
Diffstat (limited to 'app')
| -rw-r--r-- | app/views/line_referentials/show.html.slim | 8 | ||||
| -rw-r--r-- | app/views/stop_area_referentials/show.html.slim | 5 |
2 files changed, 6 insertions, 7 deletions
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! |
