aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorXinhui2018-01-04 12:25:32 +0100
committerXinhui2018-01-04 12:25:32 +0100
commit5bf89ed790a50a5a507d5fde153d2e5b00956ae3 (patch)
treefb8a62bd4232bfba57ef6965efc1d24d09fe839e /app
parenta5e99f3f49c055fba455a4e94b5c5ed8fb584fd1 (diff)
downloadchouette-core-5bf89ed790a50a5a507d5fde153d2e5b00956ae3.tar.bz2
Display checksum for footnotes
Refs #5460
Diffstat (limited to 'app')
-rw-r--r--app/views/line_footnotes/show.html.slim4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/line_footnotes/show.html.slim b/app/views/line_footnotes/show.html.slim
index e4f2a1d42..29e1f5708 100644
--- a/app/views/line_footnotes/show.html.slim
+++ b/app/views/line_footnotes/show.html.slim
@@ -16,7 +16,11 @@
.panel-heading = footnote.code
.panel-body
p = footnote.label
+
.panel-footer.text-right
+ div
+ p.text-muted.small = Chouette::Footnote.human_attribute_name(:checksum)
+ p.text-muted.small = footnote.checksum
p.text-muted
em.small = "Dernière mise à jour le #{l(footnote.updated_at, format: :short)}"