You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/templates
yp05327 7f8028e5a1
Fix display problems of members and teams unit (#26363)
Fix:
- display member count and team count in the menu bar

![image](https://github.com/go-gitea/gitea/assets/18380374/7f03ced4-67e2-41ce-b19f-a992823726bb)
- Also display member unit in the menu bar if there are no hidden
members in public org

![image](https://github.com/go-gitea/gitea/assets/18380374/31422ad6-7190-438d-8e99-8a4af9cce908)
- hidden member board when there's no seeable members.
In this org, we only have hidden members: 

![image](https://github.com/go-gitea/gitea/assets/18380374/d749420b-554a-4483-8cd2-221df61b5ca7)
We will hidden the member board when doer is not the member of this org

![image](https://github.com/go-gitea/gitea/assets/18380374/93bb782e-7d4d-4ad3-a096-133afbc51f8a)
Before:

![image](https://github.com/go-gitea/gitea/assets/18380374/eafc0b3e-6218-42ab-a892-39645d08a5eb)
If you click the number in the members board, you will access the
members page, which is not expected.

![image](https://github.com/go-gitea/gitea/assets/18380374/73d6dadc-0ef2-4ca9-8485-c5f4211bffb2)

---------

Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: Giteabot <teabot@gitea.io>
2 years ago
..
admin Remove unnecessary template helper DisableGravatar (#26386) 2 years ago
api/packages/pypi Remove incorrect HTML self close tag (#23748) 2 years ago
base Use template context function for avatar rendering (#26385) 2 years ago
code Fix inconsistent user profile layout across tabs (#25625) 2 years ago
custom Add footer extra links template (#9576) 5 years ago
devtest Introduce `flex-list` & `flex-item` elements for Gitea UI (#25790) 2 years ago
explore remove unnecessary explore org template (#26459) 2 years ago
mail Add template linting via djlint (#25212) 2 years ago
org Fix display problems of members and teams unit (#26363) 2 years ago
package Use flex classes in package settings (#26314) 2 years ago
projects fix grab cursor on default column (#26476) 2 years ago
repo add disable workflow feature (#26413) 2 years ago
shared Fix URL of padlock icon in profile (#26446) 2 years ago
status Replace fomantic divider module with our own (#25539) 2 years ago
swagger Add API route to list org secrets (#26485) 2 years ago
user Count only visible repos on profile (#25928) 2 years ago
home.tmpl Improve home page template, fix Sort dropdown menu flash (#23856) 2 years ago
install.tmpl Show correct SSL Mode on "install page" (#25818) 2 years ago
post-install.tmpl Remove incorrect element ID on "post-install" page (#25104) 2 years ago