public function showReputation() { show_reputation($this); }
<small><a class="btn btn-info" href="{{ $user->getEditLink() }}">EDIT</a></small> @endif @if ( me()->hasPermissionTo('delete', $user) ) <small><a class="btn btn-info" href="{{ route('userdelete', array('id' => $user->id)) }}" onclick="return doconfirm('Are you sure you want to delete this user?');">DELETE</a></small> @endif @if ( me()->hasPermissionTo('contact', $user)) <small><a class="btn btn-info" href="{{route('contact', array('object_type' => 'user', 'id' => $user->id ))}}">Contact {{$user->getName()}}</a></small> @endif @if (me()->hasPermissionTo('recommend', $user)) <small><a class="btn btn-info" href="{{route('recommendationadd', array('user_id' => $user->id )) }}">Write Recommendation</a></small> @endif </h2> <h2>Reputation</h2> <?php show_reputation($user); ?> </div> @if(count($user->activePleas())) <div class="panel panel-primary"> <div class="panel-heading"> Active Requests </div> <div class="panel-body"> <div class="list-group plea-list"> @foreach ($user->activePleas() as $plea) <a class="list-group-item" href="{{ action('PleaController@showDetail', $plea->id) }}"> <h2>{{ $plea->summary }}</h2>