mirror of https://github.com/bra1n/townsquare.git
remove player names from character reference / night order modal when town square is public (closes #119)
This commit is contained in:
parent
915ae1bb44
commit
a849001068
|
@ -25,7 +25,7 @@
|
|||
>
|
||||
<span class="name">
|
||||
{{ role.name }}
|
||||
<template v-if="role.players.length">
|
||||
<span class="player" v-if="role.players.length">
|
||||
<br />
|
||||
<small
|
||||
v-for="(player, index) in role.players"
|
||||
|
@ -35,7 +35,7 @@
|
|||
player.name + (role.players.length > index + 1 ? "," : "")
|
||||
}}</small
|
||||
>
|
||||
</template>
|
||||
</span>
|
||||
</span>
|
||||
<span
|
||||
class="icon"
|
||||
|
@ -77,7 +77,7 @@
|
|||
></span>
|
||||
<span class="name">
|
||||
{{ role.name }}
|
||||
<template v-if="role.players.length">
|
||||
<span class="player" v-if="role.players.length">
|
||||
<br />
|
||||
<small
|
||||
v-for="(player, index) in role.players"
|
||||
|
@ -87,7 +87,7 @@
|
|||
player.name + (role.players.length > index + 1 ? "," : "")
|
||||
}}</small
|
||||
>
|
||||
</template>
|
||||
</span>
|
||||
</span>
|
||||
<span class="reminder" v-if="role.otherNightReminder">
|
||||
{{ role.otherNightReminder }}
|
||||
|
@ -362,4 +362,9 @@ ul {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
/** hide players when town square is set to "public" **/
|
||||
#townsquare.public ~ .night-reference .modal .player {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -235,4 +235,9 @@ ul {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
/** hide players when town square is set to "public" **/
|
||||
#townsquare.public ~ .characters .modal .player {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Reference in New Issue