This commit is contained in:
Andros Fenollosa
2024-11-07 16:20:51 +01:00
parent d8ffe60909
commit bbcdbafba0
5 changed files with 63 additions and 8 deletions

View File

@ -9,6 +9,7 @@
background: lightgray;
">
{% include 'components/tasks/update.html' %}
{% include 'components/tasks/location.html' %}
</section>
<script>
document.querySelector('#component-notification').setAttribute('ws-connect', '/ws/' + localStorage.getItem('userId') + '/');

View File

@ -0,0 +1,5 @@
<div id="component-notification__location">
{% if location > 0 %}
<p>You have {{ location }} persons in front of you.</p>
{% endif %}
</div>