Incentive (E1): "Nur fuer VIP sichtbar" und Ranglisten-Seite mit Teilnahme-Block oben
Haken vip_only am Incentive: aktives Incentive erscheint dann nur fuer VIP-Konten in Sidenav, Dashboard, Teaser, Rangliste und Details, andere Berater bekommen 404; das Tracking laeuft fuer alle weiter. Seeder setzt den Haken fuer die Abstimmung der Recruiting Challenge. Ranglisten-Seite: solange die Teilnahme nicht bestaetigt ist, steht der Teilnahme-Block mit Praemien-Chips, Checkbox, Button und aufklappbaren Bedingungen ganz oben, darunter Trennlinie, Titel, Untertitel, Bild, Beschreibung und die Info-Kacheln. Ueberschriften vergroessert, Abo-Bloecke nur wenn Abos zaehlen. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
parent
4e4b58e90e
commit
3341c929eb
18 changed files with 717 additions and 185 deletions
|
|
@ -62,7 +62,7 @@ class HomeController extends Controller
|
|||
$incentiveParticipants = collect();
|
||||
|
||||
if ($user->isActiveAccount()) {
|
||||
$activeIncentives = Incentive::activeForNavigation();
|
||||
$activeIncentives = Incentive::activeForNavigation($user);
|
||||
if ($activeIncentives->isNotEmpty()) {
|
||||
$incentiveParticipants = IncentiveParticipant::query()
|
||||
->whereIn('incentive_id', $activeIncentives->pluck('id'))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue