diff --git a/lib/modules/contributors/templates/podcast-contributor-table.twig b/lib/modules/contributors/templates/podcast-contributor-table.twig index 6613ba4c9..7a52828d3 100644 --- a/lib/modules/contributors/templates/podcast-contributor-table.twig +++ b/lib/modules/contributors/templates/podcast-contributor-table.twig @@ -4,9 +4,11 @@
-
- {{ contributor.image.html({width: size|default(50), height: size|default(50), class: "", alt: "avatar" }) }} -
+ {% if option.avatars == "yes" %} +
+ {{ contributor.image.html({width: size|default(50), height: size|default(50), class: "", alt: "avatar" }) }} +
+ {% endif %}
{{ contributor.name }}
@@ -28,17 +30,19 @@ }} {% endfor %} - {% for service in contributor.services({category: "donation"}) %} - - {{ + {% if option.donations == "yes" %} + {% for service in contributor.services({category: "donation"}) %} + + {{ service.image.html({ width: 20, class: "", alt: service.title ~ " Icon" }) }} - - {% endfor %} + + {% endfor %} + {% endif %}