From 2b2975df9e966ce1033d7dc0aa86a971e7f9ff89 Mon Sep 17 00:00:00 2001 From: blt950 Date: Sat, 18 Jun 2022 22:15:45 +0200 Subject: [PATCH] #421 for solo endorsements as well --- resources/views/endorsements/trainings.blade.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/views/endorsements/trainings.blade.php b/resources/views/endorsements/trainings.blade.php index a4174831d..39d0c9e00 100644 --- a/resources/views/endorsements/trainings.blade.php +++ b/resources/views/endorsements/trainings.blade.php @@ -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