From fa5af04ec731ac9d565e1a3b281def77aaf5d12f Mon Sep 17 00:00:00 2001 From: master3395 Date: Mon, 19 Jan 2026 19:23:59 +0100 Subject: [PATCH] Fix createUser template to match v2.4.4 - remove Home Directory section and user_filters load - Removed {% load user_filters %} which is not needed in v2.4.4 - Removed Home Directory selection section (not in v2.4.4) - Changed securityLevels to use direct Django template rendering instead of JSON encoding - Template now matches GitHub v2.4.4 exactly --- .../templates/userManagment/createUser.html | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/userManagment/templates/userManagment/createUser.html b/userManagment/templates/userManagment/createUser.html index 387f9c23a..9de5aeea8 100644 --- a/userManagment/templates/userManagment/createUser.html +++ b/userManagment/templates/userManagment/createUser.html @@ -1,6 +1,5 @@ {% extends "baseTemplate/index.html" %} {% load i18n %} -{% load user_filters %} {% block title %}{% trans "Create New User - CyberPanel" %}{% endblock %} {% block content %} @@ -343,21 +342,6 @@

{% trans "Choose the security level for this account" %}

-
- - -

{% trans "Choose the home directory for this user's files" %}

-
- {$ selectedHomeDirectoryInfo.name $}: {$ selectedHomeDirectoryInfo.description || 'No description available' $}
- Available Space: {$ selectedHomeDirectoryInfo.available_space | filesize $} | Users: {$ selectedHomeDirectoryInfo.user_count $} -
-
-