diff options
| author | Xinhui | 2017-10-18 16:55:18 +0200 | 
|---|---|---|
| committer | Xinhui | 2017-10-18 16:55:18 +0200 | 
| commit | 1e8f8fa2879f066284ca72be96386d426108d079 (patch) | |
| tree | d0126c8a44d4c4eb361abe7df47332e5b0a07484 | |
| parent | 00df5aa984a92adedfcb389dbd36d78a4de7488e (diff) | |
| download | chouette-core-1e8f8fa2879f066284ca72be96386d426108d079.tar.bz2 | |
Render breadcrumb for referential - time_tables - workbenches
Refs #4741
| -rw-r--r-- | app/views/referentials/show.html.slim | 1 | ||||
| -rw-r--r-- | app/views/time_tables/index.html.slim | 1 | ||||
| -rw-r--r-- | app/views/time_tables/show.html.slim | 2 | ||||
| -rw-r--r-- | app/views/workbenches/show.html.slim | 4 | 
4 files changed, 6 insertions, 2 deletions
| diff --git a/app/views/referentials/show.html.slim b/app/views/referentials/show.html.slim index 26ce0acbb..b03fb9f53 100644 --- a/app/views/referentials/show.html.slim +++ b/app/views/referentials/show.html.slim @@ -1,3 +1,4 @@ +- breadcrumb @referential  / PageHeader  = pageheader 'jeux-de-donnees',               @referential.name, diff --git a/app/views/time_tables/index.html.slim b/app/views/time_tables/index.html.slim index c71a214f1..b0f4e84c5 100644 --- a/app/views/time_tables/index.html.slim +++ b/app/views/time_tables/index.html.slim @@ -1,3 +1,4 @@ +- breadcrumb :time_tables, @referential  / PageHeader  = pageheader 'calendrier-application',               t('time_tables.index.title'), diff --git a/app/views/time_tables/show.html.slim b/app/views/time_tables/show.html.slim index 021b55058..85de7f8ec 100644 --- a/app/views/time_tables/show.html.slim +++ b/app/views/time_tables/show.html.slim @@ -1,5 +1,5 @@  - require 'calendar_helper' - +- breadcrumb :time_table, @referential, @time_table  / PageHeader  = pageheader 'calendrier-application', diff --git a/app/views/workbenches/show.html.slim b/app/views/workbenches/show.html.slim index 32a933cc2..7834e4c53 100644 --- a/app/views/workbenches/show.html.slim +++ b/app/views/workbenches/show.html.slim @@ -4,6 +4,8 @@               '',               '' do +- breadcrumb @workbench +    / Below is secundary actions & optional contents (filters, ...)    .row.mb-sm      .col-lg-12.text-right @@ -78,4 +80,4 @@  = javascript_tag do    | window.I18n = #{(I18n.backend.send(:translations).to_json).html_safe}; -= javascript_pack_tag 'date_filters'
\ No newline at end of file += javascript_pack_tag 'date_filters' | 
