This repository has been archived by the owner on Mar 15, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #670 from ngokevin/mobilequeuesearch
add mobile review queue advanced search (bug 839542)
- Loading branch information
Showing
27 changed files
with
629 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,43 @@ | ||
{% if pager.paginator.num_pages > 1 %} | ||
<nav class="paginator c pjax-trigger"> | ||
<p class="rel"> | ||
<a href="{{ pager.url|urlparams(page=1) | ||
if pager.has_previous() else '#' }}" | ||
title="{{ _('Jump to first page') }}" | ||
class="button jump{{ ' disabled' if not pager.has_previous() }}"> | ||
<span>◂◂</span></a> | ||
<a href="{{ pager.url|urlparams(page=pager.previous_page_number()) | ||
if pager.has_previous() else '#' }}" | ||
class="button prev{% if not pager.has_previous() %} disabled{% endif %}"> | ||
<span>◂ {{ _('Previous') }}</span></a> | ||
<a href="{{ pager.url|urlparams(page=pager.next_page_number()) | ||
if pager.has_next() else '#' }}" | ||
class="button next{% if not pager.has_next() %} disabled{% endif %}"> | ||
<span>{{ _('Next') }} ▸</span></a> | ||
<a href="{{ pager.url|urlparams(page=pager.paginator.num_pages) | ||
if pager.has_next() else '#' }}" | ||
class="button jump{{ ' disabled' if not pager.has_next() }}"> | ||
<span>▸▸</span></a> | ||
</p> | ||
<p class="num"> | ||
{# L10n: This is a page range (e.g., Page 1 of 50). #} | ||
{% trans current_pg=pager.number, | ||
last_pg=pager.paginator.num_pages, | ||
current_pg_url=pager.url|urlparams(page=pager.number), | ||
last_pg_url=pager.url|urlparams(page=pager.paginator.num_pages) %} | ||
Page <a href="{{ current_pg_url }}">{{ current_pg }}</a> of | ||
<a href="{{ last_pg_url }}">{{ last_pg }}</a> | ||
{% endtrans %} | ||
</p> | ||
<p class="pos"> | ||
{# L10n: First and second arguments are the result range (e.g., 1-20); | ||
third argument is the number of total results (e.g., 1,000). #} | ||
{% trans begin=pager.start_index(), end=pager.end_index(), | ||
count=pager.paginator.count|numberfmt %} | ||
Showing <b>{{ begin }}</b>–<b>{{ end }}</b> of <b>{{ count }}</b> | ||
{% endtrans %} | ||
</p> | ||
</nav> | ||
{% endif %} | ||
<nav class="paginator c pjax-trigger"> | ||
{% if pager.paginator.num_pages > 1 %} | ||
<p class="rel"> | ||
<a href="{{ pager.url|urlparams(page=1) | ||
if pager.has_previous() else '#' }}" | ||
title="{{ _('Jump to first page') }}" | ||
class="button jump{{ ' disabled' if not pager.has_previous() }}"> | ||
<span>◂◂</span></a> | ||
<a href="{{ pager.url|urlparams(page=pager.previous_page_number()) | ||
if pager.has_previous() else '#' }}" | ||
class="button prev{% if not pager.has_previous() %} disabled{% endif %}"> | ||
<span>◂ {{ _('Previous') }}</span></a> | ||
<a href="{{ pager.url|urlparams(page=pager.next_page_number()) | ||
if pager.has_next() else '#' }}" | ||
class="button next{% if not pager.has_next() %} disabled{% endif %}"> | ||
<span>{{ _('Next') }} ▸</span></a> | ||
<a href="{{ pager.url|urlparams(page=pager.paginator.num_pages) | ||
if pager.has_next() else '#' }}" | ||
class="button jump{{ ' disabled' if not pager.has_next() }}"> | ||
<span>▸▸</span></a> | ||
</p> | ||
{% endif %} | ||
|
||
<p class="num"> | ||
{# L10n: This is a page range (e.g., Page 1 of 50). #} | ||
{% trans current_pg=pager.number, | ||
last_pg=pager.paginator.num_pages, | ||
current_pg_url=pager.url|urlparams(page=pager.number), | ||
last_pg_url=pager.url|urlparams(page=pager.paginator.num_pages) %} | ||
Page <a href="{{ current_pg_url }}">{{ current_pg }}</a> of | ||
<a href="{{ last_pg_url }}">{{ last_pg }}</a> | ||
{% endtrans %} | ||
</p> | ||
|
||
<p class="pos"> | ||
{# L10n: First and second arguments are the result range (e.g., 1-20); | ||
third argument is the number of total results (e.g., 1,000). #} | ||
{% trans begin=pager.start_index(), end=pager.end_index(), | ||
count=pager.paginator.count|numberfmt %} | ||
Showing <b>{{ begin }}</b>–<b>{{ end }}</b> of <b>{{ count }}</b> | ||
{% endtrans %} | ||
</p> | ||
</nav> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.