]> source.dussan.org Git - gitea.git/commit
Fix inconsistent user profile layout across tabs (#25625)
authorpuni9869 <80308335+puni9869@users.noreply.github.com>
Thu, 6 Jul 2023 18:59:24 +0000 (00:29 +0530)
committerGitHub <noreply@github.com>
Thu, 6 Jul 2023 18:59:24 +0000 (18:59 +0000)
commit2af30f715e64dbb0a3900168e3768ffb36c06392
tree9167af942ea3d4ee7e32e756637ae48d6d10041e
parentf0bde0e4f902970d447e3aae628f2dcf6f79e539
Fix inconsistent user profile layout across tabs (#25625)

Fix ::User Profile Page  Project Tab Have Inconsistent Layout and Style
Added the big_avator for consistency in the all header_items tabs.
Fixes: #24871
> ### Description
> in the user profile page the `Packages` and `Projects` tab have small
icons for user but other tabs have bigger profile picture with user
info:
>
> ### Screenshots
> ### **For Packages And Projects:**
>
![image](https://user-images.githubusercontent.com/25511175/240148601-2420d77b-ba25-4718-9ccb-c5d0d95e3079.png)
>
> ### **For Other Tabs:**
>
![image](https://user-images.githubusercontent.com/25511175/240148461-ce9636b3-fe11-4c46-a230-30d83eee5947.png)
>

## Before

![image](https://github.com/go-gitea/gitea/assets/80308335/975ad038-07ca-4b10-b75d-ccf259be7b9d)

 ## After changes
Project View
<img width="1394" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/95d181d7-8e61-496d-9899-7b825c91ad56">

Packages View
<img width="1378" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/7f5fd60f-6b18-4fa8-8c56-7b0d45d1a610">

## Org view for projects page
<img width="1385" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/6400dc89-a5ae-4f0a-831b-5b6efa020d89">

## Org view for packages page
<img width="1387" alt="image"
src="https://github.com/go-gitea/gitea/assets/80308335/4e1e9ffe-1e4b-4334-8657-de11b5fd31d0">

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Giteabot <teabot@gitea.io>
Co-authored-by: silverwind <me@silverwind.io>
30 files changed:
models/user/user.go
modules/context/org.go
routers/web/org/projects.go
routers/web/shared/user/header.go
routers/web/user/code.go
routers/web/user/home.go
routers/web/user/package.go
routers/web/user/profile.go
templates/code/searchcombo.tmpl [new file with mode: 0644]
templates/explore/code.tmpl
templates/org/menu.tmpl
templates/org/projects/list.tmpl
templates/org/projects/new.tmpl
templates/org/projects/view.tmpl
templates/package/settings.tmpl
templates/package/shared/list.tmpl
templates/package/shared/versionlist.tmpl
templates/package/view.tmpl
templates/projects/list.tmpl
templates/projects/new.tmpl
templates/repo/packages.tmpl
templates/repo/projects/new.tmpl
templates/shared/user/org_profile_avatar.tmpl [new file with mode: 0644]
templates/shared/user/profile_big_avatar.tmpl [new file with mode: 0644]
templates/user/code.tmpl
templates/user/overview/header.tmpl
templates/user/overview/package_versions.tmpl
templates/user/overview/packages.tmpl
templates/user/profile.tmpl
web_src/css/helpers.css