X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/26b58a58e22d92250ae9dcf79d3b86aca173190a..c8d364d4d3331d03a079d200887e5462279fd875:/src/annoy/templates/annoy/banner.html diff --git a/src/annoy/templates/annoy/banner.html b/src/annoy/templates/annoy/banner.html index 97f10c1ad..4b2bdcfb8 100644 --- a/src/annoy/templates/annoy/banner.html +++ b/src/annoy/templates/annoy/banner.html @@ -13,7 +13,12 @@ annoy-banner-style_{{ banner.style }} {% if banner.image %}with-image{% endif %} {% if banner.smallfont %}banner-smallfont{% endif %} - " id="annoy-banner-{{ banner.id }}"> + " + id="annoy-banner-{{ banner.id }}" + style=" + {% if banner.text_color %}color: {{ banner.text_color }};{% endif %} + {% if banner.background_color %}background-color: {{ banner.background_color }};{% endif %} + "> {% if not banner.action_label %} {% endif %}