diff --git a/NorahUniversity/__pycache__/settings.cpython-312.pyc b/NorahUniversity/__pycache__/settings.cpython-312.pyc index 99c93be..ee8b9a6 100644 Binary files a/NorahUniversity/__pycache__/settings.cpython-312.pyc and b/NorahUniversity/__pycache__/settings.cpython-312.pyc differ diff --git a/NorahUniversity/settings.py b/NorahUniversity/settings.py index 962943d..790ff14 100644 --- a/NorahUniversity/settings.py +++ b/NorahUniversity/settings.py @@ -156,7 +156,7 @@ LOCALE_PATHS = [ BASE_DIR / 'locale', ] -TIME_ZONE = 'UTC' +TIME_ZONE = 'Asia/Riyadh' USE_I18N = True diff --git a/db.sqlite3 b/db.sqlite3 index 064b297..a610315 100644 Binary files a/db.sqlite3 and b/db.sqlite3 differ diff --git a/templates/base.html b/templates/base.html index 21eeb6b..2aac25d 100644 --- a/templates/base.html +++ b/templates/base.html @@ -298,20 +298,32 @@
+ {% if template.description %} + {{ template.description|truncatewords:20 }} + {% else %} + {% trans "No description provided" %} + {% endif %} +
- {% if template.description %} - {{ template.description|truncatewords:20 }} - {% else %} - No description provided - {% endif %} -
-- {% if query %}No templates match your search "{{ query }}".{% else %}You haven't created any form templates yet.{% endif %} -
- - Create Your First Template - ++ {% if query %} + {% blocktrans with query=query %}No templates match your search "{{ query }}".{% endblocktrans %} + {% else %} + {% trans "You haven't created any form templates yet." %} + {% endif %} +
+ + {% trans "Create Your First Template" %} + +