aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZog2018-02-19 10:04:14 +0100
committerJohan Van Ryseghem2018-02-19 10:05:16 +0100
commit70fc9b5e5332aa7802e57e68f6b57f7f1604d255 (patch)
tree1fec044eb768fcda228383bcfb15830979f8cd91
parent2fcbbc5b11a9c6e5080e48fcce3eae23be1c826c (diff)
downloadchouette-core-70fc9b5e5332aa7802e57e68f6b57f7f1604d255.tar.bz2
Refs #5910; Re-add Checksums on PurchaseWindow#show
-rw-r--r--app/views/purchase_windows/show.html.slim3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/purchase_windows/show.html.slim b/app/views/purchase_windows/show.html.slim
index 00628a162..8ed9e393f 100644
--- a/app/views/purchase_windows/show.html.slim
+++ b/app/views/purchase_windows/show.html.slim
@@ -7,4 +7,5 @@
.col-lg-6.col-md-6.col-sm-12.col-xs-12
= definition_list t('metadatas'),
{ Chouette::PurchaseWindow.human_attribute_name(:name) => @purchase_window.try(:name),
- Chouette::PurchaseWindow.human_attribute_name(:date_ranges) => @purchase_window.periods.map{|d| t('validity_range', debut: l(d.begin, format: :short), end: l(d.end, format: :short))}.join('<br>').html_safe }
+ Chouette::PurchaseWindow.human_attribute_name(:date_ranges) => @purchase_window.periods.map{|d| t('validity_range', debut: l(d.begin, format: :short), end: l(d.end, format: :short))}.join('<br>').html_safe,
+ Chouette::PurchaseWindow.human_attribute_name(:checksum) => @purchase_window.checksum }