changeset c739e5711281 in www.tryton.org:default
details: https://hg.tryton.org/www.tryton.org?cmd=changeset;node=c739e5711281
description:
Display alert until the event ends
diffstat:
templates/layout.html | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r f2cf2f42c1e7 -r c739e5711281 templates/layout.html
--- a/templates/layout.html Wed Nov 20 10:00:29 2019 +0100
+++ b/templates/layout.html Wed Nov 27 10:43:52 2019 +0100
@@ -83,12 +83,12 @@
</div>
</div>
</nav>
- {% if datetime.date.today() < datetime.date(2019, 6, 6) %}
+ {% if datetime.date.today() <= datetime.date(2019, 6, 7) %}
<div class="alert alert-info text-center" role="alert">
<span class="material-icons
align-middle">notifications</span>Do not miss the <a class="alert-link"
href="{{ url_for('event', event='tum2019') }}">Tryton Unconference, June
4th-7th 2019</a>!
</div>
{% endif %}
- {% if datetime.date.today() < datetime.date(2019, 11, 27) %}
+ {% if datetime.date.today() <= datetime.date(2019, 11, 28) %}
<div class="alert alert-info text-center" role="alert">
<span class="material-icons
align-middle">notifications</span>Do not miss the <a class="alert-link"
href="{{ url_for('event', event='tsd2019') }}">Tryton Spanish Days, November
27th-28th 2019</a>!
</div>