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 d5d2d806a0
commit 24d3a35700

View File

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