diff --git a/app/Resources/CraueConfigBundle/views/Settings/modify.html.twig b/app/Resources/CraueConfigBundle/views/Settings/modify.html.twig index 8265db2e2..4e61ec4cd 100644 --- a/app/Resources/CraueConfigBundle/views/Settings/modify.html.twig +++ b/app/Resources/CraueConfigBundle/views/Settings/modify.html.twig @@ -1,4 +1,4 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} +{% extends "@WallabagCore/layout.html.twig" %} {% block title %}{{ 'menu.left.internal_settings'|trans }}{% endblock %} diff --git a/app/Resources/FOSUserBundle/views/Registration/check_email.html.twig b/app/Resources/FOSUserBundle/views/Registration/check_email.html.twig index 509372766..df81509cf 100644 --- a/app/Resources/FOSUserBundle/views/Registration/check_email.html.twig +++ b/app/Resources/FOSUserBundle/views/Registration/check_email.html.twig @@ -1,4 +1,4 @@ -{% extends "FOSUserBundle::layout.html.twig" %} +{% extends "@FOSUser/layout.html.twig" %} {% trans_default_domain 'FOSUserBundle' %} diff --git a/app/Resources/FOSUserBundle/views/Registration/confirmed.html.twig b/app/Resources/FOSUserBundle/views/Registration/confirmed.html.twig index 8e5753eef..f89294733 100644 --- a/app/Resources/FOSUserBundle/views/Registration/confirmed.html.twig +++ b/app/Resources/FOSUserBundle/views/Registration/confirmed.html.twig @@ -1,4 +1,4 @@ -{% extends "FOSUserBundle::layout.html.twig" %} +{% extends "@FOSUser/layout.html.twig" %} {% trans_default_domain 'FOSUserBundle' %} diff --git a/app/Resources/FOSUserBundle/views/Resetting/check_email.html.twig b/app/Resources/FOSUserBundle/views/Resetting/check_email.html.twig index e9d46dcc8..c4d9c91bb 100644 --- a/app/Resources/FOSUserBundle/views/Resetting/check_email.html.twig +++ b/app/Resources/FOSUserBundle/views/Resetting/check_email.html.twig @@ -1,4 +1,4 @@ -{% extends "FOSUserBundle::layout.html.twig" %} +{% extends "@FOSUser/layout.html.twig" %} {% trans_default_domain 'FOSUserBundle' %} diff --git a/app/Resources/FOSUserBundle/views/Security/login.html.twig b/app/Resources/FOSUserBundle/views/Security/login.html.twig index d54dbdbd9..291a0a428 100644 --- a/app/Resources/FOSUserBundle/views/Security/login.html.twig +++ b/app/Resources/FOSUserBundle/views/Security/login.html.twig @@ -1,4 +1,4 @@ -{% extends "FOSUserBundle::layout.html.twig" %} +{% extends "@FOSUser/layout.html.twig" %} {% block fos_user_content %}
diff --git a/app/Resources/FOSUserBundle/views/layout.html.twig b/app/Resources/FOSUserBundle/views/layout.html.twig index 71df1efec..937fd5cb0 100644 --- a/app/Resources/FOSUserBundle/views/layout.html.twig +++ b/app/Resources/FOSUserBundle/views/layout.html.twig @@ -1,4 +1,4 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} +{% extends "@WallabagCore/layout.html.twig" %} {% block title %}{{ 'security.login.page_title'|trans }}{% endblock %} diff --git a/app/config/config.yml b/app/config/config.yml index 57e1e84a8..3cf6a565e 100644 --- a/app/config/config.yml +++ b/app/config/config.yml @@ -39,7 +39,7 @@ twig: debug: "%kernel.debug%" strict_variables: "%kernel.debug%" form_themes: - - "LexikFormFilterBundle:Form:form_div_layout.html.twig" + - "@LexikFormFilter/Form/form_div_layout.html.twig" exception_controller: Wallabag\CoreBundle\Controller\ExceptionController:showAction globals: registration_enabled: '%fosuser_registration%' @@ -212,13 +212,13 @@ scheb_two_factor: google: enabled: "%twofactor_auth%" issuer: "%server_name%" - template: WallabagUserBundle:Authentication:form.html.twig + template: "@WallabagUser/Authentication/form.html.twig" email: enabled: "%twofactor_auth%" sender_email: "%twofactor_sender%" digits: 6 - template: WallabagUserBundle:Authentication:form.html.twig + template: "@WallabagUser/Authentication/form.html.twig" mailer: Wallabag\UserBundle\Mailer\AuthCodeMailer kphoen_rulerz: diff --git a/src/Wallabag/CoreBundle/Controller/ConfigController.php b/src/Wallabag/CoreBundle/Controller/ConfigController.php index 80e69a8f6..f535df917 100644 --- a/src/Wallabag/CoreBundle/Controller/ConfigController.php +++ b/src/Wallabag/CoreBundle/Controller/ConfigController.php @@ -223,7 +223,7 @@ class ConfigController extends Controller return $this->redirect($this->generateUrl('config') . '#set6'); } - return $this->render('WallabagCoreBundle:Config:index.html.twig', [ + return $this->render('@WallabagCore/Config/index.html.twig', [ 'form' => [ 'config' => $configForm->createView(), 'feed' => $feedForm->createView(), @@ -354,7 +354,7 @@ class ConfigController extends Controller 'flashes.config.notice.otp_enabled' ); - return $this->render('WallabagCoreBundle:Config:otp_app.html.twig', [ + return $this->render('@WallabagCore/Config/otp_app.html.twig', [ 'backupCodes' => $backupCodes, 'qr_code' => $this->get('scheb_two_factor.security.google_authenticator')->getQRContent($user), 'secret' => $secret, diff --git a/src/Wallabag/CoreBundle/Controller/EntryController.php b/src/Wallabag/CoreBundle/Controller/EntryController.php index fa26f35c0..b4674a580 100644 --- a/src/Wallabag/CoreBundle/Controller/EntryController.php +++ b/src/Wallabag/CoreBundle/Controller/EntryController.php @@ -133,7 +133,7 @@ class EntryController extends Controller return $this->showEntries('search', $request, $page); } - return $this->render('WallabagCoreBundle:Entry:search_form.html.twig', [ + return $this->render('@WallabagCore/Entry/search_form.html.twig', [ 'form' => $form->createView(), 'currentRoute' => $currentRoute, ]); @@ -176,7 +176,7 @@ class EntryController extends Controller return $this->redirect($this->generateUrl('homepage')); } - return $this->render('WallabagCoreBundle:Entry:new_form.html.twig', [ + return $this->render('@WallabagCore/Entry/new_form.html.twig', [ 'form' => $form->createView(), ]); } @@ -212,7 +212,7 @@ class EntryController extends Controller */ public function addEntryAction() { - return $this->render('WallabagCoreBundle:Entry:new.html.twig'); + return $this->render('@WallabagCore/Entry/new.html.twig'); } /** @@ -243,7 +243,7 @@ class EntryController extends Controller return $this->redirect($this->generateUrl('view', ['id' => $entry->getId()])); } - return $this->render('WallabagCoreBundle:Entry:edit.html.twig', [ + return $this->render('@WallabagCore/Entry/edit.html.twig', [ 'form' => $form->createView(), ]); } @@ -374,7 +374,7 @@ class EntryController extends Controller $this->checkUserAction($entry); return $this->render( - 'WallabagCoreBundle:Entry:entry.html.twig', + '@WallabagCore/Entry/entry.html.twig', ['entry' => $entry] ); } @@ -666,7 +666,7 @@ class EntryController extends Controller ->countUntaggedEntriesByUser($this->getUser()->getId()); return $this->render( - 'WallabagCoreBundle:Entry:entries.html.twig', [ + '@WallabagCore/Entry/entries.html.twig', [ 'form' => $form->createView(), 'entries' => $entries, 'currentPage' => $page, diff --git a/src/Wallabag/CoreBundle/Controller/ExceptionController.php b/src/Wallabag/CoreBundle/Controller/ExceptionController.php index 461309ea9..ffff3c85f 100644 --- a/src/Wallabag/CoreBundle/Controller/ExceptionController.php +++ b/src/Wallabag/CoreBundle/Controller/ExceptionController.php @@ -20,7 +20,7 @@ class ExceptionController extends BaseExceptionController // For error pages, try to find a template for the specific HTTP status code and format if (!$showException) { - $template = sprintf('WallabagCoreBundle:Exception:%s.%s.twig', $name, $format); + $template = sprintf('@WallabagCore/Exception/%s.%s.twig', $name, $format); if ($this->templateExists($template)) { return $template; } diff --git a/src/Wallabag/CoreBundle/Controller/IgnoreOriginInstanceRuleController.php b/src/Wallabag/CoreBundle/Controller/IgnoreOriginInstanceRuleController.php index 7cc1a59ab..23e31d993 100644 --- a/src/Wallabag/CoreBundle/Controller/IgnoreOriginInstanceRuleController.php +++ b/src/Wallabag/CoreBundle/Controller/IgnoreOriginInstanceRuleController.php @@ -24,7 +24,7 @@ class IgnoreOriginInstanceRuleController extends Controller { $rules = $this->get(IgnoreOriginInstanceRuleRepository::class)->findAll(); - return $this->render('WallabagCoreBundle:IgnoreOriginInstanceRule:index.html.twig', [ + return $this->render('@WallabagCore/IgnoreOriginInstanceRule/index.html.twig', [ 'rules' => $rules, ]); } @@ -56,7 +56,7 @@ class IgnoreOriginInstanceRuleController extends Controller return $this->redirectToRoute('ignore_origin_instance_rules_index'); } - return $this->render('WallabagCoreBundle:IgnoreOriginInstanceRule:new.html.twig', [ + return $this->render('@WallabagCore/IgnoreOriginInstanceRule/new.html.twig', [ 'rule' => $ignoreOriginInstanceRule, 'form' => $form->createView(), ]); @@ -88,7 +88,7 @@ class IgnoreOriginInstanceRuleController extends Controller return $this->redirectToRoute('ignore_origin_instance_rules_index'); } - return $this->render('WallabagCoreBundle:IgnoreOriginInstanceRule:edit.html.twig', [ + return $this->render('@WallabagCore/IgnoreOriginInstanceRule/edit.html.twig', [ 'rule' => $ignoreOriginInstanceRule, 'edit_form' => $editForm->createView(), 'delete_form' => $deleteForm->createView(), diff --git a/src/Wallabag/CoreBundle/Controller/SiteCredentialController.php b/src/Wallabag/CoreBundle/Controller/SiteCredentialController.php index cf94729da..dc442441f 100644 --- a/src/Wallabag/CoreBundle/Controller/SiteCredentialController.php +++ b/src/Wallabag/CoreBundle/Controller/SiteCredentialController.php @@ -28,7 +28,7 @@ class SiteCredentialController extends Controller $credentials = $this->get(SiteCredentialRepository::class)->findByUser($this->getUser()); - return $this->render('WallabagCoreBundle:SiteCredential:index.html.twig', [ + return $this->render('@WallabagCore/SiteCredential/index.html.twig', [ 'credentials' => $credentials, ]); } @@ -65,7 +65,7 @@ class SiteCredentialController extends Controller return $this->redirectToRoute('site_credentials_index'); } - return $this->render('WallabagCoreBundle:SiteCredential:new.html.twig', [ + return $this->render('@WallabagCore/SiteCredential/new.html.twig', [ 'credential' => $credential, 'form' => $form->createView(), ]); @@ -104,7 +104,7 @@ class SiteCredentialController extends Controller return $this->redirectToRoute('site_credentials_index'); } - return $this->render('WallabagCoreBundle:SiteCredential:edit.html.twig', [ + return $this->render('@WallabagCore/SiteCredential/edit.html.twig', [ 'credential' => $siteCredential, 'edit_form' => $editForm->createView(), 'delete_form' => $deleteForm->createView(), diff --git a/src/Wallabag/CoreBundle/Controller/TagController.php b/src/Wallabag/CoreBundle/Controller/TagController.php index c8664c94b..c7d1ef9d9 100644 --- a/src/Wallabag/CoreBundle/Controller/TagController.php +++ b/src/Wallabag/CoreBundle/Controller/TagController.php @@ -49,7 +49,7 @@ class TagController extends Controller return $this->redirect($this->generateUrl('view', ['id' => $entry->getId()])); } - return $this->render('WallabagCoreBundle:Tag:new_form.html.twig', [ + return $this->render('@WallabagCore/Tag/new_form.html.twig', [ 'form' => $form->createView(), 'entry' => $entry, ]); @@ -98,7 +98,7 @@ class TagController extends Controller $renameForms[$tag['id']] = $this->createForm(RenameTagType::class, new Tag())->createView(); } - return $this->render('WallabagCoreBundle:Tag:tags.html.twig', [ + return $this->render('@WallabagCore/Tag/tags.html.twig', [ 'tags' => $tags, 'renameForms' => $renameForms, 'nbEntriesUntagged' => $nbEntriesUntagged, @@ -135,7 +135,7 @@ class TagController extends Controller } } - return $this->render('WallabagCoreBundle:Entry:entries.html.twig', [ + return $this->render('@WallabagCore/Entry/entries.html.twig', [ 'form' => null, 'entries' => $entries, 'currentPage' => $page, diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/index.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/index.html.twig index 9faf84002..d43a33b26 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/index.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/index.html.twig @@ -1,4 +1,4 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} +{% extends "@WallabagCore/layout.html.twig" %} {% block title %}{{ 'config.page_title'|trans }}{% endblock %} diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/otp_app.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/otp_app.html.twig index 0752eab35..d34556717 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/otp_app.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Config/otp_app.html.twig @@ -1,4 +1,4 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} +{% extends "@WallabagCore/layout.html.twig" %} {% block title %}{{ 'config.page_title'|trans }} > {{ 'config.otp.page_title'|trans }}{% endblock %} diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/edit.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/edit.html.twig index e974fc694..f7c8626e3 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/edit.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/edit.html.twig @@ -1,4 +1,4 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} +{% extends "@WallabagCore/layout.html.twig" %} {% block title %}{{ 'entry.edit.page_title'|trans }}{% endblock %} diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig index 256021b74..021e2589f 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig @@ -1,4 +1,4 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} +{% extends "@WallabagCore/layout.html.twig" %} {% block head %} {{ parent() }} diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entry.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entry.html.twig index 182588b8c..bad89a0e5 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entry.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entry.html.twig @@ -1,4 +1,4 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} +{% extends "@WallabagCore/layout.html.twig" %} {% block title %}{{ entry.title|e|default('entry.default_title'|trans)|raw }} ({{ entry.domainName|removeWww }}){% endblock %} diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/new.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/new.html.twig index df397e4d3..2664647e0 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/new.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/new.html.twig @@ -1,4 +1,4 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} +{% extends "@WallabagCore/layout.html.twig" %} {% block title %}{{ 'entry.new.page_title'|trans }}{% endblock %} diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Exception/error.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Exception/error.html.twig index c6bf24810..cd75219dc 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Exception/error.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Exception/error.html.twig @@ -1,4 +1,4 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} +{% extends "@WallabagCore/layout.html.twig" %} {% block title %}{{ 'error.page_title'|trans }}{% endblock %} diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/IgnoreOriginInstanceRule/edit.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/IgnoreOriginInstanceRule/edit.html.twig index 30c2a520f..1380bb90f 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/IgnoreOriginInstanceRule/edit.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/IgnoreOriginInstanceRule/edit.html.twig @@ -1,4 +1,4 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} +{% extends "@WallabagCore/layout.html.twig" %} {% block title %}{{ 'ignore_origin_instance_rule.page_title'|trans }}{% endblock %} diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/IgnoreOriginInstanceRule/index.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/IgnoreOriginInstanceRule/index.html.twig index bf1293c76..420a3793a 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/IgnoreOriginInstanceRule/index.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/IgnoreOriginInstanceRule/index.html.twig @@ -1,4 +1,4 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} +{% extends "@WallabagCore/layout.html.twig" %} {% block title %}{{ 'ignore_origin_instance_rule.page_title'|trans }}{% endblock %} diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/IgnoreOriginInstanceRule/new.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/IgnoreOriginInstanceRule/new.html.twig index cb052ff05..b33e04195 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/IgnoreOriginInstanceRule/new.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/IgnoreOriginInstanceRule/new.html.twig @@ -1,4 +1,4 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} +{% extends "@WallabagCore/layout.html.twig" %} {% block title %}{{ 'ignore_origin_instance_rule.page_title'|trans }}{% endblock %} diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/SiteCredential/edit.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/SiteCredential/edit.html.twig index 882be430f..cd9352c07 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/SiteCredential/edit.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/SiteCredential/edit.html.twig @@ -1,4 +1,4 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} +{% extends "@WallabagCore/layout.html.twig" %} {% block title %}{{ 'site_credential.page_title'|trans }}{% endblock %} diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/SiteCredential/index.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/SiteCredential/index.html.twig index 15f215fc2..f3925f47e 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/SiteCredential/index.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/SiteCredential/index.html.twig @@ -1,4 +1,4 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} +{% extends "@WallabagCore/layout.html.twig" %} {% block title %}{{ 'site_credential.page_title'|trans }}{% endblock %} diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/SiteCredential/new.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/SiteCredential/new.html.twig index 3c008cdec..5d2db1653 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/SiteCredential/new.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/SiteCredential/new.html.twig @@ -1,4 +1,4 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} +{% extends "@WallabagCore/layout.html.twig" %} {% block title %}{{ 'site_credential.page_title'|trans }}{% endblock %} diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Tag/tags.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Tag/tags.html.twig index 93598115e..be072f4aa 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Tag/tags.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Tag/tags.html.twig @@ -1,4 +1,4 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} +{% extends "@WallabagCore/layout.html.twig" %} {% block title %}{{ 'tag.page_title'|trans }}{% endblock %} diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/layout.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/layout.html.twig index 8c2d8d1a8..945b3fe09 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/layout.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/layout.html.twig @@ -1,4 +1,4 @@ -{% extends "WallabagCoreBundle::base.html.twig" %} +{% extends "@WallabagCore/base.html.twig" %} {% block css %} {{ parent() }} diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/common/Developer/client.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/common/Developer/client.html.twig index 8a5da71a9..2911f6a4e 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/common/Developer/client.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/common/Developer/client.html.twig @@ -1,4 +1,4 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} +{% extends "@WallabagCore/layout.html.twig" %} {% block title %}{{ 'developer.client.page_title'|trans }}{% endblock %} diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/common/Developer/client_parameters.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/common/Developer/client_parameters.html.twig index 3a3ba0c97..59412a708 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/common/Developer/client_parameters.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/common/Developer/client_parameters.html.twig @@ -1,4 +1,4 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} +{% extends "@WallabagCore/layout.html.twig" %} {% block title %}{{ 'developer.client_parameter.page_title'|trans }}{% endblock %} diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/common/Developer/howto_app.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/common/Developer/howto_app.html.twig index dcadfa49a..0f40b7914 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/common/Developer/howto_app.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/common/Developer/howto_app.html.twig @@ -1,4 +1,4 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} +{% extends "@WallabagCore/layout.html.twig" %} {% block title %}{{ 'developer.howto.page_title'|trans }}{% endblock %} diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/common/Developer/index.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/common/Developer/index.html.twig index 1494f0f5c..1dac14653 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/common/Developer/index.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/common/Developer/index.html.twig @@ -1,4 +1,4 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} +{% extends "@WallabagCore/layout.html.twig" %} {% block title %}{{ 'developer.page_title'|trans }}{% endblock %} diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/common/Static/about.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/common/Static/about.html.twig index a043cd281..7cac797b1 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/common/Static/about.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/common/Static/about.html.twig @@ -1,4 +1,4 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} +{% extends "@WallabagCore/layout.html.twig" %} {% block title %}{{ 'about.page_title'|trans }}{% endblock %} diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/common/Static/howto.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/common/Static/howto.html.twig index fbd2755a3..eddd2f449 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/common/Static/howto.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/common/Static/howto.html.twig @@ -1,4 +1,4 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} +{% extends "@WallabagCore/layout.html.twig" %} {% block title %}{{ 'howto.page_title'|trans }}{% endblock %} diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/common/Static/quickstart.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/common/Static/quickstart.html.twig index 521b3eea6..151993bfd 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/common/Static/quickstart.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/common/Static/quickstart.html.twig @@ -1,4 +1,4 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} +{% extends "@WallabagCore/layout.html.twig" %} {% block title %}{{ 'quickstart.page_title'|trans }}{% endblock %} diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig index 61b80fb11..978e2f106 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig @@ -1,4 +1,4 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} +{% extends "@WallabagCore/layout.html.twig" %} {% block title %}{{ 'config.page_title'|trans }}{% endblock %} diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Config/otp_app.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Config/otp_app.html.twig index b3879e304..3beaf241f 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Config/otp_app.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Config/otp_app.html.twig @@ -1,4 +1,4 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} +{% extends "@WallabagCore/layout.html.twig" %} {% block title %}{{ 'config.page_title'|trans }} > {{ 'config.otp.page_title'|trans }}{% endblock %} diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/edit.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/edit.html.twig index ed225957c..a775d7107 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/edit.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/edit.html.twig @@ -1,4 +1,4 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} +{% extends "@WallabagCore/layout.html.twig" %} {% block title %}{{ 'entry.edit.page_title'|trans }}{% endblock %} diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig index 1925833ba..a6b6557c8 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig @@ -1,4 +1,4 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} +{% extends "@WallabagCore/layout.html.twig" %} {% block head %} {{ parent() }} diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig index bfb02bb09..e9eea8694 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig @@ -1,4 +1,4 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} +{% extends "@WallabagCore/layout.html.twig" %} {% block title %}{{ entry.title|striptags|default('entry.default_title'|trans)|raw }} ({{ entry.domainName|removeWww }}){% endblock %} diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/new.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/new.html.twig index df397e4d3..2664647e0 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/new.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/new.html.twig @@ -1,4 +1,4 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} +{% extends "@WallabagCore/layout.html.twig" %} {% block title %}{{ 'entry.new.page_title'|trans }}{% endblock %} diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Exception/error.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Exception/error.html.twig index 96df50393..3155e0057 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Exception/error.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Exception/error.html.twig @@ -1,4 +1,4 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} +{% extends "@WallabagCore/layout.html.twig" %} {% block title %}{{ 'error.page_title'|trans }}{% endblock %} diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/IgnoreOriginInstanceRule/edit.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/IgnoreOriginInstanceRule/edit.html.twig index 30c2a520f..1380bb90f 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/IgnoreOriginInstanceRule/edit.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/IgnoreOriginInstanceRule/edit.html.twig @@ -1,4 +1,4 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} +{% extends "@WallabagCore/layout.html.twig" %} {% block title %}{{ 'ignore_origin_instance_rule.page_title'|trans }}{% endblock %} diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/IgnoreOriginInstanceRule/index.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/IgnoreOriginInstanceRule/index.html.twig index bf1293c76..420a3793a 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/IgnoreOriginInstanceRule/index.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/IgnoreOriginInstanceRule/index.html.twig @@ -1,4 +1,4 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} +{% extends "@WallabagCore/layout.html.twig" %} {% block title %}{{ 'ignore_origin_instance_rule.page_title'|trans }}{% endblock %} diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/IgnoreOriginInstanceRule/new.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/IgnoreOriginInstanceRule/new.html.twig index cb052ff05..b33e04195 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/IgnoreOriginInstanceRule/new.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/IgnoreOriginInstanceRule/new.html.twig @@ -1,4 +1,4 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} +{% extends "@WallabagCore/layout.html.twig" %} {% block title %}{{ 'ignore_origin_instance_rule.page_title'|trans }}{% endblock %} diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/SiteCredential/edit.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/SiteCredential/edit.html.twig index 882be430f..cd9352c07 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/SiteCredential/edit.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/SiteCredential/edit.html.twig @@ -1,4 +1,4 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} +{% extends "@WallabagCore/layout.html.twig" %} {% block title %}{{ 'site_credential.page_title'|trans }}{% endblock %} diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/SiteCredential/index.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/SiteCredential/index.html.twig index 15f215fc2..f3925f47e 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/SiteCredential/index.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/SiteCredential/index.html.twig @@ -1,4 +1,4 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} +{% extends "@WallabagCore/layout.html.twig" %} {% block title %}{{ 'site_credential.page_title'|trans }}{% endblock %} diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/SiteCredential/new.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/SiteCredential/new.html.twig index 3c008cdec..5d2db1653 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/SiteCredential/new.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/SiteCredential/new.html.twig @@ -1,4 +1,4 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} +{% extends "@WallabagCore/layout.html.twig" %} {% block title %}{{ 'site_credential.page_title'|trans }}{% endblock %} diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Tag/tags.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Tag/tags.html.twig index 0609187c5..880461b2f 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Tag/tags.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Tag/tags.html.twig @@ -1,4 +1,4 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} +{% extends "@WallabagCore/layout.html.twig" %} {% block title %}{{ 'tag.page_title'|trans }}{% endblock %} diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig index 7229f0cff..50bd02dac 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig @@ -1,4 +1,4 @@ -{% extends "WallabagCoreBundle::base.html.twig" %} +{% extends "@WallabagCore/base.html.twig" %} {% block css %} {{ parent() }} diff --git a/src/Wallabag/ImportBundle/Controller/ChromeController.php b/src/Wallabag/ImportBundle/Controller/ChromeController.php index 453edb55a..213728356 100644 --- a/src/Wallabag/ImportBundle/Controller/ChromeController.php +++ b/src/Wallabag/ImportBundle/Controller/ChromeController.php @@ -37,6 +37,6 @@ class ChromeController extends BrowserController */ protected function getImportTemplate() { - return 'WallabagImportBundle:Chrome:index.html.twig'; + return '@WallabagImport/Chrome/index.html.twig'; } } diff --git a/src/Wallabag/ImportBundle/Controller/DeliciousController.php b/src/Wallabag/ImportBundle/Controller/DeliciousController.php index b601baeeb..79247b5c0 100644 --- a/src/Wallabag/ImportBundle/Controller/DeliciousController.php +++ b/src/Wallabag/ImportBundle/Controller/DeliciousController.php @@ -70,7 +70,7 @@ class DeliciousController extends Controller ); } - return $this->render('WallabagImportBundle:Delicious:index.html.twig', [ + return $this->render('@WallabagImport/Delicious/index.html.twig', [ 'form' => $form->createView(), 'import' => $delicious, ]); diff --git a/src/Wallabag/ImportBundle/Controller/ElcuratorController.php b/src/Wallabag/ImportBundle/Controller/ElcuratorController.php index 6c2e727ae..5048d65e4 100644 --- a/src/Wallabag/ImportBundle/Controller/ElcuratorController.php +++ b/src/Wallabag/ImportBundle/Controller/ElcuratorController.php @@ -37,6 +37,6 @@ class ElcuratorController extends WallabagController */ protected function getImportTemplate() { - return 'WallabagImportBundle:Elcurator:index.html.twig'; + return '@WallabagImport/Elcurator/index.html.twig'; } } diff --git a/src/Wallabag/ImportBundle/Controller/FirefoxController.php b/src/Wallabag/ImportBundle/Controller/FirefoxController.php index a2cdc2307..4cf93ed2f 100644 --- a/src/Wallabag/ImportBundle/Controller/FirefoxController.php +++ b/src/Wallabag/ImportBundle/Controller/FirefoxController.php @@ -37,6 +37,6 @@ class FirefoxController extends BrowserController */ protected function getImportTemplate() { - return 'WallabagImportBundle:Firefox:index.html.twig'; + return '@WallabagImport/Firefox/index.html.twig'; } } diff --git a/src/Wallabag/ImportBundle/Controller/ImportController.php b/src/Wallabag/ImportBundle/Controller/ImportController.php index e823be519..dabe6b76a 100644 --- a/src/Wallabag/ImportBundle/Controller/ImportController.php +++ b/src/Wallabag/ImportBundle/Controller/ImportController.php @@ -14,7 +14,7 @@ class ImportController extends Controller */ public function importAction() { - return $this->render('WallabagImportBundle:Import:index.html.twig', [ + return $this->render('@WallabagImport/Import/index.html.twig', [ 'imports' => $this->get(ImportChain::class)->getAll(), ]); } @@ -31,7 +31,7 @@ class ImportController extends Controller $rabbitNotInstalled = false; if (!$this->get('security.authorization_checker')->isGranted('ROLE_SUPER_ADMIN')) { - return $this->render('WallabagImportBundle:Import:check_queue.html.twig'); + return $this->render('@WallabagImport/Import/check_queue.html.twig'); } if ($this->get('craue_config')->get('import_with_rabbitmq')) { @@ -71,7 +71,7 @@ class ImportController extends Controller } } - return $this->render('WallabagImportBundle:Import:check_queue.html.twig', [ + return $this->render('@WallabagImport/Import/check_queue.html.twig', [ 'nbRedisMessages' => $nbRedisMessages, 'nbRabbitMessages' => $nbRabbitMessages, 'redisNotInstalled' => $redisNotInstalled, diff --git a/src/Wallabag/ImportBundle/Controller/InstapaperController.php b/src/Wallabag/ImportBundle/Controller/InstapaperController.php index a92693169..9c9cede65 100644 --- a/src/Wallabag/ImportBundle/Controller/InstapaperController.php +++ b/src/Wallabag/ImportBundle/Controller/InstapaperController.php @@ -70,7 +70,7 @@ class InstapaperController extends Controller ); } - return $this->render('WallabagImportBundle:Instapaper:index.html.twig', [ + return $this->render('@WallabagImport/Instapaper/index.html.twig', [ 'form' => $form->createView(), 'import' => $instapaper, ]); diff --git a/src/Wallabag/ImportBundle/Controller/PinboardController.php b/src/Wallabag/ImportBundle/Controller/PinboardController.php index f9d21b50e..c639f387a 100644 --- a/src/Wallabag/ImportBundle/Controller/PinboardController.php +++ b/src/Wallabag/ImportBundle/Controller/PinboardController.php @@ -70,7 +70,7 @@ class PinboardController extends Controller ); } - return $this->render('WallabagImportBundle:Pinboard:index.html.twig', [ + return $this->render('@WallabagImport/Pinboard/index.html.twig', [ 'form' => $form->createView(), 'import' => $pinboard, ]); diff --git a/src/Wallabag/ImportBundle/Controller/PocketController.php b/src/Wallabag/ImportBundle/Controller/PocketController.php index 571dd09b7..7158f5021 100644 --- a/src/Wallabag/ImportBundle/Controller/PocketController.php +++ b/src/Wallabag/ImportBundle/Controller/PocketController.php @@ -24,7 +24,7 @@ class PocketController extends Controller ]) ->getForm(); - return $this->render('WallabagImportBundle:Pocket:index.html.twig', [ + return $this->render('@WallabagImport/Pocket/index.html.twig', [ 'import' => $this->getPocketImportService(), 'has_consumer_key' => '' === trim($this->getUser()->getConfig()->getPocketConsumerKey()) ? false : true, 'form' => $form->createView(), diff --git a/src/Wallabag/ImportBundle/Controller/ReadabilityController.php b/src/Wallabag/ImportBundle/Controller/ReadabilityController.php index c0fd49686..d8b343ae2 100644 --- a/src/Wallabag/ImportBundle/Controller/ReadabilityController.php +++ b/src/Wallabag/ImportBundle/Controller/ReadabilityController.php @@ -70,7 +70,7 @@ class ReadabilityController extends Controller ); } - return $this->render('WallabagImportBundle:Readability:index.html.twig', [ + return $this->render('@WallabagImport/Readability/index.html.twig', [ 'form' => $form->createView(), 'import' => $readability, ]); diff --git a/src/Wallabag/ImportBundle/Controller/WallabagV1Controller.php b/src/Wallabag/ImportBundle/Controller/WallabagV1Controller.php index 51e63b988..ddca2175a 100644 --- a/src/Wallabag/ImportBundle/Controller/WallabagV1Controller.php +++ b/src/Wallabag/ImportBundle/Controller/WallabagV1Controller.php @@ -37,6 +37,6 @@ class WallabagV1Controller extends WallabagController */ protected function getImportTemplate() { - return 'WallabagImportBundle:WallabagV1:index.html.twig'; + return '@WallabagImport/WallabagV1/index.html.twig'; } } diff --git a/src/Wallabag/ImportBundle/Controller/WallabagV2Controller.php b/src/Wallabag/ImportBundle/Controller/WallabagV2Controller.php index 139fe681b..14896fa33 100644 --- a/src/Wallabag/ImportBundle/Controller/WallabagV2Controller.php +++ b/src/Wallabag/ImportBundle/Controller/WallabagV2Controller.php @@ -37,6 +37,6 @@ class WallabagV2Controller extends WallabagController */ protected function getImportTemplate() { - return 'WallabagImportBundle:WallabagV2:index.html.twig'; + return '@WallabagImport/WallabagV2/index.html.twig'; } } diff --git a/src/Wallabag/ImportBundle/Resources/views/Chrome/index.html.twig b/src/Wallabag/ImportBundle/Resources/views/Chrome/index.html.twig index 355a375fb..331251046 100644 --- a/src/Wallabag/ImportBundle/Resources/views/Chrome/index.html.twig +++ b/src/Wallabag/ImportBundle/Resources/views/Chrome/index.html.twig @@ -1,4 +1,4 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} +{% extends "@WallabagCore/layout.html.twig" %} {% block title %}{{ 'import.chrome.page_title'|trans }}{% endblock %} @@ -6,7 +6,7 @@
- {% include 'WallabagImportBundle:Import:_information.html.twig' %} + {% include '@WallabagImport/Import/_information.html.twig' %}
{{ import.description|trans|raw }}
diff --git a/src/Wallabag/ImportBundle/Resources/views/Delicious/index.html.twig b/src/Wallabag/ImportBundle/Resources/views/Delicious/index.html.twig index ae24313b0..8e5741c45 100644 --- a/src/Wallabag/ImportBundle/Resources/views/Delicious/index.html.twig +++ b/src/Wallabag/ImportBundle/Resources/views/Delicious/index.html.twig @@ -1,4 +1,4 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} +{% extends "@WallabagCore/layout.html.twig" %} {% block title %}{{ 'import.delicious.page_title'|trans }}{% endblock %} @@ -6,7 +6,7 @@
- {% include 'WallabagImportBundle:Import:_information.html.twig' %} + {% include '@WallabagImport/Import/_information.html.twig' %}
{{ import.description|trans }}
diff --git a/src/Wallabag/ImportBundle/Resources/views/Elcurator/index.html.twig b/src/Wallabag/ImportBundle/Resources/views/Elcurator/index.html.twig index e3a0d709f..2d950c95c 100644 --- a/src/Wallabag/ImportBundle/Resources/views/Elcurator/index.html.twig +++ b/src/Wallabag/ImportBundle/Resources/views/Elcurator/index.html.twig @@ -1,3 +1,3 @@ -{% extends "WallabagImportBundle:WallabagV1:index.html.twig" %} +{% extends "@WallabagImport/WallabagV1/index.html.twig" %} {% block title %}{{ 'import.elcurator.page_title'|trans }}{% endblock %} diff --git a/src/Wallabag/ImportBundle/Resources/views/Firefox/index.html.twig b/src/Wallabag/ImportBundle/Resources/views/Firefox/index.html.twig index e115395c1..e262da8a6 100644 --- a/src/Wallabag/ImportBundle/Resources/views/Firefox/index.html.twig +++ b/src/Wallabag/ImportBundle/Resources/views/Firefox/index.html.twig @@ -1,4 +1,4 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} +{% extends "@WallabagCore/layout.html.twig" %} {% block title %}{{ 'import.firefox.page_title'|trans }}{% endblock %} @@ -6,7 +6,7 @@
- {% include 'WallabagImportBundle:Import:_information.html.twig' %} + {% include '@WallabagImport/Import/_information.html.twig' %}
{{ import.description|trans|raw }}
diff --git a/src/Wallabag/ImportBundle/Resources/views/Import/index.html.twig b/src/Wallabag/ImportBundle/Resources/views/Import/index.html.twig index b79a1470b..ee26c84de 100644 --- a/src/Wallabag/ImportBundle/Resources/views/Import/index.html.twig +++ b/src/Wallabag/ImportBundle/Resources/views/Import/index.html.twig @@ -1,4 +1,4 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} +{% extends "@WallabagCore/layout.html.twig" %} {% block title %}{{ 'import.page_title'|trans }}{% endblock %} @@ -12,7 +12,7 @@
- {% include 'WallabagImportBundle:Import:_information.html.twig' %} + {% include '@WallabagImport/Import/_information.html.twig' %} {{ 'import.page_description'|trans }}
    diff --git a/src/Wallabag/ImportBundle/Resources/views/Instapaper/index.html.twig b/src/Wallabag/ImportBundle/Resources/views/Instapaper/index.html.twig index 5cf06e8dc..38f5eeda6 100644 --- a/src/Wallabag/ImportBundle/Resources/views/Instapaper/index.html.twig +++ b/src/Wallabag/ImportBundle/Resources/views/Instapaper/index.html.twig @@ -1,4 +1,4 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} +{% extends "@WallabagCore/layout.html.twig" %} {% block title %}{{ 'import.instapaper.page_title'|trans }}{% endblock %} @@ -6,7 +6,7 @@
    - {% include 'WallabagImportBundle:Import:_information.html.twig' %} + {% include '@WallabagImport/Import/_information.html.twig' %}
    {{ import.description|trans }}
    diff --git a/src/Wallabag/ImportBundle/Resources/views/Pinboard/index.html.twig b/src/Wallabag/ImportBundle/Resources/views/Pinboard/index.html.twig index ed4a0cbbd..9c79e088c 100644 --- a/src/Wallabag/ImportBundle/Resources/views/Pinboard/index.html.twig +++ b/src/Wallabag/ImportBundle/Resources/views/Pinboard/index.html.twig @@ -1,4 +1,4 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} +{% extends "@WallabagCore/layout.html.twig" %} {% block title %}{{ 'import.pinboard.page_title'|trans }}{% endblock %} @@ -6,7 +6,7 @@
    - {% include 'WallabagImportBundle:Import:_information.html.twig' %} + {% include '@WallabagImport/Import/_information.html.twig' %}
    {{ import.description|trans }}
    diff --git a/src/Wallabag/ImportBundle/Resources/views/Pocket/index.html.twig b/src/Wallabag/ImportBundle/Resources/views/Pocket/index.html.twig index c9bb61293..781b873e1 100644 --- a/src/Wallabag/ImportBundle/Resources/views/Pocket/index.html.twig +++ b/src/Wallabag/ImportBundle/Resources/views/Pocket/index.html.twig @@ -1,4 +1,4 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} +{% extends "@WallabagCore/layout.html.twig" %} {% block title %}{{ 'import.pocket.page_title'|trans }}{% endblock %} @@ -6,7 +6,7 @@
    - {% include 'WallabagImportBundle:Import:_information.html.twig' %} + {% include '@WallabagImport/Import/_information.html.twig' %} {% if not has_consumer_key %}
    diff --git a/src/Wallabag/ImportBundle/Resources/views/Readability/index.html.twig b/src/Wallabag/ImportBundle/Resources/views/Readability/index.html.twig index df30305eb..70eceb103 100644 --- a/src/Wallabag/ImportBundle/Resources/views/Readability/index.html.twig +++ b/src/Wallabag/ImportBundle/Resources/views/Readability/index.html.twig @@ -1,4 +1,4 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} +{% extends "@WallabagCore/layout.html.twig" %} {% block title %}{{ 'import.readability.page_title'|trans }}{% endblock %} @@ -6,7 +6,7 @@
    - {% include 'WallabagImportBundle:Import:_information.html.twig' %} + {% include '@WallabagImport/Import/_information.html.twig' %}
    {{ import.description|trans }}
    diff --git a/src/Wallabag/ImportBundle/Resources/views/WallabagV1/index.html.twig b/src/Wallabag/ImportBundle/Resources/views/WallabagV1/index.html.twig index 30639d65b..6e0598afa 100644 --- a/src/Wallabag/ImportBundle/Resources/views/WallabagV1/index.html.twig +++ b/src/Wallabag/ImportBundle/Resources/views/WallabagV1/index.html.twig @@ -1,4 +1,4 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} +{% extends "@WallabagCore/layout.html.twig" %} {% block title %}{{ 'import.wallabag_v1.page_title'|trans }}{% endblock %} @@ -6,7 +6,7 @@
    - {% include 'WallabagImportBundle:Import:_information.html.twig' %} + {% include '@WallabagImport/Import/_information.html.twig' %}
    {{ import.description|trans }}
    diff --git a/src/Wallabag/ImportBundle/Resources/views/WallabagV2/index.html.twig b/src/Wallabag/ImportBundle/Resources/views/WallabagV2/index.html.twig index c2905fc64..2521578c8 100644 --- a/src/Wallabag/ImportBundle/Resources/views/WallabagV2/index.html.twig +++ b/src/Wallabag/ImportBundle/Resources/views/WallabagV2/index.html.twig @@ -1,3 +1,3 @@ -{% extends "WallabagImportBundle:WallabagV1:index.html.twig" %} +{% extends "@WallabagImport/WallabagV1/index.html.twig" %} {% block title %}{{ 'import.wallabag_v2.page_title'|trans }}{% endblock %} diff --git a/src/Wallabag/UserBundle/Controller/ManageController.php b/src/Wallabag/UserBundle/Controller/ManageController.php index 353950667..ecc646a81 100644 --- a/src/Wallabag/UserBundle/Controller/ManageController.php +++ b/src/Wallabag/UserBundle/Controller/ManageController.php @@ -49,7 +49,7 @@ class ManageController extends Controller return $this->redirectToRoute('user_edit', ['id' => $user->getId()]); } - return $this->render('WallabagUserBundle:Manage:new.html.twig', [ + return $this->render('@WallabagUser/Manage/new.html.twig', [ 'user' => $user, 'form' => $form->createView(), ]); @@ -94,7 +94,7 @@ class ManageController extends Controller return $this->redirectToRoute('user_edit', ['id' => $user->getId()]); } - return $this->render('WallabagUserBundle:Manage:edit.html.twig', [ + return $this->render('@WallabagUser/Manage/edit.html.twig', [ 'user' => $user, 'edit_form' => $form->createView(), 'delete_form' => $deleteForm->createView(), @@ -162,7 +162,7 @@ class ManageController extends Controller } } - return $this->render('WallabagUserBundle:Manage:index.html.twig', [ + return $this->render('@WallabagUser/Manage/index.html.twig', [ 'searchForm' => $form->createView(), 'users' => $pagerFanta, ]); diff --git a/src/Wallabag/UserBundle/Mailer/AuthCodeMailer.php b/src/Wallabag/UserBundle/Mailer/AuthCodeMailer.php index 4eea444f2..829e56e5e 100644 --- a/src/Wallabag/UserBundle/Mailer/AuthCodeMailer.php +++ b/src/Wallabag/UserBundle/Mailer/AuthCodeMailer.php @@ -77,7 +77,7 @@ class AuthCodeMailer implements AuthCodeMailerInterface */ public function sendAuthCode(TwoFactorInterface $user): void { - $template = $this->twig->loadTemplate('WallabagUserBundle:TwoFactor:email_auth_code.html.twig'); + $template = $this->twig->loadTemplate('@WallabagUser/TwoFactor/email_auth_code.html.twig'); $subject = $template->renderBlock('subject', []); $bodyHtml = $template->renderBlock('body_html', [ diff --git a/src/Wallabag/UserBundle/Resources/views/Authentication/form.html.twig b/src/Wallabag/UserBundle/Resources/views/Authentication/form.html.twig index 5f6db076a..e3d1f2f6a 100644 --- a/src/Wallabag/UserBundle/Resources/views/Authentication/form.html.twig +++ b/src/Wallabag/UserBundle/Resources/views/Authentication/form.html.twig @@ -1,5 +1,5 @@ {# Override `vendor/scheb/two-factor-bundle/Resources/views/Authentication/form.html.twig` #} -{% extends "FOSUserBundle::layout.html.twig" %} +{% extends "@FOSUser/layout.html.twig" %} {% block fos_user_content %} diff --git a/src/Wallabag/UserBundle/Resources/views/Manage/edit.html.twig b/src/Wallabag/UserBundle/Resources/views/Manage/edit.html.twig index 2de8f3a55..f32dd3df2 100644 --- a/src/Wallabag/UserBundle/Resources/views/Manage/edit.html.twig +++ b/src/Wallabag/UserBundle/Resources/views/Manage/edit.html.twig @@ -1,4 +1,4 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} +{% extends "@WallabagCore/layout.html.twig" %} {% block title %}{{ 'user.page_title'|trans }}{% endblock %} diff --git a/src/Wallabag/UserBundle/Resources/views/Manage/index.html.twig b/src/Wallabag/UserBundle/Resources/views/Manage/index.html.twig index aadbb0d31..fcf1907d3 100644 --- a/src/Wallabag/UserBundle/Resources/views/Manage/index.html.twig +++ b/src/Wallabag/UserBundle/Resources/views/Manage/index.html.twig @@ -1,4 +1,4 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} +{% extends "@WallabagCore/layout.html.twig" %} {% block title %}{{ 'user.page_title'|trans }}{% endblock %} diff --git a/src/Wallabag/UserBundle/Resources/views/Manage/new.html.twig b/src/Wallabag/UserBundle/Resources/views/Manage/new.html.twig index 8c894c040..5915e8d3b 100644 --- a/src/Wallabag/UserBundle/Resources/views/Manage/new.html.twig +++ b/src/Wallabag/UserBundle/Resources/views/Manage/new.html.twig @@ -1,4 +1,4 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} +{% extends "@WallabagCore/layout.html.twig" %} {% block title %}{{ 'user.page_title'|trans }}{% endblock %} diff --git a/src/Wallabag/UserBundle/Resources/views/Resetting/passwordAlreadyRequested.html.twig b/src/Wallabag/UserBundle/Resources/views/Resetting/passwordAlreadyRequested.html.twig index 1e2453727..81f933dee 100644 --- a/src/Wallabag/UserBundle/Resources/views/Resetting/passwordAlreadyRequested.html.twig +++ b/src/Wallabag/UserBundle/Resources/views/Resetting/passwordAlreadyRequested.html.twig @@ -1,4 +1,4 @@ -{% extends "FOSUserBundle::layout.html.twig" %} +{% extends "@FOSUser/layout.html.twig" %} {% trans_default_domain 'FOSUserBundle' %} diff --git a/src/Wallabag/UserBundle/Resources/views/manage.html.twig b/src/Wallabag/UserBundle/Resources/views/manage.html.twig index c614c55fd..981e19aaa 100644 --- a/src/Wallabag/UserBundle/Resources/views/manage.html.twig +++ b/src/Wallabag/UserBundle/Resources/views/manage.html.twig @@ -1,4 +1,4 @@ -{% extends "WallabagCoreBundle::layout.html.twig" %} +{% extends "@WallabagCore/layout.html.twig" %} {% block title %}{{ 'user.manage.page_title'|trans }}{% endblock %} diff --git a/tests/Wallabag/UserBundle/Mailer/AuthCodeMailerTest.php b/tests/Wallabag/UserBundle/Mailer/AuthCodeMailerTest.php index 90248df8f..e1a30749b 100644 --- a/tests/Wallabag/UserBundle/Mailer/AuthCodeMailerTest.php +++ b/tests/Wallabag/UserBundle/Mailer/AuthCodeMailerTest.php @@ -29,7 +29,7 @@ class AuthCodeMailerTest extends TestCase {% block body_text %}text body {{ support_url }}{% endblock %} TWIG; - $this->twig = new Environment(new ArrayLoader(['WallabagUserBundle:TwoFactor:email_auth_code.html.twig' => $twigTemplate])); + $this->twig = new Environment(new ArrayLoader(['@WallabagUser/TwoFactor/email_auth_code.html.twig' => $twigTemplate])); } public function testSendEmail()