Route cosmetic layout updates, and standardise on using /home to redirect back to the homescreen, and standardise usage of redirect()
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
$ao->load(['services:id,active,account_id']);
|
||||
@endphp
|
||||
<tr>
|
||||
<td><a href="{{ url('r/switch/start',$ao->user_id) }}"><i class="fas fa-external-link-alt"></i></a></td>
|
||||
<td><a href="{{ url('switch/start',$ao->user_id) }}"><i class="fas fa-external-link-alt"></i></a></td>
|
||||
<td><a href="{{ url('u/home',$ao->user_id) }}">{{ $ao->name }}</a></td>
|
||||
<td class="text-right">{{ $ao->services->where('active',TRUE)->count() }} <small>/{{ $ao->services->count() }}</small></td>
|
||||
</tr>
|
||||
|
@@ -46,7 +46,7 @@
|
||||
|
||||
<div class="dropdown-divider"></div>
|
||||
@if($user->switched)
|
||||
<a href="{{ url('/admin/switch/stop') }}" class="dropdown-item">
|
||||
<a href="{{ url('switch/stop') }}" class="dropdown-item">
|
||||
<i class="fas fa-sign-out-alt mr-2"></i> {{ trans('adminlte_lang::message.switchoff') }}
|
||||
</a>
|
||||
@else
|
||||
|
Reference in New Issue
Block a user