diff options
| author | Xinhui | 2017-10-25 14:42:23 +0200 |
|---|---|---|
| committer | Xinhui | 2017-10-25 14:42:23 +0200 |
| commit | f2593e299db59552ee47400622cd9cc77cc3a8d1 (patch) | |
| tree | d2e93b5852283be49ae1d8767e0d1bf56f82fc45 /app/views/timebands | |
| parent | 118d1ae0c7ed66f408c5e260126ee553feda57a4 (diff) | |
| download | chouette-core-f2593e299db59552ee47400622cd9cc77cc3a8d1.tar.bz2 | |
Breadcrumb for timebands
Diffstat (limited to 'app/views/timebands')
| -rw-r--r-- | app/views/timebands/edit.html.slim | 3 | ||||
| -rw-r--r-- | app/views/timebands/index.html.slim | 1 | ||||
| -rw-r--r-- | app/views/timebands/new.html.slim | 3 | ||||
| -rw-r--r-- | app/views/timebands/show.html.slim | 5 |
4 files changed, 8 insertions, 4 deletions
diff --git a/app/views/timebands/edit.html.slim b/app/views/timebands/edit.html.slim index af62ae8db..c70de82ef 100644 --- a/app/views/timebands/edit.html.slim +++ b/app/views/timebands/edit.html.slim @@ -1,3 +1,4 @@ +- breadcrumb :timeband, @referential, @timeband = title_tag t('timebands.edit.title', timeband: @timeband.name) -= render 'form'
\ No newline at end of file += render 'form' diff --git a/app/views/timebands/index.html.slim b/app/views/timebands/index.html.slim index c81c0a670..6dcf348f9 100644 --- a/app/views/timebands/index.html.slim +++ b/app/views/timebands/index.html.slim @@ -1,3 +1,4 @@ +- breadcrumb :timebands, @referential = title_tag t('timebands.index.title') - if @timebands.any? diff --git a/app/views/timebands/new.html.slim b/app/views/timebands/new.html.slim index 90aa1bd2e..d9fc27823 100644 --- a/app/views/timebands/new.html.slim +++ b/app/views/timebands/new.html.slim @@ -1,3 +1,4 @@ +- breadcrumb :timebands, @referential = title_tag t('timebands.new.title') -== render 'form'
\ No newline at end of file +== render 'form' diff --git a/app/views/timebands/show.html.slim b/app/views/timebands/show.html.slim index 100457226..d45611c56 100644 --- a/app/views/timebands/show.html.slim +++ b/app/views/timebands/show.html.slim @@ -1,8 +1,9 @@ +- breadcrumb :timeband, @referential, @timeband = title_tag t( 'timebands.show.title', timeband: @timeband.name ) .summary p label = "#{@timeband.name} : " = "#{l(@timeband.start_time, format: :hour)} - #{l(@timeband.end_time, format: :hour)}" - -== render 'sidebar'
\ No newline at end of file + +== render 'sidebar' |
