From 2fcbbc5b11a9c6e5080e48fcce3eae23be1c826c Mon Sep 17 00:00:00 2001
From: Zog
Date: Tue, 13 Feb 2018 10:08:40 +0100
Subject: Refs #5910; Remove useless fields from PurchaseWindow#show
---
app/views/purchase_windows/show.html.slim | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/app/views/purchase_windows/show.html.slim b/app/views/purchase_windows/show.html.slim
index 4e836f424..00628a162 100644
--- a/app/views/purchase_windows/show.html.slim
+++ b/app/views/purchase_windows/show.html.slim
@@ -7,6 +7,4 @@
.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),
- 'Organisation' => @purchase_window.referential.organisation.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('
').html_safe,
- Chouette::PurchaseWindow.human_attribute_name(:checksum) => @purchase_window.checksum }
+ 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('
').html_safe }
--
cgit v1.2.3