aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSK <sk@utsukta.org>2024-12-02 04:32:48 +0530
committerSK <sk@utsukta.org>2024-12-02 04:32:48 +0530
commite10729812589b7dd57af64f179418b4f44434630 (patch)
tree8bf542ef556fa99167da9dfb6be323ec05ec8e6a
parent428ffa5e35346c2d1e29cec9624a5a9dc7007a36 (diff)
downloadvolse-hubzilla-e10729812589b7dd57af64f179418b4f44434630.tar.gz
volse-hubzilla-e10729812589b7dd57af64f179418b4f44434630.tar.bz2
volse-hubzilla-e10729812589b7dd57af64f179418b4f44434630.zip
Fixed notification icons in chat
-rw-r--r--view/tpl/chat.tpl22
1 files changed, 11 insertions, 11 deletions
diff --git a/view/tpl/chat.tpl b/view/tpl/chat.tpl
index cb88be7e8..766205ee0 100644
--- a/view/tpl/chat.tpl
+++ b/view/tpl/chat.tpl
@@ -37,11 +37,11 @@
<a class="dropdown-item" href="{{$baseurl}}/chatsvc?f=&room_id={{$room_id}}&status=away"><i class="bi bi-circle-fill away"></i>&nbsp;{{$away}}</a>
<a class="dropdown-item" href="{{$baseurl}}/chat/{{$nickname}}/{{$room_id}}/leave"><i class="bi bi-circle-fill leave"></i>&nbsp;{{$leave}}</a>
<div class="dropdown-divider"></div>
- <a id="toggle-notifications" class="dropdown-item" href="" onclick="toggleChatNotifications(); return false;"><i id="toggle-notifications-icon" class="bi fa-bell-slash-o"></i>&nbsp;Toggle notifications</a>
- <a id="toggle-notifications-audio" class="dropdown-item disabled" href="" onclick="toggleChatNotificationAudio(); return false;"><i id="toggle-notifications-audio-icon" class="bi fa-volume-off"></i>&nbsp;Toggle sound</a>
+ <a id="toggle-notifications" class="dropdown-item" href="" onclick="toggleChatNotifications(); return false;"><i id="toggle-notifications-icon" class="bi bi-bell-slash-fill"></i>&nbsp;Toggle notifications</a>
+ <a id="toggle-notifications-audio" class="dropdown-item disabled" href="" onclick="toggleChatNotificationAudio(); return false;"><i id="toggle-notifications-audio-icon" class="bi bi-volume-mute-fill"></i>&nbsp;Toggle sound</a>
{{if $bookmark_link}}
<div class="dropdown-divider"></div>
- <a class="dropdown-item" href="{{$bookmark_link}}" target="_blank" ><i class="bi fa-bookmark"></i>&nbsp;{{$bookmark}}</a>
+ <a class="dropdown-item" href="{{$bookmark_link}}" target="_blank" ><i class="bi bi-bookmark-fill"></i>&nbsp;{{$bookmark}}</a>
{{/if}}
</div>
</div>
@@ -271,27 +271,27 @@ var chat_issue_notification = function (theBody,theTitle) {
function toggleChatNotificationAudio() {
if(!chat_notify_audio_enabled) {
chat_notify_audio_enabled = true;
- $('#toggle-notifications-audio-icon').removeClass('fa-volume-off');
- $('#toggle-notifications-audio-icon').addClass('fa-volume-up');
+ $('#toggle-notifications-audio-icon').removeClass('bi-volume-mute-fill');
+ $('#toggle-notifications-audio-icon').addClass('bi-volume-up-fill');
}
else {
chat_notify_audio_enabled = false;
- $('#toggle-notifications-audio-icon').removeClass('fa-volume-up');
- $('#toggle-notifications-audio-icon').addClass('fa-volume-off');
+ $('#toggle-notifications-audio-icon').removeClass('bi-volume-up-fill');
+ $('#toggle-notifications-audio-icon').addClass('bi-volume-mute-fill');
}
}
function toggleChatNotifications() {
if(!chat_notify_enabled) {
chat_notify_enabled = true;
- $('#toggle-notifications-icon').addClass('fa-bell');
- $('#toggle-notifications-icon').removeClass('fa-bell-slash-o');
+ $('#toggle-notifications-icon').addClass('bi-bell-fill');
+ $('#toggle-notifications-icon').removeClass('fa-bell-slash-fill');
$('#toggle-notifications-audio').removeClass('disabled');
}
else {
chat_notify_enabled = false;
- $('#toggle-notifications-icon').addClass('fa-bell-slash-o');
- $('#toggle-notifications-icon').removeClass('fa-bell');
+ $('#toggle-notifications-icon').addClass('bi-bell-slash-fill');
+ $('#toggle-notifications-icon').removeClass('bi-bell-fill');
$('#toggle-notifications-audio').addClass('disabled');
}
}