forgejo/templates/shared/user
0ko 382c3c3228 feat(ui): allow dropdown to contain not just items (#9951)
Currently the dropdown component only supports having one `<summary>` and one `<ul>` (with interactive items) in it. This PR refactors it to add a `.content` container so that it is possible for the dropdown to contain things the more complex dropdowns do like `<hr>` and a searchbar.

Also adds an `<hr>` to user actions as a little demo.

Preview
B: https://codeberg.org/attachments/8dfb98d2-52be-4c3c-8fc0-8fe470f34703
A: https://codeberg.org/attachments/53f2acfb-2e61-4420-b616-13d563f5c257

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/9951
Reviewed-by: Otto <otto@codeberg.org>
2025-11-05 05:00:15 +01:00
..
actions_menu.tmpl feat(ui): allow dropdown to contain not just items (#9951) 2025-11-05 05:00:15 +01:00
authorlink.tmpl Consolidate tag release user display with issue comments 2025-08-27 19:29:11 +02:00
avatarlink.tmpl Use template context function for avatar rendering (#26385) 2023-08-10 11:19:39 +08:00
mention_highlight.tmpl feat(ui): highlight user mention in comments and commit messages 2024-11-14 14:08:12 +01:00
name.tmpl Always use whole user name as link (#27815) 2023-10-30 09:53:16 +00:00
namelink.tmpl Timeline and color tweaks (#21799) 2022-11-19 12:02:30 +08:00
org_profile_avatar.tmpl Replace gt-word-break with tw-break-anywhere 2024-06-11 08:57:27 +05:00
profile_big_avatar.tmpl feat(ui): implement new buttons for better cohesiveness (#9359) 2025-10-05 05:22:32 +02:00