Skip to content

Commit

Permalink
Added link to vatim stats of user
Browse files Browse the repository at this point in the history
  • Loading branch information
blt950 committed Jun 5, 2022
1 parent 702c675 commit 70f39e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions resources/sass/_global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ dl dd.separator{

dl.copyable{

dd button{
dd button, dt a{
background: transparent;
border: none;
visibility: hidden;
}

dd:hover button{
dd:hover button, dt:hover a{

visibility: visible;
color: $gray-400;
Expand Down
2 changes: 1 addition & 1 deletion resources/views/user/show.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<dt>ATC Hours</dt>
<dd>{{ isset($userHours) ? $userHours : 'N/A' }}</dd>

<dt class="pt-2">VATSIM Stats</dt>
<dt class="pt-2">VATSIM Stats&nbsp;<a href="https://stats.vatsim.net/stats/{{ $user->id }}" target="_blank"><i class="fas fa-link"></i></a></dt>
@foreach($vatsimStats as $key => $stat)
@if($stat >= 1)
@if($key == "pilot")
Expand Down

0 comments on commit 70f39e6

Please sign in to comment.