diff options
| author | Xinhui | 2017-05-22 15:22:52 +0200 | 
|---|---|---|
| committer | Xinhui | 2017-05-22 15:22:59 +0200 | 
| commit | 897bc5fb10b1867970367ede388feac0ac1a5791 (patch) | |
| tree | 0f62692076d035a470033bc43082b96228162df3 /app/views/time_tables | |
| parent | 7b498a92d79a0305b98418774b65cf9fcb1ce237 (diff) | |
| download | chouette-core-897bc5fb10b1867970367ede388feac0ac1a5791.tar.bz2 | |
TimeTables#actualize retrieve dates & periods from calendar
Refs #3445
Diffstat (limited to 'app/views/time_tables')
| -rw-r--r-- | app/views/time_tables/show.html.slim | 4 | 
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/time_tables/show.html.slim b/app/views/time_tables/show.html.slim index 9c40a13a2..46c32f4b0 100644 --- a/app/views/time_tables/show.html.slim +++ b/app/views/time_tables/show.html.slim @@ -11,9 +11,11 @@      .col-lg-12.text-right        / - if policy(@time_table).create? && @referential.organisation == current_organisation        /   = link_to t('time_tables.actions.new'), new_referential_time_table_path(@referential), class: 'btn btn-primary' +      - if @time_table.calendar +        = link_to t('actions.actualize'), actualize_referential_time_table_path(@referential, @time_table), method: :post, class: 'btn btn-primary'        /- if policy(@time_table).create? && @referential.organisation == current_organisation -      = link_to t('actions.combine'), new_referential_time_table_time_table_combination_path(@referential, @time_table), {remote: true, 'data-toggle' =>  "modal", 'data-target' => '#modal_combine', class: 'btn btn-primary' } +      = link_to t('actions.combine'), new_referential_time_table_time_table_combination_path(@referential, @time_table), class: 'btn btn-primary'        - if policy(@time_table).create? && @referential.organisation == current_organisation          = link_to t('actions.clone'), duplicate_referential_time_table_path(@referential, @time_table), class: 'btn btn-primary'  | 
