Mercurial > libervia-templates
comparison sat_templates/templates/bulma/event/counter.html @ 246:1928ba66c194
bulma: replaced custom styles by new spacing helpers
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 19 Jun 2020 17:57:13 +0200 |
parents | 0e69b5843c2f |
children |
comparison
equal
deleted
inserted
replaced
245:10278ba367a2 | 246:1928ba66c194 |
---|---|
1 {% if days_left is defined %} | 1 {% if days_left is defined %} |
2 {% if days_left > 0 %} | 2 {% if days_left > 0 %} |
3 <div class="notification is-success has-text-centered has-text-weight-bold has-margin-top-1"> | 3 <div class="notification is-success has-text-centered has-text-weight-bold mt-4"> |
4 {% trans %} | 4 {% trans %} |
5 {{days_left}} day left | 5 {{days_left}} day left |
6 {% pluralize %} | 6 {% pluralize %} |
7 {{days_left}} days left | 7 {{days_left}} days left |
8 {% endtrans %} | 8 {% endtrans %} |
9 </div> | 9 </div> |
10 {% else %} | 10 {% else %} |
11 <div class="notification is-danger has-text-centered has-text-weight-bold has-margin-top-1">{% trans %}the event is finished{% endtrans %}</div> | 11 <div class="notification is-danger has-text-centered has-text-weight-bold mt-4">{% trans %}the event is finished{% endtrans %}</div> |
12 {% endif %} | 12 {% endif %} |
13 | 13 |
14 {% endif %} | 14 {% endif %} |