forked from forgejo/forgejo
Page: User profile
This commit is contained in:
parent
f69761563b
commit
71e4689d11
12 changed files with 275 additions and 79 deletions
|
@ -608,6 +608,13 @@ function initInstall() {
|
|||
}());
|
||||
}
|
||||
|
||||
function initProfile() {
|
||||
// Avatar.
|
||||
$('#profile-avatar').tipsy({
|
||||
fade: true
|
||||
});
|
||||
}
|
||||
|
||||
$(document).ready(function () {
|
||||
Gogs.AppSubUrl = $('head').data('suburl');
|
||||
initCore();
|
||||
|
@ -644,6 +651,9 @@ $(document).ready(function () {
|
|||
if ($('#install-form').length) {
|
||||
initInstall();
|
||||
}
|
||||
if ($('#user-profile-page').length) {
|
||||
initProfile();
|
||||
}
|
||||
|
||||
$('#dashboard-sidebar-menu').tabs();
|
||||
$('#pull-issue-preview').markdown_preview(".issue-add-comment");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue