1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-09-20 01:45:59 -04:00
gitea/templates/repo/settings
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
..
webhook Prevent tab shifting, remove extra margin on fluid pages (#31090) 2024-05-27 06:45:16 +00:00
actions.tmpl Support configuration variables on Gitea Actions (#24724) 2023-06-20 22:54:15 +00:00
branches.tmpl Migrate margin and padding helpers to tailwind (#30043) 2024-03-24 17:42:49 +01:00
collaboration.tmpl use correct l10n string (#31487) 2024-06-25 14:54:18 +00:00
deploy_keys.tmpl template: label fix correct input id (#30987) 2024-05-16 14:36:31 +08:00
githook_edit.tmpl Migrate gt-hidden to tw-hidden (#30046) 2024-03-24 18:23:38 +00:00
githooks.tmpl Migrate margin and padding helpers to tailwind (#30043) 2024-03-24 17:42:49 +01:00
layout_footer.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2023-04-23 18:21:21 +08:00
layout_head.tmpl Use flex-container for repo and org settings (#27418) 2023-10-04 08:47:54 +02:00
lfs_file_find.tmpl Remove RenderEmojiPlain from template helper (#29375) 2024-02-24 22:34:51 +00:00
lfs_file.tmpl Improve detecting empty files (#31332) 2024-06-13 01:06:46 +00:00
lfs_locks.tmpl Fix more "locale" usages (#27259) 2023-09-25 20:42:40 +08:00
lfs_pointers.tmpl code optimization (#31315) 2024-06-11 21:07:10 +08:00
lfs.tmpl Remove fomantic button module (#30475) 2024-04-14 17:53:52 +00:00
navbar.tmpl Refactor repo unit "disabled" check (#31389) 2024-06-18 00:51:13 +00:00
options.tmpl Move repository visibility to danger zone in the settings area (#31126) 2024-08-11 07:50:54 +03:00
protected_branch.tmpl Allow force push to protected branches (#28086) 2024-07-05 18:21:56 +00:00
push_mirror_sync_modal.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
runner_edit.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2023-04-23 18:21:21 +08:00
secrets.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2023-04-23 18:21:21 +08:00
tags.tmpl Replace 10 more gt- classes with tw- (#29945) 2024-03-22 13:45:10 +00:00