修复比赛排名页面重复参数的 bug
This commit is contained in:
@@ -75,14 +75,14 @@
|
|||||||
<ul class="pager">
|
<ul class="pager">
|
||||||
{% if paging_info.previous_page %}
|
{% if paging_info.previous_page %}
|
||||||
<li class="previous">
|
<li class="previous">
|
||||||
<a href="/contest/{{ contest.id }}/rank/?paging=true&page={{ paging_info.previous_page }}&page_size={{ paging_info.page_size }}&auto_refresh={% if auto_refresh %}true{% else %}false{% endif %}">
|
<a href="/contest/{{ contest.id }}/rank/?paging=true&page={{ paging_info.previous_page }}&page_size={{ paging_info.page_size }}{% if auto_refresh %}&auto_refresh=true{% endif %}">
|
||||||
|
|
||||||
<span aria-hidden="true">←</span> 上一页
|
<span aria-hidden="true">←</span> 上一页
|
||||||
</a></li>
|
</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if paging_info.next_page %}
|
{% if paging_info.next_page %}
|
||||||
<li class="next">
|
<li class="next">
|
||||||
<a href="/contest/{{ contest.id }}/rank/?paging=true&page={{ paging_info.next_page }}&page_size={{ paging_info.page_size }}&auto_refresh={% if auto_refresh %}true{% else %}false{% endif %}">
|
<a href="/contest/{{ contest.id }}/rank/?paging=true&page={{ paging_info.next_page }}&page_size={{ paging_info.page_size }}{% if auto_refresh %}&auto_refresh=true{% endif %}">
|
||||||
下一页 <span aria-hidden="true">→</span>
|
下一页 <span aria-hidden="true">→</span>
|
||||||
</a></li>
|
</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Reference in New Issue
Block a user