diff options
| -rw-r--r-- | app/views/line_referentials/show.html.slim | 8 | ||||
| -rw-r--r-- | app/views/stop_area_referentials/show.html.slim | 5 | ||||
| -rw-r--r-- | config/locales/en.yml | 2 | ||||
| -rw-r--r-- | config/locales/fr.yml | 2 | 
4 files changed, 10 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! diff --git a/config/locales/en.yml b/config/locales/en.yml index 5ed0b9ec5..3f6a68f8d 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -8,10 +8,12 @@ en:        hour: "%Hh%M"        minute: "%M min"        short: "%Y/%m/%d" +      short_with_time: "%Y/%m/%d at %Hh%M"    date:      formats:        short: "%Y/%m/%d" +      short_with_time: "%Y/%m/%d at %Hh%M"    last_update: 'Last update on<br>%{time}'    last_sync: 'Last sync on %{time}' diff --git a/config/locales/fr.yml b/config/locales/fr.yml index db8a3608d..49d1c5bb7 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -8,10 +8,12 @@ fr:        hour: "%Hh%M"        minute: "%M min"        short: "%d/%m/%Y" +      short_with_time: "%d/%m/%Y à %Hh%M"    date:      formats:        short: "%d/%m/%Y" +      short_with_time: "%d/%m/%Y à %Hh%M"    last_update: 'Dernière mise à jour<br>le %{time}'    last_sync: 'Dernière mise à jour le %{time}' | 
