5 <div class="l-container">
8 annoy-banner_{{ banner.place }}
9 annoy-banner-style_{{ banner.style }}
10 {% if banner.get_image %}with-image{% endif %}
11 {% if banner.smallfont %}banner-smallfont{% endif %}
12 annoy-banner-clickable
14 id="annoy-banner-{{ banner.id }}"
16 {% if banner.text_color %}color: {{ banner.text_color }};{% endif %}
17 {% if banner.background_color %}background-color: {{ banner.background_color }};{% endif %}
19 {% if not banner.action_label %}
21 {% if banner.is_external %}target="_blank"{% endif %}
22 href="{{ banner.url }}">
24 <div class="annoy-banner-inner">
26 {% if banner.get_image %}
28 <img src="{{ banner.get_image.url }}">
32 {{ banner.get_text|safe|linebreaks }}
38 {% if banner.action_label %}
40 {% if banner.is_external %}target="_blank"{% endif %}
41 href="{{ banner.url }}">
42 {{ banner.action_label }}
46 {% if not banner.action_label %}
50 <div class="state-box">
51 <div class="progress-box">
53 <div class="l-checkout__support__bar">
54 <span class="{% if banner.progress_percent < 15 %}little-progress{% endif %}" data-label="{{ banner.progress_percent|floatformat:"2" }}% ({{ banner.progress|floatformat:"g" }} zł)" style="width: {{ banner.progress_percent|stringformat:".3f" }}%;"></span>
58 <div class="bar-status-box">
59 <div class="time-box">
60 <strong class="countdown inline" data-until='{{ banner.until|date_to_utc:True|utc_for_js }}'> </strong>
62 {% if banner.target %}
63 <strong>{{ banner.target|floatformat:"g" }} zł</strong>