File tree Expand file tree Collapse file tree 1 file changed +18
-13
lines changed
resources/views/forum/threads Expand file tree Collapse file tree 1 file changed +18
-13
lines changed Original file line number Diff line number Diff line change 1515 <div class =" flex flex-wrap" >
1616 <div class =" w-full md:w-3/4 md:pr-3" >
1717 <div class =" reply bg-white border rounded" >
18- <div class =" flex flex-col md:flex-row md:items-center justify-between text-sm p-4 border-b" >
19- <div class =" flex mb-4 md:mb-0" >
20- @include (' forum.threads.info.avatar' , [' user' => $thread -> author ()] )
18+ <div class =" flex flex-col md:flex-row md:items-center text-sm p-4 border-b" >
19+ <div class =" flex flex-wrap mb-4 md:mb-0 justify-between w-full items-center" >
2120
22- <div class =" mr-6 text-gray-700" >
23- <a href =" {{ route (' profile' , $thread -> author ()-> username ()) } }" class =" text-green-darker mr-2" >{{ $thread -> author ()-> name () } } </a > posted
24- {{ $thread -> createdAt ()-> diffForHumans () } }
21+ <div class =" flex" >
22+ @include (' forum.threads.info.avatar' , [' user' => $thread -> author ()] )
23+
24+ <div class =" mr-6 mb-4 md:mb-0 text-gray-700" >
25+ <a href =" {{ route (' profile' , $thread -> author ()-> username ()) } }" class =" text-green-darker mr-2" >{{ $thread -> author ()-> name () } } </a > posted
26+ {{ $thread -> createdAt ()-> diffForHumans () } }
27+ </div >
2528 </div >
29+
30+ @if ($thread -> isSolved () )
31+ <div class =" label label-primary" >
32+ <a href =" #{{ $thread -> solution_reply_id } }" >
33+ View Solution
34+ </a >
35+ </div >
36+ @endif
37+
2638 </div >
27- @if ($thread -> isSolved () )
28- <div class =" label label-primary" >
29- <a href =" #{{ $thread -> solution_reply_id } }" >
30- View Solution
31- </a >
32- </div >
33- @endif
3439
3540 @include (' forum.threads.info.tags' )
3641 </div >
You can’t perform that action at this time.
0 commit comments