Browse Source

move the "part of project" text in giving-details screen

kb/add-usage-guide
Trent Larson 8 months ago
parent
commit
3e556dfa52
  1. 2
      src/main.ts
  2. 12
      src/views/GiftedDetails.vue

2
src/main.ts

@ -19,6 +19,7 @@ import {
faBurst, faBurst,
faCalendar, faCalendar,
faCamera, faCamera,
faCheck,
faChevronLeft, faChevronLeft,
faChevronRight, faChevronRight,
faCircle, faCircle,
@ -78,6 +79,7 @@ library.add(
faBurst, faBurst,
faCalendar, faCalendar,
faCamera, faCamera,
faCheck,
faChevronLeft, faChevronLeft,
faChevronRight, faChevronRight,
faCircle, faCircle,

12
src/views/GiftedDetails.vue

@ -51,10 +51,6 @@
</div> </div>
</div> </div>
<div v-if="projectId" class="flex justify-center mt-2">
<label class="text-sm">This is given to a project</label>
</div>
<div class="flex justify-center mt-4"> <div class="flex justify-center mt-4">
<span v-if="imageUrl" class="flex justify-between"> <span v-if="imageUrl" class="flex justify-between">
<a :href="imageUrl" target="_blank" class="text-blue-500 ml-4"> <a :href="imageUrl" target="_blank" class="text-blue-500 ml-4">
@ -76,6 +72,14 @@
</div> </div>
<GiftedPhotoDialog ref="photoDialog" /> <GiftedPhotoDialog ref="photoDialog" />
<div v-if="projectId" class="mt-4">
<fa
icon="check"
class="bg-slate-500 text-white h-5 w-5 px-0.5 py-0.5 mr-2 rounded"
/>
<label class="text-sm">This is given to a project</label>
</div>
<div v-if="!projectId" class="mt-4"> <div v-if="!projectId" class="mt-4">
<input type="checkbox" class="h-6 w-6 mr-2" v-model="givenToUser" /> <input type="checkbox" class="h-6 w-6 mr-2" v-model="givenToUser" />
<label class="text-sm">Given to you</label> <label class="text-sm">Given to you</label>

Loading…
Cancel
Save