From 87f35da3b62fb0bf79833d7c7ab23e58e42622d3 Mon Sep 17 00:00:00 2001 From: Fernando Matos Date: Sat, 26 Dec 2020 18:04:22 -0300 Subject: [PATCH] Fix network box showing without social networks specified --- templates/tibiacom/boxes/templates/networks.html.twig | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/templates/tibiacom/boxes/templates/networks.html.twig b/templates/tibiacom/boxes/templates/networks.html.twig index c1b8c768..3e377d5a 100644 --- a/templates/tibiacom/boxes/templates/networks.html.twig +++ b/templates/tibiacom/boxes/templates/networks.html.twig @@ -1,22 +1,20 @@ +{% if config['network_facebook'] != '' or config['network_twitter'] != '' %}
{% if config['network_facebook'] is not empty %}
- - +
- - +
- - +
@@ -29,3 +27,4 @@ {% endif %}
+{% endif %}