aboutsummaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorXinhui2017-10-20 11:19:24 +0200
committerXinhui2017-10-20 11:29:04 +0200
commit4b1327518597ac057e03e7670fb2e1fc75974c36 (patch)
tree29516c923aa86a3ac43d06f8a081cadb4edf9a82 /app/views
parent5b0d0dfb9c4ae6c45a34fcbee224f1483ff4401b (diff)
downloadchouette-core-4b1327518597ac057e03e7670fb2e1fc75974c36.tar.bz2
Breadcrumb for calendars
Diffstat (limited to 'app/views')
-rw-r--r--app/views/calendars/edit.html.slim1
-rw-r--r--app/views/calendars/index.html.slim2
-rw-r--r--app/views/calendars/new.html.slim1
-rw-r--r--app/views/calendars/show.html.slim1
4 files changed, 4 insertions, 1 deletions
diff --git a/app/views/calendars/edit.html.slim b/app/views/calendars/edit.html.slim
index 426f27881..3463bd05c 100644
--- a/app/views/calendars/edit.html.slim
+++ b/app/views/calendars/edit.html.slim
@@ -1,3 +1,4 @@
+- breadcrumb :calendar, @calendar
/ PageHeader
= pageheader 'modele-calendrier',
t('.title', calendar: @calendar.name),
diff --git a/app/views/calendars/index.html.slim b/app/views/calendars/index.html.slim
index d3168fa3d..a95d54428 100644
--- a/app/views/calendars/index.html.slim
+++ b/app/views/calendars/index.html.slim
@@ -1,5 +1,5 @@
+- breadcrumb :calendars
/ PageHeader
-
- header_params = ['modele-calendrier',
t('.title'),
'']
diff --git a/app/views/calendars/new.html.slim b/app/views/calendars/new.html.slim
index 2cb6f8061..146173d35 100644
--- a/app/views/calendars/new.html.slim
+++ b/app/views/calendars/new.html.slim
@@ -1,3 +1,4 @@
+- breadcrumb :calendars
/ PageHeader
= pageheader 'modele-calendrier',
t('.title'),
diff --git a/app/views/calendars/show.html.slim b/app/views/calendars/show.html.slim
index eda4ef97c..b2ace0ccc 100644
--- a/app/views/calendars/show.html.slim
+++ b/app/views/calendars/show.html.slim
@@ -1,3 +1,4 @@
+- breadcrumb :calendar, @calendar
/ PageHeader
= pageheader 'modele-calendrier',
@calendar.name,