diff --git a/computes/templates/computes/list.html b/computes/templates/computes/list.html index d032fdae..dfd05eee 100644 --- a/computes/templates/computes/list.html +++ b/computes/templates/computes/list.html @@ -11,7 +11,6 @@ {% include 'create_comp_block.html' %} {% if computes|length > 1 %}{% trans "Balance" %}{% endif %} {% include 'search_block.html' %} -
{% include 'common/tag_filter.html' %}

{% trans "Computes" %}

@@ -52,6 +51,7 @@ + {% include 'common/tag_filter.html' %} {# position-relative: the hidden status texts are positioned within it, not the page #}
diff --git a/computes/tests/test_tags.py b/computes/tests/test_tags.py index 3a134725..ecc479bb 100644 --- a/computes/tests/test_tags.py +++ b/computes/tests/test_tags.py @@ -155,7 +155,9 @@ class HostTagsTests(TestCase): response = self.client.get(reverse("computes")) self.assertContains(response, 'data-show-tags title="ssd"') # three, and "…" for the others self.assertContains(response, "rack-1") - self.assertContains(response, '', html=True) + self.assertContains(response, '', + html=True) self.assertContains(response, 'data-tag-filter="rack-1"') # a search and a tag that match no host: the page says so and clears them self.assertContains(response, 'id="no-match"') diff --git a/instances/templates/allinstances.html b/instances/templates/allinstances.html index ea1ccecc..d15db790 100644 --- a/instances/templates/allinstances.html +++ b/instances/templates/allinstances.html @@ -6,7 +6,6 @@ {% block page_heading_extra %}
- {% include 'common/tag_filter.html' %} {# the list's search and the address search, as one control #}
@@ -43,18 +42,19 @@ {% if instances %} {# the state filter: table_filter.js counts each state's VMs the search finds #} -