diff options
| author | Xinhui | 2018-01-04 12:25:42 +0100 | 
|---|---|---|
| committer | Xinhui | 2018-01-04 12:25:42 +0100 | 
| commit | 0285fa5a76a88e613d24c4a93aaf0005b1224d7b (patch) | |
| tree | b9abf4e99f6c8733e370b9ea8e2d978ab47f6544 /app | |
| parent | 5bf89ed790a50a5a507d5fde153d2e5b00956ae3 (diff) | |
| download | chouette-core-0285fa5a76a88e613d24c4a93aaf0005b1224d7b.tar.bz2 | |
Display checksum for time_table
Refs #5460
Diffstat (limited to 'app')
| -rw-r--r-- | app/views/time_tables/show.html.slim | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/time_tables/show.html.slim b/app/views/time_tables/show.html.slim index 036581268..df9789055 100644 --- a/app/views/time_tables/show.html.slim +++ b/app/views/time_tables/show.html.slim @@ -28,7 +28,8 @@              'Couleur associée' => (@time_table.color.nil? ? '-' : content_tag(:span, '', class: 'fa fa-circle', style: "color:#{@time_table.try(:color)}")),              'Etiquettes' => @time_table.tag_list,              'Modèle de calendrier' => (@time_table.calendar ? link_to(@time_table.calendar.name, @time_table.calendar) : '-'), -            "Journées d'application pour les périodes ci-dessous" => %w(monday tuesday wednesday thursday friday saturday sunday).collect{ |d| content_tag(:span, t("calendars.days.#{d}"), class: "label label-default #{@time_table.send(d) ? '' : 'disabled'}") }.join.html_safe } +            "Journées d'application pour les périodes ci-dessous" => %w(monday tuesday wednesday thursday friday saturday sunday).collect{ |d| content_tag(:span, t("calendars.days.#{d}"), class: "label label-default #{@time_table.send(d) ? '' : 'disabled'}") }.join.html_safe, +              Chouette::TimeTable.human_attribute_name(:checksum) => @time_table.checksum}      .row        .col-lg-12.mb-sm  | 
