From 2564c15cb006a551ab21dac66369c363a4e78473 Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Wed, 1 Jan 2025 18:02:34 +0800 Subject: Remove some unnecessary template helpers (#33069) DisableGitHooks and DisableImportLocal are only used when editing a user, so only set them in `editUserCommon` --- templates/admin/user/edit.tmpl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'templates/admin') diff --git a/templates/admin/user/edit.tmpl b/templates/admin/user/edit.tmpl index 41b00defb4..d591a645d8 100644 --- a/templates/admin/user/edit.tmpl +++ b/templates/admin/user/edit.tmpl @@ -128,16 +128,16 @@ -
+
- +
-
+
- +
{{if not .DisableRegularOrgCreation}} -- cgit v1.2.3