Update tag cloud

This commit is contained in:
2025-03-02 10:12:37 +11:00
parent 30faaf2a9d
commit 82297c08e7
2 changed files with 0 additions and 20 deletions
-1
View File
@@ -10,7 +10,6 @@ class TagListView(ListView):
model = Tag
context_object_name = 'tags'
template_name = 'links/tag_list.html'
paginate_by = 20
def get_queryset(self):
queryset = super().get_queryset()
-19
View File
@@ -66,25 +66,6 @@
{% endfor %}
</div>
{% if is_paginated %}
<div class="mt-8 flex justify-center">
<nav class="inline-flex rounded-md shadow">
{% if page_obj.has_previous %}
<a href="?page={{ page_obj.previous_page_number }}"
class="px-3 py-2 rounded-l-md border border-gray-300 bg-white text-sm font-medium text-gray-700 hover:bg-gray-50">
{% trans "Previous" %}
</a>
{% endif %}
{% if page_obj.has_next %}
<a href="?page={{ page_obj.next_page_number }}"
class="px-3 py-2 rounded-r-md border border-gray-300 bg-white text-sm font-medium text-gray-700 hover:bg-gray-50">
{% trans "Next" %}
</a>
{% endif %}
</nav>
</div>
{% endif %}
</div>
<script>