fixfix
parent
7b02b12d4d
commit
d8165074d8
|
@ -695,9 +695,10 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% include "/submission/SubmissionAwards.html" %}
|
|
||||||
|
|
||||||
{% block scripts %}
|
{% block scripts %}
|
||||||
|
<!-- This file contains minimal html and javascript required for awards, needs to be near </body> closing tag -->
|
||||||
|
{% include "/submission/SubmissionAwards.html" %}
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
(() => {
|
(() => {
|
||||||
const date = new Date({{p.created_utc*1000}});
|
const date = new Date({{p.created_utc*1000}});
|
||||||
|
@ -728,6 +729,4 @@
|
||||||
{%endif%}
|
{%endif%}
|
||||||
})()
|
})()
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script src="/assets/js/awards.js?v=1"></script>
|
|
||||||
{% endblock %}
|
{% endblock %}
|
|
@ -1,11 +1,14 @@
|
||||||
<!-- Awards -->
|
<!-- Awards -->
|
||||||
|
|
||||||
{% if p.award_count("train") %}
|
{% if p.award_count("train") %}
|
||||||
{% include "/awards/Trains.html" %}
|
{% include "/awards/Trains.html" %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<!-- Christmas Awards -->
|
<!-- Christmas Awards -->
|
||||||
|
|
||||||
{% if p.award_count("snow") %}
|
{% if p.award_count("snow") %}
|
||||||
{% include "/awards/Snow.html" %}
|
{% include "/awards/Snow.html" %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
<!-- Javascript -->
|
||||||
|
{% if p.award_count("snow") %}
|
||||||
|
<script src="/assets/js/christmas/snow.js?v=1"></script>
|
||||||
|
{% endif %}
|
||||||
|
|
Loading…
Reference in New Issue