forked from MarseyWorld/MarseyWorld
fix counter
parent
936665eb20
commit
e2497866d7
|
@ -77,7 +77,7 @@
|
||||||
{% for membership in memberships %}
|
{% for membership in memberships %}
|
||||||
<tr id="{{membership.user_id}}">
|
<tr id="{{membership.user_id}}">
|
||||||
{% set counter = loop.index %}
|
{% set counter = loop.index %}
|
||||||
{% if page > 1 %}
|
{% if name == 'members' and page > 1 %}
|
||||||
{% set counter = counter + (page - 1) * 500 + 1 %}
|
{% set counter = counter + (page - 1) * 500 + 1 %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<td id="counter-{{membership.user_id}}">{{counter}}</td>
|
<td id="counter-{{membership.user_id}}">{{counter}}</td>
|
||||||
|
|
Loading…
Reference in New Issue