|
@ -75,6 +75,11 @@ |
|
|
<fa icon="calendar" class="fa-fw text-slate-400" /> |
|
|
<fa icon="calendar" class="fa-fw text-slate-400" /> |
|
|
{{ veriClaim.issuedAt?.replace(/T/, " ").replace(/Z/, " UTC") }} |
|
|
{{ veriClaim.issuedAt?.replace(/T/, " ").replace(/Z/, " UTC") }} |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
<div v-if="veriClaim.claim.image" class="flex justify-center"> |
|
|
|
|
|
<a :href="veriClaim.claim.image" target="_blank"> |
|
|
|
|
|
<img :src="veriClaim.claim.image" class="h-24 rounded-xl" /> |
|
|
|
|
|
</a> |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
<!-- Fullfills Links --> |
|
|
<!-- Fullfills Links --> |
|
|
|
|
|
|
|
@ -131,33 +136,7 @@ |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="flex columns-3"> |
|
|
<div class="mt-8"> |
|
|
<button |
|
|
|
|
|
class="col-span-1 bg-gradient-to-b from-blue-400 to-blue-700 shadow-[inset_0_-1px_0_0_rgba(0,0,0,0.5)] text-white px-4 py-2 rounded-md" |
|
|
|
|
|
v-if=" |
|
|
|
|
|
libsUtil.isGiveRecordTheUserCanConfirm( |
|
|
|
|
|
isRegistered, |
|
|
|
|
|
veriClaim, |
|
|
|
|
|
activeDid, |
|
|
|
|
|
confirmerIdList, |
|
|
|
|
|
) |
|
|
|
|
|
" |
|
|
|
|
|
@click="confirmConfirmClaim()" |
|
|
|
|
|
> |
|
|
|
|
|
Confirm |
|
|
|
|
|
<fa icon="circle-check" class="ml-2 text-white cursor-pointer" /> |
|
|
|
|
|
</button> |
|
|
|
|
|
|
|
|
|
|
|
<span class="px-4 py-2"> |
|
|
|
|
|
<router-link |
|
|
|
|
|
v-if="libsUtil.isGiveAction(veriClaim)" |
|
|
|
|
|
:to="'/confirm-gift/' + encodeURIComponent(veriClaim.id)" |
|
|
|
|
|
class="col-span-1 text-blue-500" |
|
|
|
|
|
> |
|
|
|
|
|
Confirmation Details... |
|
|
|
|
|
</router-link> |
|
|
|
|
|
</span> |
|
|
|
|
|
|
|
|
|
|
|
<button |
|
|
<button |
|
|
v-if="libsUtil.canFulfillOffer(veriClaim)" |
|
|
v-if="libsUtil.canFulfillOffer(veriClaim)" |
|
|
@click="openFulfillGiftDialog()" |
|
|
@click="openFulfillGiftDialog()" |
|
@ -167,10 +146,37 @@ |
|
|
<fa icon="hand-holding-heart" class="ml-2 text-white cursor-pointer" /> |
|
|
<fa icon="hand-holding-heart" class="ml-2 text-white cursor-pointer" /> |
|
|
</button> |
|
|
</button> |
|
|
</div> |
|
|
</div> |
|
|
<GiftedDialog ref="customGiveDialog" /> |
|
|
|
|
|
|
|
|
|
|
|
<div v-if="libsUtil.isGiveAction(veriClaim)"> |
|
|
<div v-if="libsUtil.isGiveAction(veriClaim)"> |
|
|
<h2 class="font-bold uppercase text-xl mt-8 mb-2">Confirmations</h2> |
|
|
<div class="flex columns-3"> |
|
|
|
|
|
<button |
|
|
|
|
|
class="col-span-1 bg-gradient-to-b from-blue-400 to-blue-700 shadow-[inset_0_-1px_0_0_rgba(0,0,0,0.5)] text-white mt-2 px-4 py-2 rounded-md" |
|
|
|
|
|
v-if=" |
|
|
|
|
|
libsUtil.isGiveRecordTheUserCanConfirm( |
|
|
|
|
|
isRegistered, |
|
|
|
|
|
veriClaim, |
|
|
|
|
|
activeDid, |
|
|
|
|
|
confirmerIdList, |
|
|
|
|
|
) |
|
|
|
|
|
" |
|
|
|
|
|
@click="confirmConfirmClaim()" |
|
|
|
|
|
> |
|
|
|
|
|
Confirm |
|
|
|
|
|
<fa icon="circle-check" class="ml-2 text-white cursor-pointer" /> |
|
|
|
|
|
</button> |
|
|
|
|
|
<h2 v-else class="font-bold uppercase text-xl mt-2">Confirmations</h2> |
|
|
|
|
|
|
|
|
|
|
|
<span class="mt-0.5 px-4 py-2"> |
|
|
|
|
|
<router-link |
|
|
|
|
|
v-if="libsUtil.isGiveAction(veriClaim)" |
|
|
|
|
|
:to="'/confirm-gift/' + encodeURIComponent(veriClaim.id)" |
|
|
|
|
|
class="col-span-1 text-blue-500" |
|
|
|
|
|
> |
|
|
|
|
|
Details... |
|
|
|
|
|
</router-link> |
|
|
|
|
|
</span> |
|
|
|
|
|
</div> |
|
|
|
|
|
<GiftedDialog ref="customGiveDialog" /> |
|
|
|
|
|
|
|
|
<span v-if="totalConfirmers() === 0">Nobody has confirmed this.</span> |
|
|
<span v-if="totalConfirmers() === 0">Nobody has confirmed this.</span> |
|
|
<span v-else-if="totalConfirmers() === 1"> |
|
|
<span v-else-if="totalConfirmers() === 1"> |
|
|