🎨 UI: Add vote ribbon for board members to highlight pending voting decisions

This commit is contained in:
HolgerHatGarKeineNode
2026-05-18 22:15:26 +02:00
parent cdfc738ede
commit c7d15cef24
3 changed files with 33 additions and 1 deletions
+5
View File
@@ -103,4 +103,9 @@ class ProjectProposal extends Model implements HasMedia
{
return $this->hasMany(Vote::class);
}
public function hasVoteFrom(EinundzwanzigPleb $pleb): bool
{
return $this->votes->contains('einundzwanzig_pleb_id', $pleb->id);
}
}