File tree Expand file tree Collapse file tree 3 files changed +21
-2
lines changed
Expand file tree Collapse file tree 3 files changed +21
-2
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,6 @@ public function lastReply()
7575
7676 public function defaultAvatar ()
7777 {
78- return 'https://cdn.jsdelivr.net/gh/AmazonPython/Laravel-Forum@master/public/images/avatar.jpeg ' ;
78+ return 'https://cdn.jsdelivr.net/gh/AmazonPython/Laravel-Forum@master/public/images/avatar.jpeg ' ;
7979 }
8080}
Original file line number Diff line number Diff line change 1+ <br />
2+ <a >
3+ ({{ $profileUser -> reputation } } XP)
4+ @if ($profileUser -> reputation < 32 )
5+ Lv0 <i class =" fas fa-meteor" ></i >
6+ @elseif ($profileUser -> reputation < 256 )
7+ Lv1 <i class =" fas fa-star-half-alt" ></i >
8+ @elseif ($profileUser -> reputation < 1024 )
9+ Lv2 <i class =" fas fa-star" ></i >
10+ @elseif ($profileUser -> reputation < 4096 )
11+ Lv3 <i class =" fas fa-star-of-david" ></i >
12+ @elseif ($profileUser -> reputation < 16384 )
13+ Lv4 <i class =" fas fa-moon" ></i >
14+ @elseif ($profileUser -> reputation < 65536 )
15+ Lv5 <i class =" fas fa-star-and-crescent" ></i >
16+ @elseif ($profileUser -> reputation < 131072 )
17+ Lv6 <i class =" far fa-sun" ></i >
18+ @endif
19+ </a >
Original file line number Diff line number Diff line change 2121 <a class =" ml-4" style =" text-decoration : none ;color : #212529 " >
2222 @lang (' messages.profiles_joined' ) <b >{{ $profileUser -> created_at -> diffForHumans () } } </b >
2323 </a ><br />
24- < a >( {{ $profileUser -> reputation } } XP)</ a >
24+ @include ( ' profiles.level ' )
2525 <img src =" {{ $profileUser -> avatar ?: $profileUser -> defaultAvatar () } }" alt =" {{ $profileUser -> name } } Avatar" style =" border-radius : 500px ; width : 200px ;height : 200px " >
2626
2727 @can (' update' , $profileUser )
You can’t perform that action at this time.
0 commit comments