forked from rDrama/rDrama
fix
parent
8bff4e4012
commit
a8df1edb35
|
@ -123,13 +123,26 @@
|
|||
</script>
|
||||
{% endif %}
|
||||
|
||||
<!-- Songs & Fireplace awards -->
|
||||
{% if p.award_count("snow") and p.award_count("fireplace") %}
|
||||
<script defer src="/assets/js/christmas/deanmartin.js?v=1"></script>
|
||||
{% elif p.award_count("fireplace")%}
|
||||
<script defer src="/assets/js/christmas/fireplace.js?v=2"></script>
|
||||
{% else %}
|
||||
<script defer src="/assets/js/christmas/playlist.js?v=2"></script>
|
||||
<!-- Songs & Fireplace awards (logged in) -->
|
||||
{% if v and not v.grinch %}
|
||||
{% if p.award_count("snow") and p.award_count("fireplace") %}
|
||||
<script defer src="/assets/js/christmas/deanmartin.js?v=1"></script>
|
||||
{% elif p.award_count("fireplace")%}
|
||||
<script defer src="/assets/js/christmas/fireplace.js?v=2"></script>
|
||||
{% else %}
|
||||
<script defer src="/assets/js/christmas/playlist.js?v=2"></script>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
<!-- Songs & Fireplace awards (logged out) -->
|
||||
{% if not v %}
|
||||
{% if p.award_count("snow") and p.award_count("fireplace") %}
|
||||
<script defer src="/assets/js/christmas/deanmartin.js?v=1"></script>
|
||||
{% elif p.award_count("fireplace")%}
|
||||
<script defer src="/assets/js/christmas/fireplace.js?v=2"></script>
|
||||
{% else %}
|
||||
<script defer src="/assets/js/christmas/playlist.js?v=2"></script>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
<!-- Fireplace award -->
|
||||
|
|
Loading…
Reference in New Issue