aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjpl2017-06-07 15:44:23 +0200
committerjpl2017-06-07 15:44:23 +0200
commit945fa9efc3c5099b6913528e74f690f92b9db74d (patch)
tree0c92ed120c1835b93eee49e402ca0c240e0977d4
parentd6f9a89a4540268fff798e6160b3d568e2ce6edb (diff)
downloadchouette-core-945fa9efc3c5099b6913528e74f690f92b9db74d.tar.bz2
Refs #3695: updating tt#show with last update display
-rw-r--r--app/views/time_tables/show.html.slim1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/time_tables/show.html.slim b/app/views/time_tables/show.html.slim
index 1c5984a7d..2e71ebb9e 100644
--- a/app/views/time_tables/show.html.slim
+++ b/app/views/time_tables/show.html.slim
@@ -4,6 +4,7 @@
= pageheader 'map-marker',
@time_table.comment,
'',
+ t('last_update', time: l(@time_table.updated_at, format: :short)),
(policy(@time_table).edit? ? link_to(t('actions.edit'), edit_referential_time_table_path(@referential, @time_table), class: 'btn btn-default') : '')
/ Below is secundary actions & optional contents (filters, ...)