Improve player inventory UI
This commit is contained in:
parent
36504ff857
commit
3aa396959b
@ -27,7 +27,9 @@
|
|||||||
data: {soft_token: seat.player.soft_token} }
|
data: {soft_token: seat.player.soft_token} }
|
||||||
.user-name= seat.player.display_name
|
.user-name= seat.player.display_name
|
||||||
- if @game.started?
|
- if @game.started?
|
||||||
.inventory-count= seat.player.inventory.count
|
.inventory-count
|
||||||
|
Cards:
|
||||||
|
= seat.player.inventory.count
|
||||||
|
|
||||||
-# Show player controls if player is owned by current_user
|
-# Show player controls if player is owned by current_user
|
||||||
- if seat.player.soft_token == current_user.soft_token
|
- if seat.player.soft_token == current_user.soft_token
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user