mirror of
https://github.com/goharbor/harbor.git
synced 2024-10-05 08:47:52 +02:00
refined structure of item-detail.js
This commit is contained in:
parent
aef3d6cbef
commit
8e6c45871f
@ -131,6 +131,7 @@ jQuery(function(){
|
||||
}
|
||||
}
|
||||
data.Created = moment(new Date(data.Created)).format("YYYY-MM-DD HH:mm:ss");
|
||||
|
||||
$("#dlgModal").dialogModal({"title": i18n.getMessage("image_details"), "content": data});
|
||||
}
|
||||
}
|
||||
@ -330,6 +331,7 @@ jQuery(function(){
|
||||
getUserRoleCallback(userId);
|
||||
});
|
||||
$("#tblUser .glyphicon-trash").on("click", function(){
|
||||
var roleId = $(this).attr("roleid");
|
||||
var userId = $(this).attr("userid");
|
||||
new AjaxUtil({
|
||||
url: "/api/projects/" + $("#projectId").val() + "/members/" + userId,
|
||||
|
Loading…
Reference in New Issue
Block a user