mirror of https://github.com/apache/archiva.git
use warning label for modal confirm delete proxy connector
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1293958 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
63bb780965
commit
a3868cb428
|
@ -321,7 +321,8 @@ $(function() {
|
||||||
displaySuccessMessage($.i18n.prop('proxyconnector.removed'));
|
displaySuccessMessage($.i18n.prop('proxyconnector.removed'));
|
||||||
self.proxyConnectors.remove(proxyConnector);
|
self.proxyConnectors.remove(proxyConnector);
|
||||||
closeDialogConfirm();
|
closeDialogConfirm();
|
||||||
})}, $.i18n.prop('ok'), $.i18n.prop('cancel'), $.i18n.prop('proxyconnector.delete.confirm'),null);
|
})}, $.i18n.prop('ok'), $.i18n.prop('cancel'), $.i18n.prop('proxyconnector.delete.confirm'),
|
||||||
|
$("#proxy-connector-delete-warning-tmpl").tmpl(proxyConnector));
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -296,3 +296,9 @@
|
||||||
</div>
|
</div>
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<script id="proxy-connector-delete-warning-tmpl" type='text/x-jquery-tmpl'>
|
||||||
|
<div>
|
||||||
|
<span class="label label-warning">${$.i18n.prop('warning.not.undone.operation')}</span>
|
||||||
|
</div>
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue