Browse Source

fix prompt for already-registered contacts (plus some verbiage)

kb/add-usage-guide
Trent Larson 3 months ago
parent
commit
978a31a34e
  1. 7
      src/views/ConfirmGiftView.vue
  2. 2
      src/views/ContactsView.vue
  3. 5
      src/views/ProjectsView.vue

7
src/views/ConfirmGiftView.vue

@ -71,12 +71,7 @@
<div class="ml-6">gave</div> <div class="ml-6">gave</div>
<div v-if="giveDetails.amount"> <div v-if="giveDetails.amount">
<fa icon="hand-holding-dollar" class="fa-fw text-slate-400" /> <fa icon="hand-holding-dollar" class="fa-fw text-slate-400" />
{{ {{ displayAmount(giveDetails.unit, giveDetails.amount) }}
displayAmount(
giveDetails.unit,
giveDetails.amount,
)
}}
</div> </div>
<div v-if="giveDetails.description"> <div v-if="giveDetails.description">
<fa icon="message" class="fa-fw text-slate-400" /> <fa icon="message" class="fa-fw text-slate-400" />

2
src/views/ContactsView.vue

@ -680,7 +680,7 @@ export default class ContactsView extends Vue {
nextPubKeyHashB64: payload.own.nextPublicEncKeyHash, nextPubKeyHashB64: payload.own.nextPublicEncKeyHash,
profileImageUrl: payload.own.profileImageUrl, profileImageUrl: payload.own.profileImageUrl,
publicKeyBase64: payload.own.publicEncKey, publicKeyBase64: payload.own.publicEncKey,
isRegistered: payload.own.isRegistered, registered: payload.own.registered,
} as Contact); } as Contact);
} }
} }

5
src/views/ProjectsView.vue

@ -190,8 +190,9 @@
<div v-if="projects.length === 0" class="text-center py-4"> <div v-if="projects.length === 0" class="text-center py-4">
You have not announced any projects. You have not announced any projects.
<br /> <br />
Try the big Hit the big
<fa icon="plus" class="bg-blue-600 text-white px-1 py-1 rounded-full" /> button. <fa icon="plus" class="bg-blue-600 text-white px-1 py-1 rounded-full" />
button. You'll never know until you try.
</div> </div>
<ul class="border-t border-slate-300"> <ul class="border-t border-slate-300">
<li <li

Loading…
Cancel
Save