mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-05-22 17:48:23 +08:00
new access token UI
This commit is contained in:
@ -226,13 +226,6 @@ function initRepository() {
|
||||
});
|
||||
}
|
||||
|
||||
// Settings
|
||||
if ($('.repository.settings').length > 0) {
|
||||
$('#add-deploy-key').click(function () {
|
||||
$('#add-deploy-key-panel').show();
|
||||
});
|
||||
}
|
||||
|
||||
// Issues
|
||||
if ($('.repository.view.issue').length > 0) {
|
||||
var $status_btn = $('#status-button');
|
||||
@ -351,6 +344,9 @@ $(document).ready(function () {
|
||||
}).modal('show');
|
||||
return false;
|
||||
});
|
||||
$('.show-panel.button').click(function () {
|
||||
$($(this).data('panel')).show();
|
||||
});
|
||||
|
||||
initCommentForm();
|
||||
initInstall();
|
||||
|
Reference in New Issue
Block a user