Skip to content

Commit

Permalink
#421 for solo endorsements as well
Browse files Browse the repository at this point in the history
  • Loading branch information
blt950 committed Jun 18, 2022
1 parent 31dcd56 commit 2b2975d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions resources/views/endorsements/trainings.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@
@foreach($endorsements as $e)
@if(($e->expired || $e->revoked) && $e->type == 'S1' && $e->user->hasActiveEndorsement('S1'))
{{-- Don't show old entries if there's another active one --}}
@elseif(($e->expired || $e->revoked) && $e->type == 'SOLO' && $e->user->hasActiveEndorsement('SOLO'))
{{-- Don't show old entries if there's another active one --}}
@else
<tr>
<td>
Expand Down

0 comments on commit 2b2975d

Please sign in to comment.