Skip to content

NOW MANAGED ON CODEBERG

Fixed some label casing and fixed incorrect notifications

Dan Brownd099885fd1af
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 @@
<toggle-switch name="setting-app-secure-images" value="{{ setting('app-secure-images') }}"></toggle-switch>
</div>
<div class="form-group">
- <label for="setting-app-editor">Page Editor</label>
+ <label for="setting-app-editor">Page editor</label>
<p class="small">Select which editor will be used by all users to edit pages.</p>
<select name="setting-app-editor" id="setting-app-editor">
<option @if(setting('app-editor') === 'wysiwyg') selected @endif value="wysiwyg">WYSIWYG</option>
@@ -39,12 +39,12 @@
</div>
<div class="col-md-6">
<div class="form-group" id="logo-control">
- <label for="setting-app-logo">Application Logo</label>
+ <label for="setting-app-logo">Application logo</label>
<p class="small">This image should be 43px in height. <br>Large images will be scaled down.</p>
<image-picker resize-height="43" show-remove="true" resize-width="200" current-image="{{ setting('app-logo', '') }}" default-image="/logo.png" name="setting-app-logo" image-class="logo-image"></image-picker>
</div>
<div class="form-group" id="color-control">
- <label for="setting-app-color">Application Primary Color</label>
+ <label for="setting-app-color">Application primary color</label>
<p class="small">This should be a hex value. <br> Leave empty to reset to the default color.</p>
<input type="text" value="{{ setting('app-color', '') }}" name="setting-app-color" id="setting-app-color" placeholder="#0288D1">
<input type="hidden" value="{{ setting('app-color-light', '') }}" name="setting-app-color-light" id="setting-app-color-light" placeholder="rgba(21, 101, 192, 0.15)">