From d099885fd1af7b97e7945376ea6971f139cffd33 Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Sun, 3 Apr 2016 12:19:44 +0100 Subject: [PATCH] Fixed some label casing and fixed incorrect notifications Fixed the book & chapter permission update notification stating the 'page permissions' have been updated. --- app/Http/Controllers/BookController.php | 2 +- app/Http/Controllers/ChapterController.php | 2 +- resources/views/settings/index.blade.php | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/Http/Controllers/BookController.php b/app/Http/Controllers/BookController.php index 5b2b510c9..3390b41c0 100644 --- a/app/Http/Controllers/BookController.php +++ b/app/Http/Controllers/BookController.php @@ -267,7 +267,7 @@ class BookController extends Controller $book = $this->bookRepo->getBySlug($bookSlug); $this->checkOwnablePermission('restrictions-manage', $book); $this->bookRepo->updateRestrictionsFromRequest($request, $book); - session()->flash('success', 'Page Restrictions Updated'); + session()->flash('success', 'Book Restrictions Updated'); return redirect($book->getUrl()); } } diff --git a/app/Http/Controllers/ChapterController.php b/app/Http/Controllers/ChapterController.php index 6b8a2f18f..4641ddbdb 100644 --- a/app/Http/Controllers/ChapterController.php +++ b/app/Http/Controllers/ChapterController.php @@ -187,7 +187,7 @@ class ChapterController extends Controller $chapter = $this->chapterRepo->getBySlug($chapterSlug, $book->id); $this->checkOwnablePermission('restrictions-manage', $chapter); $this->chapterRepo->updateRestrictionsFromRequest($request, $chapter); - session()->flash('success', 'Page Restrictions Updated'); + session()->flash('success', 'Chapter Restrictions Updated'); return redirect($chapter->getUrl()); } } diff --git a/resources/views/settings/index.blade.php b/resources/views/settings/index.blade.php index eb580bb8b..7e38154d5 100644 --- a/resources/views/settings/index.blade.php +++ b/resources/views/settings/index.blade.php @@ -29,7 +29,7 @@
- +

Select which editor will be used by all users to edit pages.