diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/banner.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/app/banner.js b/app/banner.js index dc1a06b..5ddb2d2 100644 --- a/app/banner.js +++ b/app/banner.js @@ -68,10 +68,6 @@ async function refreshBanner(offline, french) { data['last_fronted']['relative'] = timeAgo(currentMemberData.last_fronted.timestamp * 1000); } - if (data.id === "scootaloo" && new Date().getDay() % 2 === 0) { - data['relations']['marefriends'] = data['relations']['marefriends'].reverse(); - } - if (offline) { let images = JSON.parse(await localforage.getItem("images")); @@ -131,7 +127,7 @@ async function refreshBanner(offline, french) { <div style="display:grid;grid-template-columns: repeat(${data['median'] || data['id'] === "unknown" ? (french ? 3 : 4) : data['id'] === "fusion" ? (french ? 2 : 3) : (french ? 4 : 5)}, 1fr);" id="member-card"> <span> <b>${french ? `Préfixe${data['prefixes'].length > 1 ? 's' : ''} ` : `Prefix${data['prefixes'].length > 1 ? 'es' : ''}`}: </b><span class="member-small-separator"><br></span> - <code style="color: white;">${data['prefixes'].join('</code>, <code style="color: white;">')}</code> + ${data['prefixes'].length > 0 && data['prefixes'][0] !== null ? `<code style="color: white;">${data['prefixes'].join('</code>, <code style="color: white;">')}</code>` : `-`} </span> ${french ? "" : `<span> <b>${french ? "Pronoms :" : "Pronouns:"} </b><span class="member-small-separator"><br></span> |