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
Yarden Shoham f2a9951741
Update the list of watchers and stargazers when clicking watch/unwatch or star/unstar (#32570)
We make sure the user cards are updated

- Fixes https://github.com/go-gitea/gitea/issues/32561

I also removed `ctx.Data["PageIsWatchers"] = true` and
`ctx.Data["PageIsStargazers"] = true` as they are not used anywhere.

# Before

![before](https://github.com/user-attachments/assets/e3bc3235-35eb-4eda-862d-bdf2510282ea)

# After

![after](https://github.com/user-attachments/assets/bc0488a5-8399-4cf6-95c9-17328a9702eb)

---------

Signed-off-by: Yarden Shoham <git@yardenshoham.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: silverwind <me@silverwind.io>
4 months ago
..
admin Fix some places which doesn't repsect org full name setting (#32243) 4 months ago
api/packages/pypi Fix links in PyPI Simple Repository API page (#30594) 11 months ago
base Refactor language menu and dom utils (#32450) 4 months ago
custom Add footer extra links template (#9576) 5 years ago
devtest Refactor DateUtils and merge TimeSince (#32409) 4 months ago
explore Refactor template ctx and render utils (#32422) 4 months ago
mail Remove unnecessary SanitizeHTML from code (#29575) 1 year ago
org Refactor template ctx and render utils (#32422) 4 months ago
package Refactor template ctx and render utils (#32422) 4 months ago
projects Refactor template ctx and render utils (#32422) 4 months ago
repo Update the list of watchers and stargazers when clicking watch/unwatch or star/unstar (#32570) 4 months ago
shared Refactor template ctx and render utils (#32422) 4 months ago
status Remove urls from translations (#31950) 6 months ago
swagger Refactor render system (#32492) 4 months ago
user Enhancing Gitea OAuth2 Provider with Granular Scopes for Resource Access (#32573) 4 months ago
webhook Fix incorrect tailwind migration (#30007) 12 months ago
home.tmpl Remove urls from translations (#31950) 6 months ago
install.tmpl Supplement and Improvement for #32558 (#32585) 4 months ago
post-install.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 1 year ago