Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gelencsér Szabolcs
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
3a59e5f6
authored
Feb 11, 2013
by
tarokkk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
webui: VM popup strong tag on name
parent
a35c44b6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
one/static/cloud.js
+4
-4
No files found.
one/static/cloud.js
View file @
3a59e5f6
...
...
@@ -135,7 +135,7 @@ $(function() {
*/
function
stop_vm
(
id
,
name
)
{
confirm_message
=
interpolate
(
gettext
(
"Are you sure stopping %s?"
),
[
name
])
confirm_message
=
interpolate
(
gettext
(
"Are you sure stopping %s?"
),
[
"<strong>"
+
name
+
"</strong>"
])
vm_confirm_popup
(
confirm_message
,
gettext
(
"Stop"
),
function
()
{
manage_vm
(
id
,
"stop"
)
});
...
...
@@ -145,7 +145,7 @@ $(function() {
*/
function
delete_vm
(
id
,
name
)
{
confirm_message
=
interpolate
(
gettext
(
"Are you sure deleting %s?"
),
[
name
])
confirm_message
=
interpolate
(
gettext
(
"Are you sure deleting %s?"
),
[
"<strong>"
+
name
+
"</strong>"
])
vm_confirm_popup
(
confirm_message
,
gettext
(
"Delete"
),
function
()
{
manage_vm
(
id
,
"delete"
)
})
...
...
@@ -155,7 +155,7 @@ $(function() {
*/
function
restart_vm
(
id
,
name
)
{
confirm_message
=
interpolate
(
gettext
(
"Are you sure restarting %s?"
),
[
name
])
confirm_message
=
interpolate
(
gettext
(
"Are you sure restarting %s?"
),
[
"<strong>"
+
name
+
"</strong>"
])
vm_confirm_popup
(
confirm_message
,
gettext
(
"Restart"
),
function
()
{
manage_vm
(
id
,
"restart"
)
})
...
...
@@ -190,7 +190,7 @@ $(function() {
* Template delete
*/
function
delete_template_confirm
(
id
,
name
)
{
confirm_message
=
interpolate
(
gettext
(
"Are you sure deleting this %s template?"
),
[
name
])
confirm_message
=
interpolate
(
gettext
(
"Are you sure deleting this %s template?"
),
[
"<strong>"
+
name
+
"</strong>"
])
vm_confirm_popup
(
confirm_message
,
gettext
(
"Delete"
),
function
()
{
delete_template
(
id
)
})
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment