From ef0dd5b4fe56ce6c380e8762cf79693b8e0c0a6d Mon Sep 17 00:00:00 2001 From: mst Date: Fri, 28 Feb 2025 07:15:26 +0300 Subject: [PATCH] username input in general settings --- templates/admin/categories/general.html | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/templates/admin/categories/general.html b/templates/admin/categories/general.html index e8df816..1b0ecff 100644 --- a/templates/admin/categories/general.html +++ b/templates/admin/categories/general.html @@ -1,19 +1,24 @@ {% extends 'admin/base.html' %} -{% block _title %}General{% endblock %} +{% block _title %}{{ _('General') }}{% endblock %} {% set general_link = 'active' %} {% block _content %}
-

General

-

General settings

+

{{ _('General') }}

+

{{ _('General settings') }}

- + + +

{{ _('Your username') }}

+
+
+ -

Max length of a question in characters; questions extending this character limit will not be added to the database

+

{{ _('Max length of a question in characters; questions extending this character limit will not be added to the database') }}

- + -

This name will be used for questions asked to you by anonymous users

+

{{ _('This name will be used for questions asked to you by anonymous users') }}