gitea/templates
yp05327 089ac06969
Improve profile for Organizations (#27982)
Fixes some problems in #27955:
- autofocus of the search box
before:
if access the home page will jump to the search box

![image](https://github.com/go-gitea/gitea/assets/18380374/7f100e8d-2bd6-4563-85ba-d6008ffc71d7)
after:
will not jump to the search box

![image](https://github.com/go-gitea/gitea/assets/18380374/9aab382c-8ebe-4d18-b990-4adbb6c341ad)

- incorrect display of overview tab
before:

![image](https://github.com/go-gitea/gitea/assets/18380374/b24c79e8-9b79-4576-9276-43bd19172043)
after:

![image](https://github.com/go-gitea/gitea/assets/18380374/7aab5827-f086-4874-bd84-39bd81b872f3)

- improve the permission check to the private profile repo
In #26295, we simply added access control to the private profile.
But if user have access to the private profile repo , we should also
display the profile.

- add a button which can jump to the repo list?
I agree @wxiaoguang 's opinion here:
https://github.com/go-gitea/gitea/pull/27955#issuecomment-1803178239
But it seems that this feature is sponsored. 
So can we add a button which can quickly jump to the repo list or just
move profile to the `overview` page?

---------

Co-authored-by: silverwind <me@silverwind.io>
2023-11-13 15:33:22 +01:00
..
admin cleanup repo details icons/labels (#27644) 2023-10-16 23:06:15 +02:00
api/packages/pypi Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
base Rename the default themes to gitea-light, gitea-dark, gitea-auto (#27419) 2023-10-06 09:46:36 +02:00
code Fix more "locale" usages (#27259) 2023-09-25 20:42:40 +08:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
devtest Improve dropdown button alignment and fix hover bug (#27632) 2023-10-16 07:26:08 +00:00
explore Improve profile for Organizations (#27982) 2023-11-13 15:33:22 +01:00
mail Update team invitation email link (#26550) 2023-08-31 16:26:13 +00:00
org Add Profile Readme for Organisations (#27955) 2023-11-09 14:05:52 +00:00
package Package repository/documentation link unification (#27804) 2023-10-27 00:16:12 +00:00
projects More `db.DefaultContext` refactor (#27265) 2023-09-29 12:12:54 +00:00
repo Add word-break to repo description in home page (#27924) 2023-11-07 23:52:08 +00:00
shared Add `Hide/Show all checks` button to commit status check (#26284) 2023-11-02 14:49:02 +00:00
status Clean up template locale usage (#27856) 2023-10-31 22:11:48 +08:00
swagger Fix package webhook (#27839) 2023-10-31 04:43:38 +00:00
user Improve profile for Organizations (#27982) 2023-11-13 15:33:22 +01:00
webhook Extract common code to new template (#26933) 2023-09-06 10:11:06 +00:00
home.tmpl Fix more "locale" usages (#27259) 2023-09-25 20:42:40 +08:00
install.tmpl Fix more "locale" usages (#27259) 2023-09-25 20:42:40 +08:00
post-install.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 2023-09-25 08:56:50 +00:00