This commit is contained in:
johan 2023-01-09 09:02:50 +01:00
parent fdba8ab26f
commit 0d76017e47

View file

@ -768,6 +768,7 @@ function updateDemandes() {
$('#treasure-list').append(`
<span id="${ad_uid}" class="treasure ${ad[ad_uid].treasureState == "Accepted" ? "treasure-accepted" : ""}">
<h2 class="treasure-title">${ad[ad_uid].title}</h2>
${ ad[ad_uid].where ? `<div class="treasure-reward">Récompense : ${ad[ad_uid].where}</div>` : "" }
<div class="treasure-desc">Validité: ${ad[ad_uid].desc}</div>
<div class="treasure-status">Statue: ${ad[ad_uid].treasureState}</div>
${ (ad[ad_uid].treasureState != "Accepted" && ad[ad_uid].treasureState != "Refused" ) ?