gitea/templates
Fábio Barkoski e45a4c9829
Move repository visibility to danger zone in the settings area (#31126)
Moved repository visibility to the danger zone in the settings area. To
change the visibility, it is necessary to go to the danger zone, click
on the private/public button, and accept the change in the modal.

Resolves:  #23826

---
## Screenshots

<details>
<summary>Before</summary>
Private repo:

![Private
repo](https://github.com/go-gitea/gitea/assets/65479069/4313492a-4854-48bc-9f47-974e3539d791)

Public repo:

![Public
repo](https://github.com/go-gitea/gitea/assets/65479069/1c45f6e4-ee93-4799-9331-e9d4a7e0f16a)

</details>
<details>
<summary>After</summary>
Make private:

![Screenshot from 2024-05-28
21-35-38](https://github.com/go-gitea/gitea/assets/65479069/4887e28a-0514-4990-aa69-bf3ddc7e6c7d)

Make private modal

![Screenshot from 2024-06-13
23-55-55](https://github.com/go-gitea/gitea/assets/65479069/9f5a7604-069b-41a2-973b-ee2d58e85953)

![Screenshot from 2024-06-13
23-53-09](https://github.com/go-gitea/gitea/assets/65479069/06c22726-eab2-4bce-8df7-62849dcce974)

Make public:

![Screenshot from 2024-05-28
21-34-27](https://github.com/go-gitea/gitea/assets/65479069/6d388f99-0356-48a0-9d85-320cdba55179)

Make public modal

![Screenshot from 2024-06-13
23-53-37](https://github.com/go-gitea/gitea/assets/65479069/8944972e-f2d4-4aea-ba96-b892febb5ced)

</details>

---------

Co-authored-by: Kemal Zebari <60799661+kemzeb@users.noreply.github.com>
2024-08-11 07:50:54 +03:00
..
admin Support delete user email in admin panel (#31690) 2024-07-25 18:11:04 +08:00
api/packages/pypi Fix links in PyPI Simple Repository API page (#30594) 2024-04-20 01:15:14 +00:00
base Refactor repo unit "disabled" check (#31389) 2024-06-18 00:51:13 +00:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
devtest Make toast support preventDuplicates (#31501) 2024-06-27 13:58:38 +00:00
explore Refactor web routes (#30519) 2024-04-17 08:31:37 +00:00
mail Remove unnecessary SanitizeHTML from code (#29575) 2024-03-04 12:02:45 +00:00
org Right align the "Settings" menu item in overflow-menu (#30764) 2024-04-30 04:26:13 +00:00
package Extract and display readme and comments for Composer packages (#30927) 2024-06-14 04:45:52 +00:00
projects Replace `gt-word-break` with `tw-break-anywhere` (#31183) 2024-06-04 13:57:11 +00:00
repo Move repository visibility to danger zone in the settings area (#31126) 2024-08-11 07:50:54 +03:00
shared Improve detecting empty files (#31332) 2024-06-13 01:06:46 +00:00
status Simplify 404/500 page (#31409) 2024-06-23 17:45:21 +00:00
swagger Fix null requested_reviewer from API (#31773) 2024-08-05 10:59:53 +00:00
user add skip secondary authorization option for public oauth2 clients (#31454) 2024-07-19 14:28:30 -04:00
webhook Fix incorrect tailwind migration (#30007) 2024-03-22 20:51:29 +01:00
home.tmpl Migrate margin and padding helpers to tailwind (#30043) 2024-03-24 17:42:49 +01:00
install.tmpl Fix some UI problems (install/checkbox) (#30854) 2024-05-06 06:32:05 +00:00
post-install.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 2023-09-25 08:56:50 +00:00