From 977c56198c4ddee72fc11bc28933da875e2d379b Mon Sep 17 00:00:00 2001 From: Daniel Molina Date: Thu, 14 Mar 2013 19:20:09 +0100 Subject: [PATCH] feature #1664: Fix clone dialogs --- src/sunstone/public/js/plugins/images-tab.js | 15 +++++--- .../public/js/plugins/templates-tab.js | 36 ++++++++++++++----- 2 files changed, 37 insertions(+), 14 deletions(-) diff --git a/src/sunstone/public/js/plugins/images-tab.js b/src/sunstone/public/js/plugins/images-tab.js index 1899c57368..31d3cc03ed 100644 --- a/src/sunstone/public/js/plugins/images-tab.js +++ b/src/sunstone/public/js/plugins/images-tab.js @@ -1165,10 +1165,12 @@ function setupImageCloneDialog(){ //Put HTML in place - var html = '
\ -
\ -

'+tr("Clone Image")+'

\ -
\ + var html = '
\ +

\ + '+tr("Clone Image")+'\ +

\ +
\ + \
\
\
'+tr("Several image are selected, please choose prefix to name the new copies")+':
\ @@ -1188,7 +1190,10 @@ function setupImageCloneDialog(){ \ -
\ + \ + \ +×\ +\ '; dialog.html(html); diff --git a/src/sunstone/public/js/plugins/templates-tab.js b/src/sunstone/public/js/plugins/templates-tab.js index 9d151a1638..f3ee83854e 100644 --- a/src/sunstone/public/js/plugins/templates-tab.js +++ b/src/sunstone/public/js/plugins/templates-tab.js @@ -3954,20 +3954,38 @@ function setupTemplateCloneDialog(){ //Put HTML in place - var html = '
\ -
'+tr("Choose a new name for the template")+':
\ + var html = '
\ +

\ + '+tr("Clone Template")+'\ +

\ +
\ + \ +
\ +
\
'+tr("Several templates are selected, please choose prefix to name the new copies")+':
\ -
\ -\ -\ -\ -
\ -
\ +
\ +
\ + \ + \ +
\ +
\ + \ +
\ +
\ +
\ +
\ + \ -
\ + \ + \ +×\ +\ '; + dialog.html(html); //Convert into jQuery