From f19c81bf904c3f00b051d48e333d0d35e0e85275 Mon Sep 17 00:00:00 2001 From: papi Date: Sat, 30 Dec 2023 19:54:12 +0300 Subject: [PATCH] Search template updated --- .vscode/settings.json | 3 +++ templates/search/search_view.html | 17 ++++++++--------- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index ae860d2..9002598 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,4 +1,7 @@ { "editor.formatOnSave": true, + "[html]": { + "editor.formatOnSave": false + }, "liveSassCompile.settings.includeItems": ["**/static/css/style.scss"] } diff --git a/templates/search/search_view.html b/templates/search/search_view.html index ac2cc13..8db71c4 100644 --- a/templates/search/search_view.html +++ b/templates/search/search_view.html @@ -5,8 +5,8 @@ {% block content %} -
-

About {{ count }} results for {{ query }}

+
+ Home Search


@@ -37,7 +37,7 @@
-

About {{ count }} results for {{ query }}

+
{{ count }} result{{ count|pluralize }} for {{ query }}

{% for object in object_list %} {% with object|class_name as klass %} @@ -99,8 +99,7 @@ {% empty %}
-

No result for your search

-
+
@@ -116,10 +115,10 @@
Search by using:
    -
  • Program > Title or Description
  • -
  • Course > Title, Code or Description
  • -
  • News And Events > Title, Description or just by typing "news" or "event"
  • -
  • Quiz > Title, Description or Category(practice, assignment and exam)
  • +
  • Program > Title or Description
  • +
  • Course > Title, Code or Description
  • +
  • News And Events > Title, Description or just by typing "news" or "event"
  • +
  • Quiz > Title, Description or Category(practice, assignment and exam)