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..d50f51335 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.name,
'',
t('last_update', time: l(@line.updated_at, format: :short)) do
@@ -34,6 +34,7 @@
.row
.col-lg-12
+ .h3 = t('routes.show.itineraries')
- 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 edc2d254b..be3b526cf 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.itinerarie') + " " + @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.itineraries')
- if @route_sp.any?
= table_builder_2 @route_sp,
[ \