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:
parent
31f1dca8a8
commit
a72bd75e3a
9 changed files with 25 additions and 0 deletions
app/Http/Controllers
|
@ -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]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue