mirror of https://github.com/apache/cloudstack.git
new UI - localize disable HA dialog.
This commit is contained in:
parent
b4144ac918
commit
1e2c504d3b
|
|
@ -19,4 +19,5 @@ public = Public
|
|||
password.enabled = Password Enabled
|
||||
please.confirm.you.want.to.change.the.root.password.for.the.virtual.machine = Please confirm you want to change the ROOT password for the virtual machine
|
||||
please.confirm.you.want.to.enable.HA.for.your.virtual.machine.once.HA.is.enabled.your.virtual.machine.will.be.automatically.restarted.in.the.event.it.is.detected.to.have.failed = Please confirm you want to enable HA for your virtual machine. Once HA is enabled, your virtual machine will be automatically restarted in the event it is detected to have failed.
|
||||
please.confirm.you.want.to.disable.HA.for.the.virtual.machine.once.HA.is.disabled.the.virtual.machine.will.no.longer.be.automatically.restarted.in.the.event.of.a.failure = Please confirm you want to disable HA for the virtual machine. Once HA is disabled, the virtual machine will no longer be be automatically restarted in the event of a failure.
|
||||
|
||||
|
|
|
|||
|
|
@ -1059,4 +1059,10 @@
|
|||
<%=t.t("please.confirm.you.want.to.enable.HA.for.your.virtual.machine.once.HA.is.enabled.your.virtual.machine.will.be.automatically.restarted.in.the.event.it.is.detected.to.have.failed")%>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div id="dialog_confirmation_disable_ha" title="Confirmation" style="display:none">
|
||||
<p>
|
||||
<%=t.t("please.confirm.you.want.to.disable.HA.for.the.virtual.machine.once.HA.is.disabled.the.virtual.machine.will.no.longer.be.automatically.restarted.in.the.event.of.a.failure")%>
|
||||
</p>
|
||||
</div>
|
||||
<!-- ***** Dialogs (end) ***** -->
|
||||
|
|
|
|||
|
|
@ -72,6 +72,7 @@ function clickInstanceGroupHeader($arrowIcon) {
|
|||
initDialog("dialog_change_service_offering");
|
||||
initDialog("dialog_confirmation_change_root_password");
|
||||
initDialog("dialog_confirmation_enable_ha");
|
||||
initDialog("dialog_confirmation_disable_ha");
|
||||
|
||||
activateDialog($("#dialog_create_template").dialog({
|
||||
width: 400, //this dialog box has dropdown fields, so need to fix width as 400 instead of 600.
|
||||
|
|
@ -979,11 +980,8 @@ function doEnableHA($t, selectedItemsInMidMenu, vmListAPIMap) {
|
|||
}).dialog("open");
|
||||
}
|
||||
|
||||
function doDisableHA($t, selectedItemsInMidMenu, vmListAPIMap) {
|
||||
var message = "<p>Please confirm you want to disable HA for your virtual machine. Once HA is disabled, your Virtual Instance will no longer be be automatically restarted in the event of a failure.</p>";
|
||||
|
||||
$("#dialog_confirmation")
|
||||
.html(message)
|
||||
function doDisableHA($t, selectedItemsInMidMenu, vmListAPIMap) {
|
||||
$("#dialog_confirmation_disable_ha")
|
||||
.dialog('option', 'buttons', {
|
||||
"Confirm": function() {
|
||||
$(this).dialog("close");
|
||||
|
|
|
|||
Loading…
Reference in New Issue