aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjpl2017-04-21 17:01:30 +0200
committerjpl2017-04-21 17:01:30 +0200
commite7b7172b4c5e7384f43c0d24eebdfe7488308f2d (patch)
tree1428a21360ec204f91771e65844b55747fd31f1c
parent7e7163d95ce04cff2a1a1bbfe220701631acd08d (diff)
downloadchouette-core-e7b7172b4c5e7384f43c0d24eebdfe7488308f2d.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'