feat: add sounds volume control to user settings

This commit is contained in:
Herculino Trotta
2025-06-29 00:21:32 -03:00
parent eb0c872c50
commit e86e0b8c08
7 changed files with 953 additions and 2 deletions

View File

@@ -1,2 +1,3 @@
{% load i18n %}
<i class="fa-solid fa-volume-xmark me-2 fa-fw"></i>{% translate 'Mute sounds' %}
{{ user.settings.volume|json_script:"volume" }}

View File

@@ -1,3 +1,4 @@
{% load i18n %}
<i class="fa-solid fa-volume-low me-2 fa-fw"></i>{% translate 'Play sounds' %}
<span id="settings-mute-sound" class="d-inline tw:invisible"></span>
{{ user.settings.volume|json_script:"volume" }}