FEATURE: minor UI tweaks in template settings + add events into OnePage base template

This commit is contained in:
Michal Kváček
2016-09-24 19:48:39 +02:00
parent 6d107d0881
commit 2f760fd56d
14 changed files with 185 additions and 37 deletions
@@ -300,7 +300,7 @@ class EditContent extends Controller
} catch (NotFoundHttpException $e) {
// page not found
return redirect()
->route('content.overview')
->back()
->with('error', trans('admin/contents.invalidPage'));
}
@@ -315,7 +315,7 @@ class EditContent extends Controller
// was something changed?
if ($changedColumns == 0) {
return redirect()
->route('content.overview')
->back()
->with('error', trans('admin/contents.nothingToEdit'));
}
@@ -324,7 +324,7 @@ class EditContent extends Controller
// redirect back to overview with info for user
return redirect()
->route('content.overview')
->back()
->with('success', trans('admin/contents.homepageSetup', [
'name' => $page->title,
'url' => $page->url