Lista Richieste e Rifiutati dei Conti Collettivi

This commit is contained in:
Surya Paolo
2023-02-16 20:13:38 +01:00
parent a81300e13d
commit 874114942a
6 changed files with 138 additions and 15 deletions

View File

@@ -343,7 +343,9 @@ sendNotifSchema.statics.getDescrAndLinkByRecNotif = async function (recnotif, us
tag = 'remcircuit';
} else if (recnotif.typeid === shared_consts.TypeNotifs.ID_CIRCUIT_REFUSED) {
if (recnotif.paramsObj.isAdmin) {
newdescr = i18n.__('CIRCUIT_REFUSED_TO_ME', sender, recnotif.paramsObj.circuitnameDest, username_action);
if (recnotif.extrarec.groupname) {
newdescr = i18n.__('CIRCUIT_REFUSED_TO_MYGROUP', recnotif.extrarec.groupname, recnotif.paramsObj.circuitnameDest, username_action);
}
} else {
newdescr = i18n.__('CIRCUIT_REFUSED', username_action, recnotif.paramsObj.circuitnameDest);
}