Skip to content

Commit

Permalink
Show team in person heading if developer
Browse files Browse the repository at this point in the history
  • Loading branch information
kreaweb.be committed Apr 27, 2024
1 parent bde80e6 commit 524ea2c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion resources/views/livewire/people/heading.blade.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
<div class="p-3 pb-0 flex flex-col justify-end rounded dark:text-neutral-200 bg-white dark:bg-neutral-700 shadow-[0_2px_15px_-3px_rgba(0,0,0,0.07),0_10px_20px_-2px_rgba(0,0,0,0.04)]">
<div class="flex flex-wrap">
<div class="flex-grow max-w-full flex-1 text-lg font-medium">
{{ $person->name }}
<div>{{ $person->name }}</div>

@if (config('app.god_mode') && auth()->user()->is_developer)
<div class="text-info-500">{{ $person->team->name }}</div>
@endif
</div>

<div class="flex-grow max-w-full flex-1 text-end">
Expand Down

0 comments on commit 524ea2c

Please sign in to comment.