mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 23:35:12 +00:00
notification issues, doc update
This commit is contained in:
parent
26ce9a0495
commit
121a70b471
2 changed files with 4 additions and 5 deletions
|
@ -32,7 +32,7 @@ Once the new channel is created you may setup the profile photo, cover photo and
|
|||
Joining a Group
|
||||
===============
|
||||
|
||||
You join a group in the same way as you connect with any channel in the network. For public groups you may be automatically approved at the discretion of the group administrator.
|
||||
You join a group in the same way as you connect with any channel in the network. If the option to connect isn't provided, open your Connections app and put the web address or url into the text input provided under "Add New Connection". For public groups you may be automatically approved at the discretion of the group administrator.
|
||||
|
||||
Leaving a Group
|
||||
===============
|
||||
|
|
|
@ -631,23 +631,22 @@ function handleNotifications(data) {
|
|||
if(data.stream || data.home || data.intros || data.register || data.mail || data.all_events || data.notify || data.files || data.pubs || data.forums) {
|
||||
$('.notifications-btn').css('opacity', 1);
|
||||
$('#no_notifications').hide();
|
||||
$('#notifications_wrapper').show();
|
||||
}
|
||||
else {
|
||||
$('.notifications-btn').css('opacity', 0.5);
|
||||
$('#navbar-collapse-1').removeClass('show');
|
||||
$('#no_notifications').show();
|
||||
$('#notifications_wrapper').hide();
|
||||
}
|
||||
|
||||
if(data.home || data.intros || data.register || data.mail || data.notify || data.files) {
|
||||
$('.notifications-btn-icon').removeClass('fa-exclamation-circle');
|
||||
$('.notifications-btn-icon').addClass('fa-exclamation-triangle');
|
||||
$('#notifications_wrapper').show();
|
||||
|
||||
$('.notifications-btn-icon').addClass('fa-exclamation-triangle');
|
||||
}
|
||||
if(!data.home && !data.intros && !data.register && !data.mail && !data.notify && !data.files) {
|
||||
$('.notifications-btn-icon').removeClass('fa-exclamation-triangle');
|
||||
$('.notifications-btn-icon').addClass('fa-exclamation-circle');
|
||||
$('#notifications_wrapper').hide();
|
||||
}
|
||||
if(data.all_events_today) {
|
||||
$('.all_events-update').removeClass('badge-secondary');
|
||||
|
|
Loading…
Reference in a new issue