summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chimere/templates/chimere/blocks/actions.html4
-rw-r--r--chimere/views.py1
2 files changed, 2 insertions, 3 deletions
diff --git a/chimere/templates/chimere/blocks/actions.html b/chimere/templates/chimere/blocks/actions.html
index 6c60c68..c218e6d 100644
--- a/chimere/templates/chimere/blocks/actions.html
+++ b/chimere/templates/chimere/blocks/actions.html
@@ -21,13 +21,13 @@
{% endif %}
</a>
</li>
- <li class="action" id="action-map">
+ <li class="action{% if not is_directory %} selected{% endif %}" id="action-map">
<a href="{% url 'index' area_name %}">
{% trans "Map" %}
</a>
</li>
{% if area.show_directory %}
- <li class="action" id="action-directory">
+ <li class="action{% if is_directory %} selected{% endif %}" id="action-directory">
<a href="{% url 'chimere:category-directory' area_name %}">
{% trans "Directory" %}
</a>
diff --git a/chimere/views.py b/chimere/views.py
index 9dac562..5b54607 100644
--- a/chimere/views.py
+++ b/chimere/views.py
@@ -1458,7 +1458,6 @@ class SearchView(FormView):
return context
-
autocomplete = None
if getattr(settings, 'HAYSTACK_SEARCH_ENGINE', None):