You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
7 months ago
..
admin Support delete user email in admin panel (#31690) 7 months ago
api/packages/pypi Fix links in PyPI Simple Repository API page (#30594) 10 months ago
base Refactor repo unit "disabled" check (#31389) 8 months ago
custom
devtest Make toast support preventDuplicates (#31501) 8 months ago
explore Refactor web routes (#30519) 10 months ago
mail Remove unnecessary SanitizeHTML from code (#29575) 12 months ago
org Right align the "Settings" menu item in overflow-menu (#30764) 10 months ago
package Extract and display readme and comments for Composer packages (#30927) 8 months ago
projects Replace `gt-word-break` with `tw-break-anywhere` (#31183) 9 months ago
repo Move repository visibility to danger zone in the settings area (#31126) 7 months ago
shared Improve detecting empty files (#31332) 8 months ago
status Simplify 404/500 page (#31409) 8 months ago
swagger Fix null requested_reviewer from API (#31773) 7 months ago
user add skip secondary authorization option for public oauth2 clients (#31454) 7 months ago
webhook Fix incorrect tailwind migration (#30007) 11 months ago
home.tmpl Migrate margin and padding helpers to tailwind (#30043) 11 months ago
install.tmpl Fix some UI problems (install/checkbox) (#30854) 10 months ago
post-install.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 1 year ago