mirror of https://github.com/apache/archiva.git
use warning label for modal confirm delete network proxy
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1293956 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7da60c31dd
commit
a8c941a869
|
@ -193,7 +193,8 @@ $(function() {
|
|||
closeDialogConfirm();
|
||||
}
|
||||
}
|
||||
)}, $.i18n.prop('ok'), $.i18n.prop('cancel'), $.i18n.prop('networkproxy.delete.confirm',networkProxy.id()),null);
|
||||
)}, $.i18n.prop('ok'), $.i18n.prop('cancel'), $.i18n.prop('networkproxy.delete.confirm',networkProxy.id()),
|
||||
$("#network-proxy-delete-warning-tmpl" ).tmpl(networkProxy));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -164,3 +164,8 @@
|
|||
<a data-bind="click: updateModifiedNetworkProxies" class="btn btn-danger" href="#">${$.i18n.prop('save.all')}</a>
|
||||
{{/if}}
|
||||
</script>
|
||||
<script id="network-proxy-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