File tree Expand file tree Collapse file tree 3 files changed +10
-15
lines changed Expand file tree Collapse file tree 3 files changed +10
-15
lines changed Original file line number Diff line number Diff line change 5353 @include (' forum.threads.info.tags' )
5454 </div >
5555
56- @if ($thread -> isSolved () )
57- <a class =" label label-primary text-center mt-4 md:mt-0"
58- href =" {{ route (' thread' , $thread -> slug ()) } } #{{ $thread -> solutionReplyRelation -> id } }" >
59- <i class =" fa fa-check mr-2" ></i >
60- View solution
61- </a >
62- @endif
63-
56+ @include (' forum.threads._view_solution' )
6457 </div >
6558 </div >
6659 @endforeach
Original file line number Diff line number Diff line change 1+ @if ($thread -> isSolved () )
2+ <a class =" label label-primary text-center mt-4 md:mt-0"
3+ href =" {{ route (' thread' , $thread -> slug ()) } } #{{ $thread -> solution_reply_id } }" >
4+ <i class =" fa fa-check mr-2" ></i >
5+ View solution
6+ </a >
7+ @endif
8+
Original file line number Diff line number Diff line change @@ -28,13 +28,7 @@ class="text-green-darker mr-2">
2828 </div >
2929 </div >
3030
31- @if ($thread -> isSolved () )
32- <div class =" label label-primary" >
33- <a href =" #{{ $thread -> solution_reply_id } }" >
34- View Solution
35- </a >
36- </div >
37- @endif
31+ @include (' forum.threads._view_solution' )
3832 </div >
3933
4034 @include (' forum.threads.info.tags' )
You can’t perform that action at this time.
0 commit comments