diff --git a/gatherling/Views/Components/EntryListItem.php b/gatherling/Views/Components/EntryListItem.php index 1062be142..002693182 100644 --- a/gatherling/Views/Components/EntryListItem.php +++ b/gatherling/Views/Components/EntryListItem.php @@ -11,6 +11,7 @@ class EntryListItem { public int $dropRound; public string $eventName; + public string $playerName; public ?string $emailAddress; public bool $canDrop = false; public bool $canUndrop = false; @@ -35,6 +36,7 @@ public function __construct(Entry $entry, int $numEntries, public bool $isTribal { $this->dropRound = $entry->drop_round; $this->eventName = $entry->event->name; + $this->playerName = $entry->player->name; $this->emailAddress = $entry->player->emailAddress; if ($entry->event->active == 1) { $playerActive = Standings::playerActive($entry->event->name, $entry->player->name); diff --git a/gatherling/templates/partials/entryListItem.mustache b/gatherling/templates/partials/entryListItem.mustache index 70b64b87e..a3619c1a4 100644 --- a/gatherling/templates/partials/entryListItem.mustache +++ b/gatherling/templates/partials/entryListItem.mustache @@ -1,7 +1,7 @@ -