FEATURE: fix redirecting after edit to be more logical

This commit is contained in:
Michal Kváček
2016-09-27 21:48:06 +02:00
parent 8533c8cdc6
commit e0357d0003
4 changed files with 12 additions and 2 deletions
@@ -2,6 +2,11 @@
@section('pageHeading', trans('admin/userManagement.profile'))
@section('pageDescription', @trans('admin/userManagement.detail', ['name' => $user->name, 'email' => $user->email]))
@section('headerButtons')
<a href="{{route('users.overview')}}" class="btn btn-secondary btn-sm rounded" title="@lang('admin/userManagement.overview')">
<i class="fa fa-list"></i>
</a>
@endsection
@section('content')
@@ -1,6 +1,11 @@
@extends('admin.layoutWithNavigation')
@section('pageHeading', @trans('admin/userManagement.editUser', ['name' => str_limit($user->name, 20), 'email' => $user->email]))
@section('headerButtons')
<a href="{{route('users.overview')}}" class="btn btn-secondary btn-sm rounded" title="@lang('admin/userManagement.overview')">
<i class="fa fa-list"></i>
</a>
@endsection
@section('content')
<div class="row">