fix more templating errors

master
justcool393 2022-10-28 04:51:41 -05:00
parent efd63b8666
commit b9b084ca1e
1 changed files with 3 additions and 4 deletions

View File

@ -39,12 +39,11 @@
{% for user in lb.all_users %} {% for user in lb.all_users %}
{% if v.id == user.id %} {% if v.id == user.id %}
{% set style="class=\"self\"" %} {% set style="class=\"self\"" %}
{% set has_seen_v=true %}
{% endif %} {% endif %}
{{format_user_in_table(user, style, loop.index, lb.value_func(user))}} {{format_user_in_table(user, style, loop.index, lb.value_func(user), lb.user_relative_url)}}
{% endfor %} {% endfor %}
{% if position or not has_seen_v %} {% if lb.v_position %}
{{format_user_in_table(v, "style=\"border-top:2px solid var(--primary)\"", lb.v_position, lb.v_value)}} {{format_user_in_table(v, "style=\"border-top:2px solid var(--primary)\"", lb.v_position, lb.v_value, lb.user_relative_url)}}
{% endif %} {% endif %}
</tbody> </tbody>
</table> </table>