0
0
Fork 0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-05-17 22:02:05 +00:00

Added page titles to many missing app areas

Many pages were missing their unique tab/page titles
so this change is just to distribute them back over
many common areas where they were missing.
This commit is contained in:
Dan Brown 2022-01-04 13:33:24 +00:00
parent 31f1dca8a8
commit a72bd75e3a
No known key found for this signature in database
GPG key ID: 46D9F943C24A2EF9
9 changed files with 25 additions and 0 deletions
app/Http/Controllers

View file

@ -25,6 +25,8 @@ class WebhookController extends Controller
->with('trackedEvents')
->get();
$this->setPageTitle(trans('settings.webhooks'));
return view('settings.webhooks.index', ['webhooks' => $webhooks]);
}
@ -33,6 +35,7 @@ class WebhookController extends Controller
*/
public function create()
{
$this->setPageTitle(trans('settings.webhooks_create'));
return view('settings.webhooks.create');
}
@ -69,6 +72,8 @@ class WebhookController extends Controller
->with('trackedEvents')
->findOrFail($id);
$this->setPageTitle(trans('settings.webhooks_edit'));
return view('settings.webhooks.edit', ['webhook' => $webhook]);
}
@ -105,6 +110,8 @@ class WebhookController extends Controller
/** @var Webhook $webhook */
$webhook = Webhook::query()->findOrFail($id);
$this->setPageTitle(trans('settings.webhooks_delete'));
return view('settings.webhooks.delete', ['webhook' => $webhook]);
}