more doc because more than 3 contributers means we need it

This commit is contained in:
Matthias 2021-11-30 17:25:15 +01:00
parent 5d7a153d87
commit 1d123827bc
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -199,7 +199,9 @@ function getReadEditButton(pk, state) {
return `<button title='${bReadText}' class='notification-read btn btn-outline-secondary' type='button' pk='${pk}' target='${bReadTarget}'><span class='${bReadIcon}'></span></button>`; return `<button title='${bReadText}' class='notification-read btn btn-outline-secondary' type='button' pk='${pk}' target='${bReadTarget}'><span class='${bReadIcon}'></span></button>`;
} }
/**
* fills the notification panel when opened
**/
function openNotificationPanel() { function openNotificationPanel() {
var html = ''; var html = '';
var center_ref = '#notification-center'; var center_ref = '#notification-center';
@ -249,7 +251,9 @@ function openNotificationPanel() {
}); });
} }
/**
* clears the notification panel when closed
**/
function closeNotificationPanel() { function closeNotificationPanel() {
$('#notification-center').html(`<p class='text-muted'>{% trans "Notifications will load here" %}</p>`); $('#notification-center').html(`<p class='text-muted'>{% trans "Notifications will load here" %}</p>`);
} }