From 7a397279805473a76251db4821b7a8c0a76a554c Mon Sep 17 00:00:00 2001 From: Fibinger Ádám <adam.fibinger@wup.hu> Date: Fri, 01 May 2020 16:33:27 +0200 Subject: [PATCH] Csapat import - Battlefy Edition --- templates/overlays/stripe.twig | 20 ++++++++++++++++---- 1 files changed, 16 insertions(+), 4 deletions(-) diff --git a/templates/overlays/stripe.twig b/templates/overlays/stripe.twig index 9c43e6a..c0b8f70 100644 --- a/templates/overlays/stripe.twig +++ b/templates/overlays/stripe.twig @@ -39,9 +39,19 @@ {% endif %} {% endblock %} {% block logo %} - <span class="logo"></span> + {% if stripe.team.blue.score[0] == true %} + <div class="mapwin left one"></div> + {% endif %} + {% if stripe.team.blue.score[1] == true %} + <div class="mapwin left two"></div> + {% endif %} + {% if stripe.team.orange.score[0] == true %} + <div class="mapwin right one"></div> + {% endif %} + {% if stripe.team.orange.score[1] == true %} + <div class="mapwin right two"></div> + {% endif %} {% endblock %} - {% block team_orange %} {% if stripe.team.orange and stripe.stripe.class in ['team-ban', 'team'] %} <span class="team orange"> @@ -61,8 +71,10 @@ {% endblock %} {% block info_right %} - <span class="info right"> - <img class="esl-logo" src="/assets/ESL_Logo.png"/> + <span class="info right"> + {% if stripe.cup.number starts with '#' %} + <img class="wargasz-logo" src="/assets/WARGASZ_color.png"/> + {% endif %} </span> {% endblock %} </div> -- Gitblit v1.8.0