aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/views/referential_lines/show.html.slim3
-rw-r--r--app/views/routes/show.html.slim3
2 files changed, 4 insertions, 2 deletions
diff --git a/app/views/referential_lines/show.html.slim b/app/views/referential_lines/show.html.slim
index ffcb9b5e0..df3c285ee 100644
--- a/app/views/referential_lines/show.html.slim
+++ b/app/views/referential_lines/show.html.slim
@@ -1,6 +1,6 @@
/ PageHeader
= pageheader 'ligne',
- @line.name,
+ t('lines.index.line', line: @line.name),
'',
t('last_update', time: l(@line.updated_at, format: :short)) do
@@ -34,6 +34,7 @@
.row
.col-lg-12
+ .h3 = t('lines.show.routes.title')
- if params[:q].present? or @routes.any?
.row
.col-lg-12
diff --git a/app/views/routes/show.html.slim b/app/views/routes/show.html.slim
index 83ee62386..6bd3451cd 100644
--- a/app/views/routes/show.html.slim
+++ b/app/views/routes/show.html.slim
@@ -1,6 +1,6 @@
/ PageHeader
= pageheader 'itineraire',
- @route.name,
+ t('routes.index.title', route: @route.name),
'',
t('last_update', time: l(@route.updated_at, format: :short)),
(policy(@route).edit? ? link_to(t('actions.edit'), edit_referential_line_route_path(@referential, @line, @route), class: 'btn btn-default') : '') do
@@ -32,6 +32,7 @@
.row
.col-lg-12
+ .h3 = t('routes.show.stop_areas.title')
- if @route_sp.any?
= table_builder_2 @route_sp,
[ \