From 9d67405b2865b0bbce54a963f2df8f92612a43cd Mon Sep 17 00:00:00 2001 From: ffont Date: Tue, 13 Feb 2024 14:51:16 +0100 Subject: [PATCH] Add link to map search page in main map --- geotags/views.py | 2 +- templates/geotags/geotags_content.html | 9 ++++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/geotags/views.py b/geotags/views.py index 6bfb4dace..ffe0ccfa2 100644 --- a/geotags/views.py +++ b/geotags/views.py @@ -296,7 +296,7 @@ def for_query(request): if q is not None: query_description = q if f is not None: - query_description = f'Empty query with some filtes applied' + query_description = f'Empty query with some filters applied' tvars.update({ 'tag': None, 'username': None, diff --git a/templates/geotags/geotags_content.html b/templates/geotags/geotags_content.html index 2e7c7d1f3..de3815a62 100644 --- a/templates/geotags/geotags_content.html +++ b/templates/geotags/geotags_content.html @@ -19,11 +19,14 @@ {% if not modal_version %}
- {% if query_search_page_url %} - See results in search page - {% endif %} {% if username or sound or pack or query_params %} + {% if query_search_page_url %} + See results in search page + {% endif %} View all geotags + {% else %} + {% comment %} all sounds map {% endcomment %} + See results in search page {% endif %}