aboutsummaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorAlban Peignier2018-01-02 10:34:04 +0100
committerAlban Peignier2018-01-02 10:34:04 +0100
commitcd08b86d56d484bb40caea38ee82c6c330f626bc (patch)
tree97d264440f8d741c9c58be6d7eddcac7da5d4595 /app/views
parent32752973f2bc58865afce4081f1fe6c2f97bf588 (diff)
downloadchouette-core-cd08b86d56d484bb40caea38ee82c6c330f626bc.tar.bz2
Display StopArea#country_code in stop_areas#show. Refs #5427
Diffstat (limited to 'app/views')
-rw-r--r--app/views/stop_areas/show.html.slim1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/stop_areas/show.html.slim b/app/views/stop_areas/show.html.slim
index 0c23710b6..643ab339c 100644
--- a/app/views/stop_areas/show.html.slim
+++ b/app/views/stop_areas/show.html.slim
@@ -23,6 +23,7 @@
- attributes.merge!({ "Coordonnées" => geo_data(@stop_area, @stop_area_referential),
@stop_area.human_attribute_name(:zip_code) => @stop_area.zip_code,
@stop_area.human_attribute_name(:city_name) => @stop_area.city_name,
+ @stop_area.human_attribute_name(:country_code) => @stop_area.country_code.presence || '-',
'Etat' => (@stop_area.deleted_at ? 'Supprimé' : 'Actif'),
@stop_area.human_attribute_name(:comment) => @stop_area.try(:comment),
})