replication/ui: improve wording for job removal

Delete the strange sounding Note from the Removal dialog.
This was added to make sure that an user isn't confused that a Job is
still shown after 'removing' it. But it isn't needed as there is
already noted in the jobs status that it will get removed soon after
doing so, so the user sees that his action had the desired effect, no
extra note needed.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2017-06-27 15:01:26 +02:00 committed by Dietmar Maurer
parent 1adc6f7ab3
commit 7f15c83c03

View File

@ -245,9 +245,7 @@ Ext.define('PVE.grid.ReplicaView', {
handler: 'removeJob', handler: 'removeJob',
dangerous: true, dangerous: true,
confirmMsg: function(rec) { confirmMsg: function(rec) {
var msg = Ext.String.format(gettext('Are you sure you want to remove replication job {0}'), var msg = Ext.String.format(gettext("Are you sure you want to remove replication job '{0}'?"), rec.id);
"'" + rec.id + "'" + '<br>' +
gettext('(Note: Removal of replication job has to be replicated)'));
return msg; return msg;
}, },
disabled: true disabled: true