Skip to content

Commit

Permalink
refactor: fix profile card footer
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurHetem committed Dec 28, 2024
1 parent 0c2440c commit 935ded3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions resources/views/layouts/seven/profile/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
@endif
</p>
</div>
<div class="card-footer d-grid gap-2">
@if (Auth::check() && $user->id === Auth::user()->id)
@if (Auth::check() && $user->id === Auth::user()->id)
<div class="card-footer d-grid gap-2">
@if (isset($acars) && $acars === true)
<a href="{{ route('frontend.profile.acars') }}" class="btn btn-info"
onclick="alert('Copy or Save to \'My Documents/vmsacars/profiles\'')">ACARS
Expand All @@ -47,8 +47,8 @@
@endif
<a href="{{ route('frontend.profile.edit', [$user->id]) }}"
class="btn btn-primary">@lang('common.edit')</a>
@endif
</div>
</div>
@endif
</div>
</div>
<div class="col-md-8 mt-4 mt-sm-0">
Expand Down

0 comments on commit 935ded3

Please sign in to comment.