mirror of
https://github.com/apache/cloudstack.git
synced 2025-12-16 02:22:52 +01:00
bug 7116: volume page, snapshot page, IP Address page - cleanup the confirmation dialogs to use a single dialog (i.e. "dialog_confirmation").
This commit is contained in:
parent
61ce43bdff
commit
c44dc97f31
@ -121,7 +121,6 @@ please.confirm.you.want.to.disable.account.that.will.prevent.account.access.to.t
|
|||||||
please.confirm.you.want.to.lock.account.that.will.prevent.account.access.to.the.cloud = Please confirm you want to lock account that will prevent account access to the cloud.
|
please.confirm.you.want.to.lock.account.that.will.prevent.account.access.to.the.cloud = Please confirm you want to lock account that will prevent account access to the cloud.
|
||||||
please.confirm.you.want.to.enable.account = Please confirm you want to enable account.
|
please.confirm.you.want.to.enable.account = Please confirm you want to enable account.
|
||||||
please.select.an.available.zone.to.associate.your.new.ip.with..acquiring.additional.ip.may.cost.you.an.additional.dollars.per.month. = Please select an availability zone to associate your new IP with. Acquiring additional IP may cost you an additional dollars per month.
|
please.select.an.available.zone.to.associate.your.new.ip.with..acquiring.additional.ip.may.cost.you.an.additional.dollars.per.month. = Please select an availability zone to associate your new IP with. Acquiring additional IP may cost you an additional dollars per month.
|
||||||
please.confirm.you.want.to.release.this.IP.address = Please confirm you want to release this IP address
|
|
||||||
please.restart.your.management.server.for.your.new.settings.to.take.effect = Please RESTART your management server for your new settings to take effect
|
please.restart.your.management.server.for.your.new.settings.to.take.effect = Please RESTART your management server for your new settings to take effect
|
||||||
enabling.maintenance.mode.will.cause.a.live.migration.of.all.running.instances.on.this.host.to.any.available.host = Enabling maintenance mode will cause a live migration of all running instances on this host to any available host.
|
enabling.maintenance.mode.will.cause.a.live.migration.of.all.running.instances.on.this.host.to.any.available.host = Enabling maintenance mode will cause a live migration of all running instances on this host to any available host.
|
||||||
please.confirm.you.want.to.cancel.maintenance.for.the.host = Please confirm you want to cancel maintenance for the host
|
please.confirm.you.want.to.cancel.maintenance.for.the.host = Please confirm you want to cancel maintenance for the host
|
||||||
|
|||||||
@ -603,12 +603,6 @@
|
|||||||
<!-- VPN Template (end) -->
|
<!-- VPN Template (end) -->
|
||||||
|
|
||||||
<!-- dialogs (begin) -->
|
<!-- dialogs (begin) -->
|
||||||
<div id="dialog_confirmation_release_ip" title="Confirmation" style="display:none">
|
|
||||||
<p>
|
|
||||||
<%=t.t("please.confirm.you.want.to.release.this.IP.address")%>
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="dialog_confirmation_remove_vpnuser" title="Confirmation" style="display:none">
|
<div id="dialog_confirmation_remove_vpnuser" title="Confirmation" style="display:none">
|
||||||
<p>
|
<p>
|
||||||
Please confirm you want to remove VPN access from the following user: <span id="username"></span>
|
Please confirm you want to remove VPN access from the following user: <span id="username"></span>
|
||||||
|
|||||||
@ -144,12 +144,6 @@
|
|||||||
</div>
|
</div>
|
||||||
<!-- Add Volume Dialog from Snapshot (end) -->
|
<!-- Add Volume Dialog from Snapshot (end) -->
|
||||||
|
|
||||||
<!-- snapshot confirmation dialog (begin) -->
|
|
||||||
<div id="dialog_confirmation_delete_snapshot" title="Confirmation" style="display:none">
|
|
||||||
<p>Please confirm you want to delete the snapshot.</p>
|
|
||||||
</div>
|
|
||||||
<!-- snapshot confirmation dialog (end) -->
|
|
||||||
|
|
||||||
<!-- Create template from snapshot (begin) -->
|
<!-- Create template from snapshot (begin) -->
|
||||||
<div id="dialog_create_template_from_snapshot" title="Create Template from Snapshot" style="display:none">
|
<div id="dialog_create_template_from_snapshot" title="Create Template from Snapshot" style="display:none">
|
||||||
<div class="dialog_formcontent">
|
<div class="dialog_formcontent">
|
||||||
|
|||||||
@ -287,12 +287,6 @@
|
|||||||
</div>
|
</div>
|
||||||
<!-- Create Snapshot Dialog (end) -->
|
<!-- Create Snapshot Dialog (end) -->
|
||||||
|
|
||||||
<!-- snapshot confirmation dialog (begin) -->
|
|
||||||
<div id="dialog_confirmation_delete_snapshot" title="Confirmation" style="display:none">
|
|
||||||
<p>Please confirm you want to delete the snapshot.</p>
|
|
||||||
</div>
|
|
||||||
<!-- snapshot confirmation dialog (end) -->
|
|
||||||
|
|
||||||
<!-- Recurring Snapshots Dialog (begin) -->
|
<!-- Recurring Snapshots Dialog (begin) -->
|
||||||
<div id="dialog_recurring_snapshot" title="Recurring Snapshot" style="display:none;">
|
<div id="dialog_recurring_snapshot" title="Recurring Snapshot" style="display:none;">
|
||||||
<div class="dialog_snapshotcontainer">
|
<div class="dialog_snapshotcontainer">
|
||||||
|
|||||||
@ -58,7 +58,6 @@ function afterLoadIpJSP() {
|
|||||||
|
|
||||||
//dialogs
|
//dialogs
|
||||||
initDialog("dialog_acquire_public_ip", 325);
|
initDialog("dialog_acquire_public_ip", 325);
|
||||||
initDialog("dialog_confirmation_release_ip");
|
|
||||||
initDialog("dialog_enable_vpn");
|
initDialog("dialog_enable_vpn");
|
||||||
initDialog("dialog_disable_vpn");
|
initDialog("dialog_disable_vpn");
|
||||||
initDialog("dialog_add_vpnuser");
|
initDialog("dialog_add_vpnuser");
|
||||||
@ -1117,7 +1116,8 @@ function doReleaseIp($actionLink, $detailsTab, $midmenuItem1) {
|
|||||||
var jsonObj = $midmenuItem1.data("jsonObj");
|
var jsonObj = $midmenuItem1.data("jsonObj");
|
||||||
var ipaddress = jsonObj.ipaddress;
|
var ipaddress = jsonObj.ipaddress;
|
||||||
|
|
||||||
$("#dialog_confirmation_release_ip")
|
$("#dialog_confirmation")
|
||||||
|
.text("Please confirm you want to release this IP address")
|
||||||
.dialog('option', 'buttons', {
|
.dialog('option', 'buttons', {
|
||||||
"Confirm": function() {
|
"Confirm": function() {
|
||||||
$(this).dialog("close");
|
$(this).dialog("close");
|
||||||
|
|||||||
@ -44,8 +44,7 @@ function snapshotGetSearchParams() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function afterLoadSnapshotJSP() {
|
function afterLoadSnapshotJSP() {
|
||||||
initDialog("dialog_add_volume_from_snapshot");
|
initDialog("dialog_add_volume_from_snapshot");
|
||||||
initDialog("dialog_confirmation_delete_snapshot");
|
|
||||||
initCreateTemplateFromSnapshotDialog();
|
initCreateTemplateFromSnapshotDialog();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -195,7 +194,8 @@ var snapshotActionMap = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function doSnapshotDelete($actionLink, $thisTab, $midmenuItem1) {
|
function doSnapshotDelete($actionLink, $thisTab, $midmenuItem1) {
|
||||||
$("#dialog_confirmation_delete_snapshot")
|
$("#dialog_confirmation")
|
||||||
|
.text("Please confirm you want to delete the snapshot")
|
||||||
.dialog('option', 'buttons', {
|
.dialog('option', 'buttons', {
|
||||||
"Confirm": function() {
|
"Confirm": function() {
|
||||||
$(this).dialog("close");
|
$(this).dialog("close");
|
||||||
|
|||||||
@ -54,8 +54,7 @@ function afterLoadVolumeJSP() {
|
|||||||
initDialog("dialog_add_volume");
|
initDialog("dialog_add_volume");
|
||||||
initDialog("dialog_attach_volume");
|
initDialog("dialog_attach_volume");
|
||||||
initDialog("dialog_add_volume_from_snapshot");
|
initDialog("dialog_add_volume_from_snapshot");
|
||||||
initDialog("dialog_create_template_from_snapshot", 450);
|
initDialog("dialog_create_template_from_snapshot", 450);
|
||||||
initDialog("dialog_confirmation_delete_snapshot");
|
|
||||||
initDialog("dialog_download_volume");
|
initDialog("dialog_download_volume");
|
||||||
|
|
||||||
if(isAdmin())
|
if(isAdmin())
|
||||||
@ -985,7 +984,8 @@ var volumeSnapshotActionMap = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function doSnapshotDelete($actionLink, $subgridItem) {
|
function doSnapshotDelete($actionLink, $subgridItem) {
|
||||||
$("#dialog_confirmation_delete_snapshot")
|
$("#dialog_confirmation")
|
||||||
|
.text("Please confirm you want to delete the snapshot")
|
||||||
.dialog('option', 'buttons', {
|
.dialog('option', 'buttons', {
|
||||||
"Confirm": function() {
|
"Confirm": function() {
|
||||||
$(this).dialog("close");
|
$(this).dialog("close");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user