aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjpl2017-04-21 17:01:30 +0200
committerRobert2017-04-24 09:03:10 +0200
commitb19eadef870f476fa9a87b4f7bfa3ed69f5cfa02 (patch)
treee730a941f3759e69e09581ba06926ab27fcc1013
parent18f8a94d92716dbe0dbf579ae50d0072cdcf65f2 (diff)
downloadchouette-core-b19eadef870f476fa9a87b4f7bfa3ed69f5cfa02.tar.bz2
Refs #3163: adding tt link to ref#show
-rw-r--r--app/views/referentials/show.html.slim2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/referentials/show.html.slim b/app/views/referentials/show.html.slim
index 617d5ad26..fd6ebf91a 100644
--- a/app/views/referentials/show.html.slim
+++ b/app/views/referentials/show.html.slim
@@ -8,6 +8,8 @@
/ Below is secondary actions & optional contents (filters, ...)
.row.mb-sm
.col-lg-12.text-right
+ = link_to t('time_tables.index.title'), referential_time_tables_path(@referential), class: 'btn btn-primary'
+
- if policy(@referential).clone?
= link_to t('actions.clone'), new_referential_path(from: @referential.id), class: 'btn btn-primary'