'disabled' newer/older links cannot be interacted with
This commit is contained in:
@@ -111,7 +111,8 @@ section {
|
|||||||
text-decoration: underline; }
|
text-decoration: underline; }
|
||||||
.items a.page.empty {
|
.items a.page.empty {
|
||||||
color: #969499;
|
color: #969499;
|
||||||
text-decoration: none; }
|
text-decoration: none;
|
||||||
|
cursor: default; }
|
||||||
|
|
||||||
.item {
|
.item {
|
||||||
padding: 8px 36;
|
padding: 8px 36;
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ section {
|
|||||||
a.page.empty {
|
a.page.empty {
|
||||||
color: $midgray;
|
color: $midgray;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
cursor: default;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -7,16 +7,16 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% if items.has_next %}
|
{% if items.has_next %}
|
||||||
<a class="page" href="?{{ pagination_key }}={{ items.next_page_number }}">
|
<a class="page" href="?{{ pagination_key }}={{ items.next_page_number }}">
|
||||||
Older →
|
Older →
|
||||||
</a>
|
</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<a class="page empty" href="#">Older →</a>
|
<a class="page empty">Older →</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if items.has_previous %}
|
{% if items.has_previous %}
|
||||||
<a class="page" href="?{{ pagination_key }}={{ items.previous_page_number }}">
|
<a class="page" href="?{{ pagination_key }}={{ items.previous_page_number }}">
|
||||||
← Newer
|
← Newer
|
||||||
</a>
|
</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<a class="page empty" href="#">← Newer</a>
|
<a class="page empty">← Newer</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user