mirror of
https://github.com/wallabag/wallabag.git
synced 2025-09-15 18:57:05 +00:00
Move User templates to Core
This commit is contained in:
parent
c7bf98923e
commit
0234aa1acf
10 changed files with 7 additions and 7 deletions
|
@ -67,7 +67,7 @@ class UserController extends AbstractController
|
|||
return $this->redirectToRoute('user_edit', ['id' => $user->getId()]);
|
||||
}
|
||||
|
||||
return $this->render('@WallabagUser/User/new.html.twig', [
|
||||
return $this->render('@WallabagCore/User/new.html.twig', [
|
||||
'user' => $user,
|
||||
'form' => $form->createView(),
|
||||
]);
|
||||
|
@ -108,7 +108,7 @@ class UserController extends AbstractController
|
|||
return $this->redirectToRoute('user_edit', ['id' => $user->getId()]);
|
||||
}
|
||||
|
||||
return $this->render('@WallabagUser/User/edit.html.twig', [
|
||||
return $this->render('@WallabagCore/User/edit.html.twig', [
|
||||
'user' => $user,
|
||||
'edit_form' => $form->createView(),
|
||||
'delete_form' => $deleteForm->createView(),
|
||||
|
@ -173,7 +173,7 @@ class UserController extends AbstractController
|
|||
}
|
||||
}
|
||||
|
||||
return $this->render('@WallabagUser/User/index.html.twig', [
|
||||
return $this->render('@WallabagCore/User/index.html.twig', [
|
||||
'searchForm' => $form->createView(),
|
||||
'users' => $pagerFanta,
|
||||
]);
|
||||
|
|
|
@ -78,7 +78,7 @@ class AuthCodeMailer implements AuthCodeMailerInterface
|
|||
*/
|
||||
public function sendAuthCode(TwoFactorInterface $user): void
|
||||
{
|
||||
$template = $this->twig->load('@WallabagUser/TwoFactor/email_auth_code.html.twig');
|
||||
$template = $this->twig->load('@WallabagCore/TwoFactor/email_auth_code.html.twig');
|
||||
|
||||
$subject = $template->renderBlock('subject', []);
|
||||
$bodyHtml = $template->renderBlock('body_html', [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue