aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/line_footnotes
diff options
context:
space:
mode:
authorjpl2017-03-30 15:45:36 +0200
committerjpl2017-03-30 15:45:36 +0200
commit0779c29912fab35d6c1e80c92b1aafc426676681 (patch)
treeb5146cceee7a4a1b82c08130f11a63d1e4d5d72f /app/views/line_footnotes
parenta506f12d6485cca342159d842f38e82f7503be07 (diff)
downloadchouette-core-0779c29912fab35d6c1e80c92b1aafc426676681.tar.bz2
Refs #3004: removing updated_at from index views
Diffstat (limited to 'app/views/line_footnotes')
-rw-r--r--app/views/line_footnotes/show.html.slim2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/line_footnotes/show.html.slim b/app/views/line_footnotes/show.html.slim
index 36eebe288..6ad721711 100644
--- a/app/views/line_footnotes/show.html.slim
+++ b/app/views/line_footnotes/show.html.slim
@@ -2,7 +2,7 @@
= pageheader 'map-marker',
"Notes sur la ligne #{@line.name}",
'Lorem ipsum dolor sit amet',
- (@line.footnotes.any? ? t('last_update', time: l(@line.footnotes.last.updated_at, format: :short)) : ''),
+ '',
(policy(@line).update_footnote? ? link_to(t('actions.edit'), edit_referential_line_footnotes_path(@referential, @line), class: 'btn btn-primary') : '')
/ PageContent