Merge branch 'master' into prod

This commit is contained in:
2018-06-04 08:45:19 -07:00
3 changed files with 6 additions and 4 deletions

View File

@@ -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;

View File

@@ -26,6 +26,7 @@ section {
a.page.empty { a.page.empty {
color: $midgray; color: $midgray;
text-decoration: none; text-decoration: none;
cursor: default;
} }
} }

View File

@@ -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 &rarr; Older &rarr;
</a> </a>
{% else %} {% else %}
<a class="page empty" href="#">Older &rarr;</a> <a class="page empty">Older &rarr;</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 }}">
&larr; Newer &larr; Newer
</a> </a>
{% else %} {% else %}
<a class="page empty" href="#">&larr; Newer</a> <a class="page empty">&larr; Newer</a>
{% endif %} {% endif %}
</div> </div>