From 5b455f245367eae55c0110a2255387c7b41097e1 Mon Sep 17 00:00:00 2001 From: Adil Mohak Date: Sat, 5 Oct 2024 19:46:14 +0300 Subject: [PATCH] Minor UI fixes --- templates/accounts/add_student.html | 2 +- templates/accounts/lecturer_list.html | 6 +++--- templates/accounts/profile.html | 8 ++++---- templates/accounts/profile_single.html | 8 ++++---- templates/accounts/student_list.html | 6 +++--- templates/course/program_list.html | 4 ++-- templates/course/program_single.html | 4 ++-- templates/quiz/progress.html | 4 +++- templates/registration/register.html | 2 +- 9 files changed, 23 insertions(+), 21 deletions(-) diff --git a/templates/accounts/add_student.html b/templates/accounts/add_student.html index 450fb39..851a9ad 100644 --- a/templates/accounts/add_student.html +++ b/templates/accounts/add_student.html @@ -35,7 +35,7 @@ -
+

{% trans 'Others' %}

diff --git a/templates/accounts/lecturer_list.html b/templates/accounts/lecturer_list.html index 8f862c8..33fcee0 100644 --- a/templates/accounts/lecturer_list.html +++ b/templates/accounts/lecturer_list.html @@ -56,9 +56,9 @@
diff --git a/templates/accounts/profile.html b/templates/accounts/profile.html index 8f95c36..7a8df87 100644 --- a/templates/accounts/profile.html +++ b/templates/accounts/profile.html @@ -72,7 +72,7 @@
{% endif %} -

{% trans 'Personal Info' %}

+

{% trans 'Personal Info' %}

{% trans 'First Name:' %} {{ user.first_name|title }}

{% trans 'Last Name:' %} {{ user.last_name|title }}

@@ -80,7 +80,7 @@
{% if user.is_student %}
-

{% trans 'Applicant Info' %}

+

{% trans 'Applicant Info' %}

{% trans 'School:' %} {% trans 'Hawas Preparatory School' %}

{% trans 'Level:' %} {{ level.level }}

@@ -88,7 +88,7 @@ {% endif %}
-

{% trans 'Contact Info' %}

+

{% trans 'Contact Info' %}

{% trans 'Email:' %} {{ user.email }}

{% trans 'Tel No.:' %} {{ user.phone }}

@@ -96,7 +96,7 @@

-

{% trans 'Important Dates' %}

+

{% trans 'Important Dates' %}

{% trans 'Last login:' %} {{ user.last_login }}

{% if current_semester and current_session %} diff --git a/templates/accounts/profile_single.html b/templates/accounts/profile_single.html index 2eadf99..c60762b 100644 --- a/templates/accounts/profile_single.html +++ b/templates/accounts/profile_single.html @@ -85,7 +85,7 @@
{% endif %} -

{% trans 'Personal Info' %}

+

{% trans 'Personal Info' %}

{% trans 'First Name' %}: {{ user.first_name|title }}

{% trans 'Last Name' %}: {{ user.last_name|title }}

@@ -93,7 +93,7 @@
{% if user.is_student %}
-

{% trans 'Applicant Info' %}

+

{% trans 'Applicant Info' %}

{% trans 'School' %}: Unity College

{% trans 'Level' %}: {{ level.level }}

@@ -102,7 +102,7 @@ {% endif %}
-

{% trans 'Contact Info' %}

+

{% trans 'Contact Info' %}

{% trans 'Email' %}: {{ user.email }}

{% trans 'Tel No.' %}: {{ user.phone }}

@@ -110,7 +110,7 @@

-

{% trans 'Important Dates' %}

+

{% trans 'Important Dates' %}

{% trans 'Last login' %}: {{ user.last_login }}

{% if current_semester and current_session %} diff --git a/templates/accounts/student_list.html b/templates/accounts/student_list.html index 72f04ef..a22dbc3 100644 --- a/templates/accounts/student_list.html +++ b/templates/accounts/student_list.html @@ -58,9 +58,9 @@
diff --git a/templates/course/program_list.html b/templates/course/program_list.html index bab76d3..7fef2a4 100644 --- a/templates/course/program_list.html +++ b/templates/course/program_list.html @@ -53,8 +53,8 @@
diff --git a/templates/course/program_single.html b/templates/course/program_single.html index c04e9f8..953a373 100644 --- a/templates/course/program_single.html +++ b/templates/course/program_single.html @@ -79,10 +79,10 @@
diff --git a/templates/quiz/progress.html b/templates/quiz/progress.html index 5b1971b..bf09508 100644 --- a/templates/quiz/progress.html +++ b/templates/quiz/progress.html @@ -95,7 +95,9 @@
{% endif %} {% if not cat_scores and not exams %} -

{% trans 'No recordes yet' %}
+

+ {% trans 'Progress records will appear here' %} +

{% endif %} {% endblock %} diff --git a/templates/registration/register.html b/templates/registration/register.html index 738ba6e..7446844 100644 --- a/templates/registration/register.html +++ b/templates/registration/register.html @@ -9,7 +9,7 @@

- {% trans 'Create Your Account' %} + {% trans 'Create Your Account' %}