aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/routes
diff options
context:
space:
mode:
authorLuc Donnet2017-10-13 15:29:36 +0200
committerGitHub2017-10-13 15:29:36 +0200
commit16e9fe5e4e75f2df98f0da371062d572fa45a48b (patch)
treeae7fbcdf63803d77dfcf578348c03f617f265094 /app/views/routes
parenta8fd113096d1cf9e88685106b0e45fff2c4a5aed (diff)
parent3b4563e9f3ed21d98255713cefd2e290c5a364bd (diff)
downloadchouette-core-16e9fe5e4e75f2df98f0da371062d572fa45a48b.tar.bz2
Merge pull request #88 from af83/4698-table_pages_title_refactoring
Refactoring tables titles for routes
Diffstat (limited to 'app/views/routes')
-rw-r--r--app/views/routes/show.html.slim3
1 files changed, 2 insertions, 1 deletions
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,
[ \