From eb7405f92bd01ab59a056ff5df6d2f1d6b30f0ce Mon Sep 17 00:00:00 2001 From: RaindropsSys Date: Thu, 13 Apr 2023 22:07:44 +0200 Subject: Updated 13 files and added 2 files (automated) --- assets/logo/banner.js | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'assets/logo/banner.js') diff --git a/assets/logo/banner.js b/assets/logo/banner.js index 02a8298..7a13759 100644 --- a/assets/logo/banner.js +++ b/assets/logo/banner.js @@ -55,6 +55,7 @@ async function refreshBanner(_, french) { if (data['relations']['caretakers'] && data['relations']['caretakers'].length > 0) active++; if (data['relations']['sexfriends'] && data['relations']['sexfriends'].length > 0) active++; if (data['relations']['sisters'] && data['relations']['sisters'].length > 0) active++; + if (data['relations']['friends'] && data['relations']['friends'].length > 0) active++; document.getElementById("member-banner").innerHTML = ` @@ -159,6 +160,12 @@ async function refreshBanner(_, french) { ${data['relations']['caretakers'].length === 0 ? '-' : ''} ` : ''} + ${data['relations']['friends'] && data['relations']['friends'].length > 0 ? ` + ${french ? (data['relations']['friends'].length > 1 ? 'Amies ' : 'Amie ') : `Friend${data['relations']['friends'].length > 1 ? 's' : ''}`}: ${data['relations']['sisters'].length > 1 ? '
' : ''} + ${data['relations']['friends'].map(relation => ` + `).join(``)} + ${data['relations']['friends'].length === 0 ? '-' : ''} +
` : ``} ` : '
 
'} -- cgit