diff options
| author | jpl | 2017-04-21 17:01:30 +0200 |
|---|---|---|
| committer | jpl | 2017-04-21 17:01:30 +0200 |
| commit | e7b7172b4c5e7384f43c0d24eebdfe7488308f2d (patch) | |
| tree | 1428a21360ec204f91771e65844b55747fd31f1c | |
| parent | 7e7163d95ce04cff2a1a1bbfe220701631acd08d (diff) | |
| download | chouette-core-e7b7172b4c5e7384f43c0d24eebdfe7488308f2d.tar.bz2 | |
Refs #3163: adding tt link to ref#show
| -rw-r--r-- | app/views/referentials/show.html.slim | 2 |
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' |
