gitea icon indicating copy to clipboard operation
gitea copied to clipboard

Added missing headers on user packages page

Open nagos opened this issue 2 years ago • 1 comments

User packages page had missing tabs.

packages-2 packages-1

nagos avatar Sep 15 '22 13:09 nagos

Isn't this template shared also with organizations that shouldn't have these tabs?

lafriks avatar Sep 15 '22 23:09 lafriks

Template is shared, but this patch affects only user portion.

{{if .ContextUser.IsOrganization}}
...
{{else}}
...

https://github.com/go-gitea/gitea/pull/21172/files#diff-8020089c79cc846f287e738cf57917d21ec16499df1d994e6c31309d06a1a5afR54

packages-org

nagos avatar Sep 19 '22 07:09 nagos

Space moved. But this code was copied from profile template, there are same problem.

https://github.com/go-gitea/gitea/blob/main/templates/user/profile.tmpl#L117

nagos avatar Oct 19 '22 14:10 nagos

make L-G-T-M work

lunny avatar Oct 24 '22 12:10 lunny