{% extends 'layout.html.twig' %} {% block stylesheets %} {{ parent() }} {% endblock %} {% block body %} {{ parent() }}
{# PROFILE #} {#
#}

TU TIENDA

{# #}

{% set pos2 = 1 %} {% set userPos2 = 0 %} {% for att in rankingIndividual %}{% if app.user.store.id == att.id %}{% set userPos2 = pos2 %}{{ pos2 }}º{% endif %}{% set pos2 = pos2 + 1 %}{% endfor %} {{ app.user.store.name }}

{% if app.user.role == "ROLE_USER" %}

{% for att in rankingIndividual %}{% if app.user.store.id == att.id %} {{att.e_tickets}} e-Tickets
{{att.score}} puntos{% endif %}{% endfor %}

{% endif %}

PULSA AQUÍ PARA VER LOS PREMIOS

{# Mostrar lista de todos los usuarios en la campaña #} {% set i = 1 %} {# {% for att in rankingIndividual if i <= 20 %} #} {% for att in rankingIndividual %} {% if loop.index == 6 %}
e-Tickets Puntos juego Flexipoints
{% endif %} {#< td class="pointscolor score-number">{{att.e_tickets}} e-Tickets ()
{{att.score}} puntos #} {% if app.user.role == "ROLE_TUTOR" %} {% endif %} {% set i = i + 1 %} {% endfor %}
e-Tickets Puntos juego Flexipoints
{% if i == 1 or i == 2 or i == 3 or i == 4 or i == 5 %}{% else %}{{i}}º{% endif %} {{att.name}} {{att.e_tickets}} {{att.totalScore}}ver
{#
PREMIOS
#}
{{ include('Trivial/records/Tutorial/tutoRanking.html.twig') }} {% endblock %} {% block javascripts %} {{parent()}} {% endblock %}