Browse Source

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

experimental
Hugo Sales 3 months ago
parent
commit
f6a8f44420
Signed by: someonewithpc <hugo@hsal.es> GPG Key ID: 7D0C7EAFC9D835A0
3 changed files with 2 additions and 2 deletions
  1. +1
    -1
      components/Person/Controller/PersonSettings.php
  2. +0
    -0
      components/Person/templates/person/settings.html.twig
  3. +1
    -1
      plugins/Oomox/Oomox.php

+ 1
- 1
components/Person/Controller/PersonSettings.php 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(),


templates/settings/base.html.twig → components/Person/templates/person/settings.html.twig View File


+ 1
- 1
plugins/Oomox/Oomox.php 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


Loading…
Cancel
Save