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:
Matteo Pagliazzi
2020-01-29 15:41:46 +01:00
committed by GitHub
6 changed files with 19 additions and 10 deletions

View File

@@ -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 {

View File

@@ -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"

View File

@@ -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>
&nbsp; &nbsp;
</td> </td>
</tr> </tr>

View File

@@ -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">

View File

@@ -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;
}, },