Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
summerblue committed Mar 29, 2017
1 parent 53e5d69 commit c0ce0d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/views/users/partials/basicinfo.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -156,15 +156,15 @@
<i class="fa fa-envelope-o"></i> 发私信
</a>
@endif

{{--
@if ($currentUser && Entrust::can('manage_users') && $currentUser->id != $user->id && $currentUser->roles->count() < 5)
<a data-method="post" class="btn btn-{{ $user->is_banned == 'yes' ? 'warning' : 'danger' }} btn-block" href="javascript:void(0);" data-url="{{ route('users.blocking', $user->id) }}" id="user-edit-button" onclick=" return confirm('{{ lang('Are you sure want to '. ($user->is_banned == 'yes' ? 'unblock' : 'block') . ' this User?') }}')">
<i class="fa fa-times"></i> {{ $user->is_banned == 'yes' ? lang('Unblock User') : lang('Block User') }}
</a>
<a class="btn btn-info btn-block" href="{{ url('admin/users/' . $user->id) }}" >
<i class="fa fa-eye"></i> 后台管理
</a>
@endif
@endif --}}

</div>

Expand Down

0 comments on commit c0ce0d0

Please sign in to comment.