6 annoy-banner_crisis-container
7 annoy-banner-style_{{ banner.style }}
11 annoy-banner_{{ banner.place }}
12 {% if banner.image %}with-image{% endif %}
13 {% if banner.smallfont %}banner-smallfont{% endif %}
15 id="annoy-banner-{{ banner.id }}"
17 {% if banner.text_color %}color: {{ banner.text_color }};{% endif %}
18 {% if banner.background_color %}background-color: {{ banner.background_color }};{% endif %}
21 <div class="annoy-banner-inner">
23 <div class="image-box">
25 <img src="{{ banner.image.url }}">
29 <div class="text-box">
31 {{ banner.get_text|safe|linebreaks }}
34 {% if banner.campaign.has_progress %}
35 <div class="state-box">
36 <div class="progress-box">
38 <div class="l-checkout__support__bar">
39 <span data-label="{{ banner.campaign.progress_percent_pretty }}%" style="width: {{ banner.campaign.progress_percent|stringformat:".3f" }}%;"></span>
43 <div class="time-box">
44 <strong class="countdown inline" data-until='{{ banner.campaign.end|date_to_utc:True|utc_for_js }}'> </strong>
46 <div class="action-box">
47 {% if banner.action_label %}
48 <a class="action" href="{{ banner.get_url }}">
49 {{ banner.action_label }}