diff --git a/base/templates/base/rotating_shift/rotating_shift_assign_view.html b/base/templates/base/rotating_shift/rotating_shift_assign_view.html index e6fda0310..864cf099f 100644 --- a/base/templates/base/rotating_shift/rotating_shift_assign_view.html +++ b/base/templates/base/rotating_shift/rotating_shift_assign_view.html @@ -261,11 +261,11 @@
- {% trans "Does not match any results!" %} + {% trans "No search result found!" %}
diff --git a/base/templates/base/rotating_work_type/rotating_work_type_assign_view.html b/base/templates/base/rotating_work_type/rotating_work_type_assign_view.html index cd273569f..0357535c9 100644 --- a/base/templates/base/rotating_work_type/rotating_work_type_assign_view.html +++ b/base/templates/base/rotating_work_type/rotating_work_type_assign_view.html @@ -262,14 +262,14 @@
- {% trans "Does not match any results!" %} + {% trans "No search result found!" %}
- + {% endif %} diff --git a/base/templates/shift_request/htmx/requests.html b/base/templates/shift_request/htmx/requests.html index 451df030d..de9e2fe9e 100755 --- a/base/templates/shift_request/htmx/requests.html +++ b/base/templates/shift_request/htmx/requests.html @@ -267,16 +267,16 @@ style="cursor: pointer;" {% else %} -
- -
- {% trans "There are currently no shift requests to consider." %} -
-
+
+ +
+ {% trans "No search result found!" %} +
+
{% endif %} diff --git a/base/templates/work_type_request/htmx/requests.html b/base/templates/work_type_request/htmx/requests.html index d76e652e8..79e095abb 100755 --- a/base/templates/work_type_request/htmx/requests.html +++ b/base/templates/work_type_request/htmx/requests.html @@ -268,11 +268,11 @@ style="cursor: pointer; display: none"
- {% trans "There are currently no work type requests to consider." %} + {% trans "No search result found!" %}
diff --git a/employee/templates/employee_personal_info/employee_card.html b/employee/templates/employee_personal_info/employee_card.html index 87fce1d89..08a7f6047 100644 --- a/employee/templates/employee_personal_info/employee_card.html +++ b/employee/templates/employee_personal_info/employee_card.html @@ -42,119 +42,134 @@
- {% for emp in data %} -
- -
-
- -
-
- -
- {{emp}} - {{emp.email}}
- {{emp.employee_work_info.job_position_id}} -
- {% if emp.check_online %} - {% trans "Online" %} - {% else %} - {% trans "Offline" %} - {% endif %} + {% if data %} + {% for emp in data %} + - - {% if perms.employee.change_employee or perms.employee.delete_employee or request.user|check_manager:emp %} -
-
- - - {% endif %} + {% endfor %}
- {% endfor %} -
-
- + + {% trans "Page" %} {{ data.number }} {% trans "of" %} {{ data.paginator.num_pages }}. + - {% trans "Page" %} {{ data.number }} {% trans "of" %} {{ data.paginator.num_pages }}. - - +
+{% else %} + +
+ +
+ {% trans "No search result found!" %} +
+ +{% endif %} diff --git a/employee/templates/employee_personal_info/employee_list.html b/employee/templates/employee_personal_info/employee_list.html index c251ad13b..e4ed116c4 100644 --- a/employee/templates/employee_personal_info/employee_list.html +++ b/employee/templates/employee_personal_info/employee_list.html @@ -42,7 +42,7 @@
{% endif %}
- +{% if data %}
@@ -108,7 +108,7 @@ > {% trans "Date of Joining" %}
-
+
{% trans "Actions" %}
{% for emp in data %} @@ -214,7 +214,7 @@ >
{% if perms.employee.change_employee or request.user|check_manager:emp %} @@ -226,6 +226,7 @@ > {% endif %} {% if perms.employee.delete_employee %} {% if emp.is_active %}
{% csrf_token %}
+{% else %} + +
+ +
+ {% trans "No search result found!" %} +
+
+ + +{% endif %} +