mirror of
https://github.com/YGGverse/HLState.git
synced 2026-03-31 17:15:39 +00:00
fix page condition
This commit is contained in:
parent
340b9dc15c
commit
e41b9dbe94
1 changed files with 2 additions and 2 deletions
|
|
@ -167,7 +167,7 @@
|
||||||
<path d="M0 2a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2zm10.5 10V4a.5.5 0 0 0-.832-.374l-4.5 4a.5.5 0 0 0 0 .748l4.5 4A.5.5 0 0 0 10.5 12"/>
|
<path d="M0 2a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2zm10.5 10V4a.5.5 0 0 0-.832-.374l-4.5 4a.5.5 0 0 0 0 .748l4.5 4A.5.5 0 0 0 10.5 12"/>
|
||||||
</svg>
|
</svg>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if request.get('sort') != 'online' or request.get('page') < server.pagination.online %}
|
{% if request.get('sort') != 'online' or request.get('page') ? request.get('page') : 1 < server.pagination.online %}
|
||||||
<a rel="nofollow" href="{{
|
<a rel="nofollow" href="{{
|
||||||
path(
|
path(
|
||||||
'server_index',
|
'server_index',
|
||||||
|
|
@ -251,7 +251,7 @@
|
||||||
<path d="M0 2a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2zm10.5 10V4a.5.5 0 0 0-.832-.374l-4.5 4a.5.5 0 0 0 0 .748l4.5 4A.5.5 0 0 0 10.5 12"/>
|
<path d="M0 2a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2zm10.5 10V4a.5.5 0 0 0-.832-.374l-4.5 4a.5.5 0 0 0 0 .748l4.5 4A.5.5 0 0 0 10.5 12"/>
|
||||||
</svg>
|
</svg>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if request.get('sort') != 'players' or request.get('page') < server.pagination.players %}
|
{% if request.get('sort') != 'players' or request.get('page') ? request.get('page') : 1 < server.pagination.players %}
|
||||||
<a rel="nofollow" href="{{
|
<a rel="nofollow" href="{{
|
||||||
path(
|
path(
|
||||||
'server_index',
|
'server_index',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue