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-26 20:18:28 +00:00
2026-04-26 20:18:28 +00:00
2026-04-26 20:18:28 +00:00
2026-04-08 01:17:05 +08:00
2026-02-13 00:15:46 +00:00
2026-04-26 20:18:28 +00:00
2025-03-28 21:04:40 -07:00
2026-04-26 20:18:28 +00:00
2026-03-29 09:21:14 +00:00
2026-02-17 09:06:27 +01:00
2026-04-26 20:18:28 +00:00
2025-01-20 07:43:49 +00:00
2026-03-26 00:37:48 +08:00
2026-03-31 21:50:45 +00:00
2026-01-23 02:10:11 +00:00
2026-04-12 10:17:25 +08:00
2025-06-22 12:43:43 +00:00
2026-02-10 03:29:28 +00:00
2025-08-27 16:31:21 +00:00
2025-10-21 15:07:11 +00:00
2026-03-31 21:50:45 +00:00
2026-03-31 21:50:45 +00:00
2025-06-22 12:43:43 +00:00
2025-03-31 01:53:48 -04:00
2026-03-29 09:21:14 +00:00
2025-02-16 22:13:17 -08:00
2026-04-26 20:18:28 +00:00
2026-04-26 20:18:28 +00:00
2026-03-29 09:21:14 +00:00
2025-06-07 11:25:08 +03:00
2025-06-07 11:25:08 +03:00
2026-04-26 20:18:28 +00:00
2025-04-21 00:43:43 +00:00
2026-04-26 20:18:28 +00:00
2026-04-26 20:18:28 +00:00
2025-02-17 11:28:37 -08:00
2026-03-04 21:23:17 +08:00
2025-06-25 07:22:58 +08:00
2026-04-26 20:18:28 +00:00
2022-11-27 18:20:29 +00:00
2026-04-26 20:18:28 +00:00
2026-04-26 20:18:28 +00:00
2026-04-26 20:18:28 +00:00
2026-04-26 20:18:28 +00:00
2023-09-28 01:38:53 +00:00
2026-03-07 12:37:37 -08:00
2026-01-09 04:37:16 +00:00
2026-01-09 04:37:16 +00:00
2026-02-27 12:38:44 +00:00
2026-04-26 20:18:28 +00:00
2026-04-26 20:18:28 +00:00
2024-12-24 13:47:45 +00:00
2026-04-26 20:18:28 +00:00
2026-01-24 05:11:49 +00:00
2026-04-22 21:33:27 +00:00
2026-04-26 20:18:28 +00:00
2025-03-28 21:04:40 -07:00
2026-04-26 20:18:28 +00:00
2026-04-26 20:18:28 +00:00
2026-04-17 22:30:17 +00:00
2026-04-26 20:18:28 +00:00
2026-03-08 14:35:50 +00:00
2026-04-27 17:33:10 +00:00
2024-02-27 08:12:22 +01:00
2026-04-19 17:57:51 +00:00
2025-12-04 19:47:23 +01:00
2025-11-05 17:48:38 +00:00
2026-04-17 22:30:17 +00:00
2025-07-31 09:34:51 +08:00
2026-04-26 20:18:28 +00:00
2026-03-01 05:33:08 +00:00
2026-04-17 22:30:17 +00:00
2022-11-27 18:20:29 +00:00
2026-04-26 20:18:28 +00:00
2026-04-27 17:33:10 +00:00
2025-01-31 02:36:18 +00:00
2025-09-01 11:12:58 -07:00
2026-04-26 20:18:28 +00:00