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
Jakob 136d7492ff
Add missing badges in user profile for /projects and /packages (#24232)
- Implement fix for user and organization page
- Add necessary ctx.Data

When switching tabs on `user profile page` the badges are shown for
`/gitea_user?tab=stars`, `/gitea_user?tab=activity` and missing under
`gitea_user/-/projects` and `gitea_user/-/packages`

This was added for users and organizations.

Before:

![image](https://user-images.githubusercontent.com/72307968/233338877-f795fae3-b65a-4ea1-8784-dd2b0cd6618f.png)
After:

![image](https://user-images.githubusercontent.com/72307968/233339012-90adb6c4-4de2-432e-ae49-69611eb7aec3.png)

Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Giteabot <teabot@gitea.io>
2 years ago
..
admin Use auto-updating, natively hoverable, localized time elements (#23988) 2 years ago
api/packages/pypi Remove incorrect HTML self close tag (#23748) 2 years ago
base Refactor `setting.Other` and remove unused `SHOW_FOOTER_BRANDING` (#24270) 2 years ago
code Use data-tooltip-content for tippy tooltip (#23649) 2 years ago
custom Add footer extra links template (#9576) 5 years ago
devtest Refactor locale number (#24134) 2 years ago
explore Use auto-updating, natively hoverable, localized time elements (#23988) 2 years ago
mail Remove incorrect HTML self close tag (#23748) 2 years ago
org Limit avatar upload to valid image files (#24258) 2 years ago
package Remove untranslatable `on_date` key (#24106) 2 years ago
projects Add unset default project column (#23531) 2 years ago
repo Improve template helper functions: string/slice (#24266) 2 years ago
shared Add monospace toggle button to textarea (#24034) 2 years ago
status Show friendly 500 error page to users and developers (#24110) 2 years ago
swagger Add activity feeds API (#23494) 2 years ago
user Add missing badges in user profile for /projects and /packages (#24232) 2 years ago
home.tmpl Improve home page template, fix Sort dropdown menu flash (#23856) 2 years ago
install.tmpl Remove incorrect HTML self close tag (#23748) 2 years ago
post-install.tmpl Remove incorrect HTML self close tag (#23748) 2 years ago