gitea/templates
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
..
admin Fix autofocus behavior (#34397) 2025-05-08 18:26:18 +00:00
api/packages/pypi Fix links in PyPI Simple Repository API page (#30594) 2024-04-20 01:15:14 +00:00
base Enforce two-factor auth (2FA: TOTP or WebAuthn) (#34187) 2025-04-28 15:31:59 -07:00
custom
devtest markup: improve code block readability and isolate copy button (#34009) 2025-04-19 05:53:39 +00:00
explore Fix span svg layout (#34185) 2025-04-13 12:44:57 +08:00
mail Remove unnecessary SanitizeHTML from code (#29575) 2024-03-04 12:02:45 +00:00
org Rework delete org and rename org UI (#34762) 2025-06-21 18:21:48 +00:00
package Refactor packages (func name & UI) (#34773) 2025-06-18 19:04:24 +00:00
projects Add fullscreen mode as a more efficient operation way to view projects (#34081) 2025-04-23 13:42:22 +08:00
repo Refactor editor (#34780) 2025-06-21 19:20:51 +08:00
shared Improve img lazy loading (#34804) 2025-06-21 14:53:22 +08:00
status Enforce two-factor auth (2FA: TOTP or WebAuthn) (#34187) 2025-04-28 15:31:59 -07:00
swagger Add workflow_run api + webhook (#33964) 2025-06-20 20:14:00 +08:00
user Improve img lazy loading (#34804) 2025-06-21 14:53:22 +08:00
webhook Fix incorrect tailwind migration (#30007) 2024-03-22 20:51:29 +01:00
home.tmpl Misc CSS fixes (#34638) 2025-06-07 19:57:07 +02:00
install.tmpl Fix various trivial frontend problems (#34263) 2025-04-24 09:11:54 +08:00
post-install.tmpl Fix various trivial frontend problems (#34263) 2025-04-24 09:11:54 +08:00