From c190786bda8f440e7064bd6a63a4f9abdcc2cd10 Mon Sep 17 00:00:00 2001 From: Iman Karimi Date: Mon, 31 Jul 2023 15:32:43 +0330 Subject: [PATCH] bug fix to show search bar after nothings found --- .../log_reader/admin/change_list.html | 26 +++++++++---------- setup.py | 2 +- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/log_reader/templates/log_reader/admin/change_list.html b/log_reader/templates/log_reader/admin/change_list.html index f29ad25..6bc35e1 100644 --- a/log_reader/templates/log_reader/admin/change_list.html +++ b/log_reader/templates/log_reader/admin/change_list.html @@ -26,20 +26,20 @@

File Logs

{% block content %}
- {% if django_version >= '3' %} -
{% endif %} - {% if file_contents %} -
- + {% if django_version >= '3' %}
{% endif %} + +
+ + {% if file_contents %} -
- {% endif %} + {% endif %} +
{% if file_contents %}
diff --git a/setup.py b/setup.py index ae77016..57909b5 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ setup( name='django-log-reader', - version='1.1.7', + version='1.1.8', zip_safe=False, packages=find_packages(), include_package_data=True,