Skip to content

Commit

Permalink
Fixes #1024 - delete option added to user dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
snipe committed Aug 6, 2015
1 parent e3c1a9f commit 5dcc795
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/views/backend/users/view.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@
<ul class="dropdown-menu">
<li><a href="{{ route('update/user', $user->id) }}">@lang('admin/users/general.edit')</a></li>
<li><a href="{{ route('clone/user', $user->id) }}">@lang('admin/users/general.clone')</a></li>
@if ((Sentry::getId() !== $user->id) && (!Config::get('app.lock_passwords')))
<li><a href="{{ route('delete/user', $user->id) }}" data-html="false" data-toggle="modal" href="'.route('delete/user', $users->id).'" data-content="Are you sure you wish to delete this user?" data-title="Delete '.htmlspecialchars($users->first_name).'?" onClick="return false;">@lang('button.delete')</a></li>
@endif
</ul>
</div>

Expand Down

0 comments on commit 5dcc795

Please sign in to comment.