aboutsummaryrefslogtreecommitdiffstats
path: root/templates/user/settings/applications_oauth2.tmpl
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2021-08-27 03:57:40 +0100
committerGitHub <noreply@github.com>2021-08-26 22:57:40 -0400
commite37342db0c102ef12ae70072d9f4bbef89338085 (patch)
tree50598f0627960e60aec866568a29e3cffa378c5b /templates/user/settings/applications_oauth2.tmpl
parent3289aceec2b760e690fe7505d22ff685950cd0e7 (diff)
downloadgitea-e37342db0c102ef12ae70072d9f4bbef89338085.tar.gz
gitea-e37342db0c102ef12ae70072d9f4bbef89338085.zip
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>
Diffstat (limited to 'templates/user/settings/applications_oauth2.tmpl')
-rw-r--r--templates/user/settings/applications_oauth2.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/user/settings/applications_oauth2.tmpl b/templates/user/settings/applications_oauth2.tmpl
index 4de3f27ec3..8218674bce 100644
--- a/templates/user/settings/applications_oauth2.tmpl
+++ b/templates/user/settings/applications_oauth2.tmpl
@@ -13,7 +13,7 @@
{{svg "octicon-pencil" 16 "mr-2"}}
{{$.i18n.Tr "settings.oauth2_application_edit"}}
</a>
- <button class="ui red tiny button delete-button" id="remove-gitea-oauth2-application"
+ <button class="ui red tiny button delete-button" data-modal-id="remove-gitea-oauth2-application"
data-url="{{AppSubUrl}}/user/settings/applications/oauth2/delete"
data-id="{{$app.ID}}">
{{svg "octicon-trash" 16 "mr-2"}}