diff --git a/resources/views/exercise/show.blade.php b/resources/views/exercise/show.blade.php index e4d6c1cd8..6432de9e1 100644 --- a/resources/views/exercise/show.blade.php +++ b/resources/views/exercise/show.blade.php @@ -61,30 +61,31 @@ class="sticky-top col-md-12 d-flex {{ $previousExercise->exists ? 'justify-conte @include(getExerciseListingViewFilepath($exercise))
- @auth -
- @if ($exercise->solutions()->exists()) - - {{ __('views.exercise.show.buttons.show_solutions') }} - - @endif + @auth +
+ @if ($exercise->solutions()->exists()) + + {{ __('views.exercise.show.buttons.show_solutions') }} + + @endif - @if (!$isShowSavedSolutionsButton) - {{ __('solution.show_solution') }} - @endif - @if ($exercise->users->isEmpty()) -

{{ __('exercise.show.nobody_completed') }}

- @else - @include('exercise._modal.completed_by') - - @endif + @if (!$isShowSavedSolutionsButton) + {{ __('solution.show_solution') }} + @endif + + @if ($exercise->users->isEmpty()) +

{{ __('exercise.show.nobody_completed') }}

+ @else + @include('exercise._modal.completed_by') + + @endif
- @endauth + @endauth