{# ThemeWare "Sharing links" content #} {# Note: The "Sharing links" are based on our community icons #} {# ---------------- START: SET TEMPLATE VARS ---------------- #} {# ThemeWare: Set theme variables #} {% set twtProductDetailSharingLinksIconStyle = theme_config('twt-product-detail-sharing-links-icon-style') %} {% set twtProductDetailSharingLinksEmailShow = theme_config('twt-product-detail-sharing-links-email-show') %} {% set twtProductDetailSharingLinksFacebookShow = theme_config('twt-product-detail-sharing-links-facebook-show') %} {% set twtProductDetailSharingLinksHeadlineShow = theme_config('twt-product-detail-sharing-links-headline-show') %} {% set twtProductDetailSharingLinksPinterestShow = theme_config('twt-product-detail-sharing-links-pinterest-show') %} {% set twtProductDetailSharingLinksTwitterShow = theme_config('twt-product-detail-sharing-links-twitter-show') %} {% set twtProductDetailSharingLinksWhatsappShow = theme_config('twt-product-detail-sharing-links-whatsapp-show') %} {# ---------------- END: SET TEMPLATE VARS ---------------- #} {# ThemeWare: Set icon style #} {% if twtProductDetailSharingLinksIconStyle == 1 %} {% set style = 'default' %} {% elseif twtProductDetailSharingLinksIconStyle == 2 %} {% set style = 'isolated' %} {% elseif twtProductDetailSharingLinksIconStyle == 3 %} {% set style = 'badge' %} {% elseif twtProductDetailSharingLinksIconStyle == 4 %} {% set style = 'square' %} {% elseif twtProductDetailSharingLinksIconStyle == 5 %} {% set style = 'circle' %} {% elseif twtProductDetailSharingLinksIconStyle == 6 %} {% set style = 'default-mono' %} {% elseif twtProductDetailSharingLinksIconStyle == 7 %} {% set style = 'isolated-mono' %} {% elseif twtProductDetailSharingLinksIconStyle == 8 %} {% set style = 'badge-mono' %} {% elseif twtProductDetailSharingLinksIconStyle == 9 %} {% set style = 'square-mono' %} {% elseif twtProductDetailSharingLinksIconStyle == 10 %} {% set style = 'circle-mono' %} {% endif %} {% block twt_sharing_links_container %} {# TODO: change class "twt-widget-communities" #}
{% endblock %}