File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
readthedocsext/theme/templates/includes/crud Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 1
- {% load i18n %}
2
-
3
1
{% if is_paginated %}
4
- < div class ="ui pagination menu ">
2
+ < div class ="ui pagination wrapping menu ">
5
3
6
4
{% if page_obj.has_previous %}
7
- < a class ="icon item " href ="?page{{ page_suffix }}={{ page_obj.previous_page_number }}{{ getvars }} "> < i class ="fa-solid fa-arrow-left icon "> </ i > </ a >
5
+ < a class ="icon item "
6
+ href ="?page{{ page_suffix }}={{ page_obj.previous_page_number }}{{ getvars }} "> < i class ="fa-solid fa-arrow-left icon "> </ i > </ a >
8
7
{% else %}
9
8
< a class ="disabled icon item "> < i class ="fa-solid fa-arrow-left icon "> </ i > </ a >
10
9
{% endif %}
16
15
< div class ="active item "> {{ page }}</ div >
17
16
{% else %}
18
17
{% if disable_link_for_first_page and page == 1 %}
19
- < a href ="{{ request.path }}{% if getvars %}?{{ getvars|slice: "1: " }}{% endif %}" class="item "> {{ page }}</ a >
18
+ < a href ="{{ request.path }}{% if getvars %}?{{ getvars|slice: "1: " }}{% endif %}"
19
+ class="item "> {{ page }}</ a >
20
20
{% else %}
21
21
< a href ="?page{{ page_suffix }}={{ page }}{{ getvars }} " class ="item "> {{ page }}</ a >
22
22
{% endif %}
28
28
{% endif %}
29
29
30
30
{% if page_obj.has_next %}
31
- < a class ="icon item " href ="?page{{ page_suffix }}={{ page_obj.next_page_number }}{{ getvars }} "> < i class ="fa-solid fa-arrow-right icon "> </ i > </ a >
31
+ < a class ="icon item "
32
+ href ="?page{{ page_suffix }}={{ page_obj.next_page_number }}{{ getvars }} "> < i class ="fa-solid fa-arrow-right icon "> </ i > </ a >
32
33
{% else %}
33
34
< a class ="disabled icon item "> < i class ="fa-solid fa-arrow-right icon "> </ i > </ a >
34
35
{% endif %}
You can’t perform that action at this time.
0 commit comments