forked from rDrama/rDrama
fixfix
parent
7b02b12d4d
commit
d8165074d8
|
@ -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 %}
|
|
@ -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 %}
|
||||
|
|
Loading…
Reference in New Issue