mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
Merge pull request #11647 from tsukimi2/bugfix-npc-style
Fix issues in NPCs should have NPC style on Display Name in chat, Hall. (fixes #11617)
This commit is contained in:
@@ -29,8 +29,8 @@
|
|||||||
<div
|
<div
|
||||||
id="app"
|
id="app"
|
||||||
:class="{
|
:class="{
|
||||||
'casting-spell': castingSpell,
|
'casting-spell': castingSpell,
|
||||||
'resting': showRestingBanner
|
'resting': showRestingBanner
|
||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
<banned-account-modal />
|
<banned-account-modal />
|
||||||
|
|||||||
@@ -71,8 +71,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.tierNPC, .npc {
|
.tierNPC, .npc {
|
||||||
color: #77f4c7;
|
color: #4e4a57;
|
||||||
fill: #77f4c7;
|
fill: #4e4a57;
|
||||||
stroke: #005737;
|
stroke: #005737;
|
||||||
|
|
||||||
&:hover, &:active, &:focus {
|
&:hover, &:active, &:focus {
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="form-wrapper">
|
<div class="form-wrapper">
|
||||||
<div class="warning-banner d-flex" v-if="forgotPassword && preOutage">
|
<div
|
||||||
|
v-if="forgotPassword && preOutage"
|
||||||
|
class="warning-banner d-flex"
|
||||||
|
>
|
||||||
<div class="warning-box ml-auto my-auto mr-2 d-flex">
|
<div class="warning-box ml-auto my-auto mr-2 d-flex">
|
||||||
<div
|
<div
|
||||||
class="svg-icon exclamation m-auto"
|
class="svg-icon exclamation m-auto"
|
||||||
|
|||||||
@@ -38,7 +38,10 @@
|
|||||||
<span>{{ $t('push') }}</span>
|
<span>{{ $t('push') }}</span>
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr v-for="notification in notificationsIds" :key="notification">
|
<tr
|
||||||
|
v-for="notification in notificationsIds"
|
||||||
|
:key="notification"
|
||||||
|
>
|
||||||
<td>
|
<td>
|
||||||
<span>{{ $t(notification) }}</span>
|
<span>{{ $t(notification) }}</span>
|
||||||
</td>
|
</td>
|
||||||
@@ -55,7 +58,7 @@
|
|||||||
type="checkbox"
|
type="checkbox"
|
||||||
@change="set('pushNotifications', notification)"
|
@change="set('pushNotifications', notification)"
|
||||||
>
|
>
|
||||||
<td v-else>
|
</td><td v-else>
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@@ -33,7 +33,10 @@
|
|||||||
<div class="how-many-to-buy">
|
<div class="how-many-to-buy">
|
||||||
<strong>{{ $t('howManyToBuy') }}</strong>
|
<strong>{{ $t('howManyToBuy') }}</strong>
|
||||||
</div>
|
</div>
|
||||||
<div class="mb-3" v-if="item.addlNotes">
|
<div
|
||||||
|
v-if="item.addlNotes"
|
||||||
|
class="mb-3"
|
||||||
|
>
|
||||||
{{ item.addlNotes }}
|
{{ item.addlNotes }}
|
||||||
</div>
|
</div>
|
||||||
<div class="box">
|
<div class="box">
|
||||||
|
|||||||
@@ -92,9 +92,9 @@ export default {
|
|||||||
},
|
},
|
||||||
isNPC () {
|
isNPC () {
|
||||||
if (this.backer) {
|
if (this.backer) {
|
||||||
return this.backer.level;
|
return this.backer.tier;
|
||||||
} if (this.user && this.user.backer) {
|
} if (this.user && this.user.backer) {
|
||||||
return this.user.backer.level;
|
return this.user.backer.tier;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user