aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorXinhui2016-11-07 10:42:57 +0100
committerXinhui2016-11-07 10:42:57 +0100
commit1437ec80b2a8d094ed960e449b73dbdbd0a963e8 (patch)
treec56d0f440ad908178b644c9bf6171ccd7ea0b0e7 /app
parentd67ed4c32b338070e4e4ff33f89fe64011e14c3b (diff)
downloadchouette-core-1437ec80b2a8d094ed960e449b73dbdbd0a963e8.tar.bz2
Referential clone - ui action clone
refs #1863
Diffstat (limited to 'app')
-rw-r--r--app/views/referentials/show.html.slim5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/views/referentials/show.html.slim b/app/views/referentials/show.html.slim
index d5fed0344..1fc8f108f 100644
--- a/app/views/referentials/show.html.slim
+++ b/app/views/referentials/show.html.slim
@@ -44,7 +44,7 @@ h2
- if @referential.api_keys.present?
h3.api_keys = t('.api_keys')
-
+
.api_keys.paginated_content
= paginated_content(@referential.api_keys, "api_keys/api_key")
@@ -66,8 +66,9 @@ h2
li = link_to t('referentials.actions.destroy'), referential_path(@referential), method: :delete, data: {:confirm => t('referentials.actions.destroy_confirm')}, class: "remove"
li = link_to t('api_keys.actions.new'), new_referential_api_key_path(@referential), class: 'add'
+ li = link_to t('referentials.actions.clone'), new_referential_path(from: @referential.id), class: 'add'
br
h4 = t('.clean_up')
- == render 'clean' \ No newline at end of file
+ == render 'clean'