mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 23:27:26 +01:00
fix(modals): various tweks
This commit is contained in:
committed by
Phillip Thelen
parent
193f783652
commit
7e8239fb28
@@ -715,6 +715,12 @@ export default {
|
|||||||
if (this.item.notes instanceof Function) {
|
if (this.item.notes instanceof Function) {
|
||||||
return this.item.notes();
|
return this.item.notes();
|
||||||
}
|
}
|
||||||
|
if (this.item.items) {
|
||||||
|
if (this.item.items[0].notes instanceof Function) {
|
||||||
|
return this.item.items[0].notes();
|
||||||
|
}
|
||||||
|
return this.item.items[0].notes;
|
||||||
|
}
|
||||||
return this.item.notes;
|
return this.item.notes;
|
||||||
},
|
},
|
||||||
gemsLeft () {
|
gemsLeft () {
|
||||||
|
|||||||
@@ -28,6 +28,12 @@
|
|||||||
:item="item"
|
:item="item"
|
||||||
:abbreviated="true"
|
:abbreviated="true"
|
||||||
/>
|
/>
|
||||||
|
<div
|
||||||
|
v-if="item.addlNotes"
|
||||||
|
class="mb-3"
|
||||||
|
>
|
||||||
|
{{ item.addlNotes }}
|
||||||
|
</div>
|
||||||
<quest-rewards :quest="item" />
|
<quest-rewards :quest="item" />
|
||||||
<div
|
<div
|
||||||
v-if="!item.locked"
|
v-if="!item.locked"
|
||||||
@@ -52,12 +58,6 @@
|
|||||||
<div class="how-many-to-buy">
|
<div class="how-many-to-buy">
|
||||||
<strong>{{ $t('howManyToBuy') }}</strong>
|
<strong>{{ $t('howManyToBuy') }}</strong>
|
||||||
</div>
|
</div>
|
||||||
<div
|
|
||||||
v-if="item.addlNotes"
|
|
||||||
class="mb-3"
|
|
||||||
>
|
|
||||||
{{ item.addlNotes }}
|
|
||||||
</div>
|
|
||||||
<div>
|
<div>
|
||||||
<number-increment
|
<number-increment
|
||||||
@updateQuantity="selectedAmountToBuy = $event"
|
@updateQuantity="selectedAmountToBuy = $event"
|
||||||
@@ -82,7 +82,7 @@
|
|||||||
v-if="priceType === 'gems'
|
v-if="priceType === 'gems'
|
||||||
&& !enoughCurrency(priceType, item.value * selectedAmountToBuy)
|
&& !enoughCurrency(priceType, item.value * selectedAmountToBuy)
|
||||||
&& !item.locked"
|
&& !item.locked"
|
||||||
class="btn btn-primary"
|
class="btn btn-primary mb-3"
|
||||||
@click="purchaseGems()"
|
@click="purchaseGems()"
|
||||||
>
|
>
|
||||||
{{ $t('purchaseGems') }}
|
{{ $t('purchaseGems') }}
|
||||||
|
|||||||
@@ -18,7 +18,6 @@
|
|||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
v-html="itemNotes"
|
v-html="itemNotes"
|
||||||
class="mb-2"
|
|
||||||
></div>
|
></div>
|
||||||
<questInfo
|
<questInfo
|
||||||
class="questInfo"
|
class="questInfo"
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<div
|
<div
|
||||||
class="row"
|
class="row mt-3"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
v-if="quest.collect"
|
v-if="quest.collect"
|
||||||
|
|||||||
Reference in New Issue
Block a user