mirror of https://github.com/apache/archiva.git
use warning label for modal confirm delete user
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1293959 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a3868cb428
commit
aa750e5e58
|
@ -103,4 +103,10 @@
|
|||
</div>
|
||||
</script>
|
||||
|
||||
<script id="user-delete-warning-tmpl" type='text/x-jquery-tmpl'>
|
||||
<div>
|
||||
<span class="label label-warning">${$.i18n.prop('warning.not.undone.operation')}</span>
|
||||
</div>
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -118,7 +118,8 @@ $(function() {
|
|||
}
|
||||
);
|
||||
}
|
||||
,"Ok", $.i18n.prop("cancel"), $.i18n.prop("user.delete.message") + ": " + currentUser.username());
|
||||
,"Ok", $.i18n.prop("cancel"), $.i18n.prop("user.delete.message") + ": " + currentUser.username(),
|
||||
$("#user-delete-warning-tmpl" ).tmpl(currentUser));
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue