gitea/templates/org
Lunny Xiao 7de114a332
Rework delete org and rename org UI (#34762)
# What's the problem of the original implementation

Renaming organization will mix with organization's information change
make the operation difficult to keep consistent.

This PR created a danger zone like what's repository setting. It also
moved organization's `rename` and `delete` operations to this zone. The
original updating repository will not change the name any more.

This is also a step to extract the `updaterepository` function
completely.

Before:


![image](https://github.com/user-attachments/assets/d097dfdf-07be-4d79-8fcf-e78822515575)

![image](https://github.com/user-attachments/assets/42ee832c-cb44-41ec-9fe3-92a1c94747d2)

After:


![image](https://github.com/user-attachments/assets/f7700ed7-f104-4302-a924-09e118f24be3)

![image](https://github.com/user-attachments/assets/4c49952a-578e-4d14-bd01-4a68c9e02412)

![image](https://github.com/user-attachments/assets/814829d3-00fe-4e87-ae05-625c129170d2)

![image](https://github.com/user-attachments/assets/b067b263-c909-4b48-b23c-73481c32d350)

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-06-21 18:21:48 +00:00
..
member Fix incorrect tailwind migration (#30007) 2024-03-22 20:51:29 +01:00
projects Add fullscreen mode as a more efficient operation way to view projects (#34081) 2025-04-23 13:42:22 +08:00
settings Rework delete org and rename org UI (#34762) 2025-06-21 18:21:48 +00:00
team Fix various misalignments and overflows (#34227) 2025-04-17 10:32:41 +00:00
worktime Worktime tracking for the organization level (#19808) 2025-02-03 01:51:12 +08:00
create.tmpl Restore form inputs on organization create error (#34201) 2025-04-15 08:21:51 +00:00
follow_unfollow.tmpl Migrate margin and padding helpers to tailwind (#30043) 2024-03-24 17:42:49 +01:00
header.tmpl Misc CSS fixes (#34638) 2025-06-07 19:57:07 +02:00
home.tmpl Refactor markup and pdf-viewer to use new init framework (#33772) 2025-03-03 11:49:15 -08:00
menu.tmpl refactor organization menu (#33928) 2025-04-10 12:12:55 -07:00
worktime.tmpl Worktime tracking for the organization level (#19808) 2025-02-03 01:51:12 +08:00