annotate sat_templates/templates/bulma/event/counter.html @ 243:2b8d18a9df00
bulma (photo/album): change for dynamic content:
- added drop zone and file selector to upload photos
- moved item template to its own file, so it can be used for dynamic content
- added delete button
- changes to manage progression bar and other stuff
author |
Goffi <goffi@goffi.org> |
date |
Fri, 19 Jun 2020 17:57:13 +0200 |
parents |
0e69b5843c2f |
children |
1928ba66c194 |
rev |
line source |
230
|
1 {% if days_left is defined %} |
|
2 {% if days_left > 0 %} |
|
3 <div class="notification is-success has-text-centered has-text-weight-bold has-margin-top-1"> |
|
4 {% trans %} |
|
5 {{days_left}} day left |
|
6 {% pluralize %} |
|
7 {{days_left}} days left |
|
8 {% endtrans %} |
|
9 </div> |
|
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> |
|
12 {% endif %} |
|
13 |
|
14 {% endif %} |