Skip to content

Commit

Permalink
Remove upper pagination (#1614)
Browse files Browse the repository at this point in the history
  • Loading branch information
blms committed Jul 25, 2024
1 parent b0a1a7c commit bf401ef
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions geniza/corpus/templates/corpus/document_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -123,21 +123,13 @@ <h2>
<i class="ph-caret-down" role="presentation"></i>
</fieldset>
</div>
{% if is_paginated %}
{% include "corpus/snippets/pagination.html" %}
{% endif %}
<ol>
{% for document in documents %}
{% include "corpus/snippets/document_result.html" %}
{% endfor %}
</ol>
{% if is_paginated %}
{# Translators: screen reader label for pagination navigation displayed after search results #}
{% translate "secondary pagination" as pagination_label %}
{# don't include footer pagination on random sort, since it's disabled #}
{% if form.sort.value != 'random' %}
{% include "corpus/snippets/pagination.html" with aria_label=pagination_label %}
{% endif %}
{% include "corpus/snippets/pagination.html" %}
{% endif %}
</section>
</form>
Expand Down

0 comments on commit bf401ef

Please sign in to comment.