Skip to content

Commit

Permalink
feat: link to VATSIM stats from profile
Browse files Browse the repository at this point in the history
  • Loading branch information
blt950 committed Oct 1, 2023
1 parent 374528b commit ac3389a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions resources/views/training/show.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@
{{ $training->user->id }}
</a>
<button type="button" onclick="navigator.clipboard.writeText('{{ $training->user->id }}')"><i class="fas fa-copy"></i></button>
<a href="https://stats.vatsim.net/stats/{{ $training->user->id }}" target="_blank" title="VATSIM Stats" class="link-btn me-1"><i class="fas fa-chart-simple"></i></button></a>
@if($training->user->division == 'EUD')
<a href="https://www.atsimtest.com/index.php?cmd=admin&sub=memberdetail&memberid={{ $training->user->id }}" target="_blank" title="ATSimTest Profile" class="link-btn"><i class="fas fa-a"></i></button></a>
@endif
Expand Down
1 change: 1 addition & 0 deletions resources/views/user/show.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
<dd>
{{ $user->id }}
<button type="button" onclick="navigator.clipboard.writeText('{{ $user->id }}')"><i class="fas fa-copy"></i></button>
<a href="https://stats.vatsim.net/stats/{{ $user->id }}" target="_blank" title="VATSIM Stats" class="link-btn me-1"><i class="fas fa-chart-simple"></i></button></a>
@if($user->division == 'EUD')
<a href="https://www.atsimtest.com/index.php?cmd=admin&sub=memberdetail&memberid={{ $user->id }}" target="_blank" title="ATSimTest Profile" class="link-btn"><i class="fas fa-a"></i></button></a>
@endif
Expand Down

0 comments on commit ac3389a

Please sign in to comment.