aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/journey_patterns_collections
diff options
context:
space:
mode:
authorjpl2017-03-17 17:28:36 +0100
committerjpl2017-03-17 17:28:36 +0100
commit82f8b8a0cf518946d94573831676237411e1ece9 (patch)
tree7cd4182e3337a7dd185ef7e97e688cba6ca0fa82 /app/views/journey_patterns_collections
parent42c0d639d933a7234b5dfbf2987b9c3a4175fca3 (diff)
downloadchouette-core-82f8b8a0cf518946d94573831676237411e1ece9.tar.bz2
Refs #2859: fix wording issues
Diffstat (limited to 'app/views/journey_patterns_collections')
-rw-r--r--app/views/journey_patterns_collections/show.html.slim2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/journey_patterns_collections/show.html.slim b/app/views/journey_patterns_collections/show.html.slim
index a2058fa64..0d09817e8 100644
--- a/app/views/journey_patterns_collections/show.html.slim
+++ b/app/views/journey_patterns_collections/show.html.slim
@@ -1,6 +1,6 @@
/ pageheader
= pageheader 'map-marker',
- "Missions de #{@route.name}",
+ "Missions de #{@route.try(:stop_points).first.try(:stop_area).name} vers #{@route.try(:stop_points).last.try(:stop_area).name}",
'Lorem ipsum dolor sit amet',
(@journey_patterns.any? ? t('last_update', time: l(@journey_patterns.last.updated_at, format: :short)) : '')