This commit is contained in:
nnduc
2026-10-24 14:03:52 +07:00
commit 4fe046de58
4790 changed files with 311146 additions and 0 deletions
@@ -0,0 +1,10 @@
[invitations]
received = Received Invitations
adds_you = %s wants to add you
no_new = No new invitations
no_subscriptions = No pending subscriptions
wants_to_talk = %s wants to talk with you
[notifs]
title = Notifications
empty = No new notifications
@@ -0,0 +1,4 @@
#notifications_subscriptions:not(:empty) + .placeholder,
#notifications_invitations:not(:empty) + .placeholder {
display: none;
}
@@ -0,0 +1,12 @@
var Notifications = {
setCounters : function(counter) {
var counters = document.querySelectorAll('.counter.notifications:not([data-key])');
for (i = 0; i < counters.length; i++) {
counters[i].innerHTML = counter;
}
}
}
MovimWebsocket.attach(function() {
Notifications_ajaxSetCounter();
});