aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZog2018-02-13 10:08:40 +0100
committerJohan Van Ryseghem2018-02-19 10:05:16 +0100
commit2fcbbc5b11a9c6e5080e48fcce3eae23be1c826c (patch)
tree3eb49d50edd3e61b743fc6dab4165d5ca8ab7af8
parent681fdc2fb63a566e9564190b9bc96731d1ba99fb (diff)
downloadchouette-core-2fcbbc5b11a9c6e5080e48fcce3eae23be1c826c.tar.bz2
Refs #5910; Remove useless fields from PurchaseWindow#show
-rw-r--r--app/views/purchase_windows/show.html.slim4
1 files changed, 1 insertions, 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('<br>').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('<br>').html_safe }