[COMPONENT][Person][TEMPLATES] Move persosn settings template from core to the component

This commit is contained in:
Hugo Sales 2022-03-31 00:09:26 +01:00
parent fd71d6ee7d
commit f6a8f44420
Signed by: someonewithpc
GPG Key ID: 7D0C7EAFC9D835A0
3 changed files with 2 additions and 2 deletions

View File

@ -103,7 +103,7 @@ class PersonSettings extends Controller
$language_form = $language->settings($request);
return [
'_template' => 'settings/base.html.twig',
'_template' => 'person/settings.html.twig',
'personal_info_form' => $personal_form->createView(),
'email_form' => $email_form->createView(),
'password_form' => $password_form->createView(),

View File

@ -59,7 +59,7 @@ class Oomox extends Plugin
/**
* Populates an additional profile user panel section
* Used in templates/settings/base.html.twig
* Used in 'person/settings.html.twig'
*
* @throws \App\Util\Exception\NoLoggedInUser
* @throws RedirectException