Browse Source

fix pagination variable

main
ghost 10 months ago
parent
commit
04a87a7a58
  1. 2
      templates/default/server/index.html.twig

2
templates/default/server/index.html.twig

@ -271,7 +271,7 @@ @@ -271,7 +271,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-2zm5.5 10a.5.5 0 0 0 .832.374l4.5-4a.5.5 0 0 0 0-.748l-4.5-4A.5.5 0 0 0 5.5 4z"/>
</svg>
{% endif %}
{{ 'page' | trans }} {{ request.get('sort') == 'players' and request.get('page') ? request.get('page') : 1 }}/{{ server.pagination.online }}
{{ 'page' | trans }} {{ request.get('sort') == 'players' and request.get('page') ? request.get('page') : 1 }}/{{ server.pagination.players }}
</div>
{% endif %}
</div>

Loading…
Cancel
Save