Incentive (E1): VIP-Badge in der Navigation, solange ein Incentive nur fuer VIP sichtbar ist
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
parent
5204444da9
commit
9b6717ca8a
2 changed files with 20 additions and 0 deletions
|
|
@ -296,6 +296,11 @@
|
|||
<a href="{{ route('user_incentive_teaser', [$sidenavIncentive->slug]) }}"
|
||||
class="sidenav-link"><i class="text-secondary sidenav-icon ion ion-md-trophy"></i>
|
||||
<div>{{ $sidenavIncentives->count() > 1 ? ($sidenavIncentive->getLang('name') ?: $sidenavIncentive->name) : __('navigation.incentive') }}</div>
|
||||
@if ($sidenavIncentive->vip_only)
|
||||
<div class="pl-1 ml-auto">
|
||||
<div class="badge badge-secondary" title="{{ __('incentive.vip_only_help') }}">VIP</div>
|
||||
</div>
|
||||
@endif
|
||||
</a>
|
||||
</li>
|
||||
@endforeach
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue