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">
|
<span class="name">
|
||||||
{{ role.name }}
|
{{ role.name }}
|
||||||
<template v-if="role.players.length">
|
<span class="player" v-if="role.players.length">
|
||||||
<br />
|
<br />
|
||||||
<small
|
<small
|
||||||
v-for="(player, index) in role.players"
|
v-for="(player, index) in role.players"
|
||||||
|
@ -35,7 +35,7 @@
|
||||||
player.name + (role.players.length > index + 1 ? "," : "")
|
player.name + (role.players.length > index + 1 ? "," : "")
|
||||||
}}</small
|
}}</small
|
||||||
>
|
>
|
||||||
</template>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
<span
|
<span
|
||||||
class="icon"
|
class="icon"
|
||||||
|
@ -77,7 +77,7 @@
|
||||||
></span>
|
></span>
|
||||||
<span class="name">
|
<span class="name">
|
||||||
{{ role.name }}
|
{{ role.name }}
|
||||||
<template v-if="role.players.length">
|
<span class="player" v-if="role.players.length">
|
||||||
<br />
|
<br />
|
||||||
<small
|
<small
|
||||||
v-for="(player, index) in role.players"
|
v-for="(player, index) in role.players"
|
||||||
|
@ -87,7 +87,7 @@
|
||||||
player.name + (role.players.length > index + 1 ? "," : "")
|
player.name + (role.players.length > index + 1 ? "," : "")
|
||||||
}}</small
|
}}</small
|
||||||
>
|
>
|
||||||
</template>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
<span class="reminder" v-if="role.otherNightReminder">
|
<span class="reminder" v-if="role.otherNightReminder">
|
||||||
{{ 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>
|
</style>
|
||||||
|
|
|
@ -235,4 +235,9 @@ ul {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** hide players when town square is set to "public" **/
|
||||||
|
#townsquare.public ~ .characters .modal .player {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in New Issue