aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorLuc Donnet2018-04-19 09:17:18 +0200
committerLuc Donnet2018-04-19 09:31:18 +0200
commite6c6fb7e7544d840bec4d84f8249ed9d5c01661c (patch)
treeca4104a7eae8646f55ab747be392a9e46e2ce850 /app
parent14f30a9b84da9d93219aa9e9759f93ef71ab3c7f (diff)
downloadchouette-core-6545-add_generic_navbar.tar.bz2
Fix spec and i18n Refs #6545 @16545-add_generic_navbar
Diffstat (limited to 'app')
-rw-r--r--app/views/line_referentials/show.html.slim1
-rw-r--r--app/views/stop_area_referentials/show.html.slim2
2 files changed, 1 insertions, 2 deletions
diff --git a/app/views/line_referentials/show.html.slim b/app/views/line_referentials/show.html.slim
index 4a4acc427..8db94609a 100644
--- a/app/views/line_referentials/show.html.slim
+++ b/app/views/line_referentials/show.html.slim
@@ -1,5 +1,4 @@
- breadcrumb :line_referential, @line_referential
-- page_header_content_for @line_referential
- if policy(@line_referential).synchronize?
- content_for :page_header_actions do
= link_to(t('actions.sync'), sync_line_referential_path(@line_referential), method: :post, class: 'btn btn-default')
diff --git a/app/views/stop_area_referentials/show.html.slim b/app/views/stop_area_referentials/show.html.slim
index 9a0079330..a76e39439 100644
--- a/app/views/stop_area_referentials/show.html.slim
+++ b/app/views/stop_area_referentials/show.html.slim
@@ -2,7 +2,7 @@
- if policy(@stop_area_referential).synchronize?
- content_for :page_header_actions do
= link_to(t('actions.sync'), sync_stop_area_referential_path(@stop_area_referential), method: :post, class: 'btn btn-default')
-
+
.page_content
.container-fluid
.row