remotes/1693045480750635534/spooky-22
kek7198 2021-12-03 18:16:07 -06:00
parent 7b02b12d4d
commit d8165074d8
2 changed files with 8 additions and 6 deletions

View File

@ -695,9 +695,10 @@
{% endif %}
{% endblock %}
{% include "/submission/SubmissionAwards.html" %}
{% block scripts %}
<!-- This file contains minimal html and javascript required for awards, needs to be near </body> closing tag -->
{% include "/submission/SubmissionAwards.html" %}
<script>
(() => {
const date = new Date({{p.created_utc*1000}});
@ -728,6 +729,4 @@
{%endif%}
})()
</script>
<script src="/assets/js/awards.js?v=1"></script>
{% endblock %}

View File

@ -1,11 +1,14 @@
<!-- Awards -->
{% if p.award_count("train") %}
{% include "/awards/Trains.html" %}
{% endif %}
<!-- Christmas Awards -->
{% if p.award_count("snow") %}
{% include "/awards/Snow.html" %}
{% endif %}
<!-- Javascript -->
{% if p.award_count("snow") %}
<script src="/assets/js/christmas/snow.js?v=1"></script>
{% endif %}