5 <div class="annoy-banner_crisis-container">
8 annoy-banner_{{ banner.place }}
9 annoy-banner-style_{{ banner.style }}
10 {% if banner.image %}with-image{% endif %}
11 {% if banner.smallfont %}banner-smallfont{% endif %}
13 id="annoy-banner-{{ banner.id }}"
15 {% if banner.text_color %}color: {{ banner.text_color }};{% endif %}
16 {% if banner.background_color %}background-color: {{ banner.background_color }};{% endif %}
19 <div class="annoy-banner-inner">
21 <div class="image-box">
23 <img src="{{ banner.image.url }}">
27 <div class="text-box">
29 {{ banner.get_text|safe|linebreaks }}
32 <div class="state-box">
33 <div class="progress-box">
35 <div class="l-checkout__support__bar">
36 <span data-label="{{ banner.progress_percent|floatformat:'0' }}%" style="width: {% localize off %}{{ banner.progress_percent }}%{% endlocalize %};"></span>
40 <div class="time-box">
41 <strong class="countdown inline" data-until='{{ banner.until|date_to_utc:True|utc_for_js }}'></strong>
43 <div class="action-box">
44 {% if banner.action_label %}
45 <a class="action" href="{{ banner.url }}">
46 {{ banner.action_label }}