mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-14 06:50:15 +02:00
Add timers.js
to bundle
It's used in `mumbletemps`
This commit is contained in:
parent
d8c2944966
commit
7c05217900
@ -40,7 +40,7 @@
|
||||
</div>
|
||||
|
||||
{% include 'bundles/moment-js.html' with locale=True %}
|
||||
<script src="{% static 'allianceauth/js/timers.js' %}"></script>
|
||||
{% include 'bundles/timers-js.html' %}
|
||||
|
||||
<script type="application/javascript">
|
||||
// Data
|
||||
|
3
allianceauth/templates/bundles/timers-js.html
Normal file
3
allianceauth/templates/bundles/timers-js.html
Normal file
@ -0,0 +1,3 @@
|
||||
{% load static %}
|
||||
|
||||
<script src="{% static 'allianceauth/js/timers.js' %}"></script>
|
@ -539,7 +539,7 @@
|
||||
</div>
|
||||
|
||||
{% include 'bundles/moment-js.html' with locale=True %}
|
||||
<script src="{% static 'allianceauth/js/timers.js' %}"></script>
|
||||
{% include 'bundles/timers-js.html' %}
|
||||
<script type="application/javascript">
|
||||
let timers = [
|
||||
{% for timer in timers %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user