diff options
| author | jpl | 2017-06-07 15:44:23 +0200 |
|---|---|---|
| committer | jpl | 2017-06-07 15:44:23 +0200 |
| commit | 945fa9efc3c5099b6913528e74f690f92b9db74d (patch) | |
| tree | 0c92ed120c1835b93eee49e402ca0c240e0977d4 | |
| parent | d6f9a89a4540268fff798e6160b3d568e2ce6edb (diff) | |
| download | chouette-core-945fa9efc3c5099b6913528e74f690f92b9db74d.tar.bz2 | |
Refs #3695: updating tt#show with last update display
| -rw-r--r-- | app/views/time_tables/show.html.slim | 1 |
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, ...) |
