]> source.dussan.org Git - gitea.git/commit
Add modals to Organization and Team remove/leave (#16471)
authorzeripath <art27@cantab.net>
Fri, 27 Aug 2021 02:57:40 +0000 (03:57 +0100)
committerGitHub <noreply@github.com>
Fri, 27 Aug 2021 02:57:40 +0000 (22:57 -0400)
commite37342db0c102ef12ae70072d9f4bbef89338085
tree50598f0627960e60aec866568a29e3cffa378c5b
parent3289aceec2b760e690fe7505d22ff685950cd0e7
Add modals to Organization and Team remove/leave (#16471)

* Add modals to Organization and Team remove/leave

Add confirmation modals to Organization and Team remove and leave.

Fix #16215

Signed-off-by: Andrew Thornton <art27@cantab.net>
* avoid for-in

Signed-off-by: Andrew Thornton <art27@cantab.net>
* Revert "avoid for-in"

This reverts commit 2af9a6f9d46ed31b6fc6e3a29e695577dcf09f75.

* Apply suggestions from code review

Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
19 files changed:
options/locale/locale_en-US.ini
routers/web/org/members.go
routers/web/org/teams.go
templates/org/member/members.tmpl
templates/org/team/members.tmpl
templates/org/team/sidebar.tmpl
templates/org/team/teams.tmpl
templates/user/settings/account.tmpl
templates/user/settings/applications.tmpl
templates/user/settings/applications_oauth2.tmpl
templates/user/settings/grants_oauth2.tmpl
templates/user/settings/keys_gpg.tmpl
templates/user/settings/keys_principal.tmpl
templates/user/settings/keys_ssh.tmpl
templates/user/settings/security_accountlinks.tmpl
templates/user/settings/security_openid.tmpl
templates/user/settings/security_twofa.tmpl
templates/user/settings/security_u2f.tmpl
web_src/js/index.js