Files
gitea/routers/web
silverwind 6da8027446 Fix inconsistent disabled styling on logged-out repo header buttons (#37406)
Make the watch, star, and fork buttons in the repo header consistent for
logged-out users:

- Apply the same look to all three buttons (number labels
included), instead of only the action button being grayed.
- Clicking any of them while logged out now leads to the login page
(with a redirect back) instead of being inert.
- Split the per-button markup out of `header.tmpl` into a dedicated
`templates/repo/header/` folder (`fork.tmpl`, `star.tmpl`,
`watch.tmpl`).

---------

Co-authored-by: Claude (Opus 4.7) <noreply@anthropic.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2026-04-27 17:33:10 +00:00
..
2026-04-18 19:32:49 +00:00
2026-02-28 11:23:20 -08:00
2026-04-23 18:33:16 +00:00
2026-03-08 17:59:46 +08:00
2025-04-01 10:14:01 +00:00
2025-04-01 10:14:01 +00:00
2025-08-27 11:00:01 +00:00