diff options
| author | Xinhui | 2017-12-01 14:43:39 +0100 |
|---|---|---|
| committer | Xinhui | 2017-12-01 14:43:39 +0100 |
| commit | 02421bba16fe1bde061d473c8d1c2fd6d88a6f19 (patch) | |
| tree | c0827b6928d58048944ed156c8f327c401d6e61e | |
| parent | 25667154015ab954c8145b6f170a9561b3c37960 (diff) | |
| download | chouette-core-02421bba16fe1bde061d473c8d1c2fd6d88a6f19.tar.bz2 | |
Fix css position of last_update author
Refs #5151
| -rw-r--r-- | app/helpers/application_helper.rb | 2 | ||||
| -rw-r--r-- | config/locales/en.yml | 2 | ||||
| -rw-r--r-- | config/locales/fr.yml | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 2ce1de497..d2cdaaa20 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -18,7 +18,7 @@ module ApplicationHelper info = t('last_update', time: l(object.updated_at, format: :short)) if object.try(:versions) author = object.versions.try(:last).try(:whodunnit) || t('default_whodunnit') - info = "#{info} #{t('whodunnit', author: author)}" + info = "#{info} <br/> #{t('whodunnit', author: author)}" end content_tag :div, info.html_safe, class: 'small' end diff --git a/config/locales/en.yml b/config/locales/en.yml index 4834ceef4..e59960f95 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -47,7 +47,7 @@ en: errors: format: "%{message}" - last_update: 'Last update on<br>%{time}' + last_update: 'Last update on %{time}' whodunnit: 'By %{author}' default_whodunnit: 'web service' last_sync: 'Last sync on %{time}' diff --git a/config/locales/fr.yml b/config/locales/fr.yml index 24482166c..175b71ebc 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -47,7 +47,7 @@ fr: errors: format: "%{message}" - last_update: 'Dernière mise à jour<br>le %{time}' + last_update: 'Dernière mise à jour le %{time}' whodunnit: 'Par %{author}' default_whodunnit: 'web service' last_sync: 'Dernière mise à jour le %{time}' |
