diff --git a/templates/tibiacom/buttons.base.html.twig b/templates/tibiacom/buttons.base.html.twig index fe8447dc7..5b07174b3 100644 --- a/templates/tibiacom/buttons.base.html.twig +++ b/templates/tibiacom/buttons.base.html.twig @@ -1,7 +1,18 @@ {% apply spaceless %} -
+ +{% set tmp_image = 'sbutton' %} + +{% if button_color is defined %} + {% if button_color == 'green' %} + {% set tmp_image = 'sbutton_green' %} + {% elseif button_color == 'red' %} + {% set tmp_image = 'sbutton_red' %} + {% endif %} +{% endif %} + +
-
+