diff --git a/Controller/ConfigController.php b/Controller/ConfigController.php index 03aa461..0a2f384 100644 --- a/Controller/ConfigController.php +++ b/Controller/ConfigController.php @@ -28,8 +28,8 @@ class ConfigController extends AbstractController { /** * @Route("/settings/{method}") + * @Template("@ZikulaOAuthModule/Config/settings.html.twig") * @Theme("admin") - * @Template("ZikulaOAuthModule:Config:settings.html.twig") * * @throws AccessDeniedException */ diff --git a/Controller/MappingController.php b/Controller/MappingController.php index af8343f..0dcb755 100644 --- a/Controller/MappingController.php +++ b/Controller/MappingController.php @@ -27,7 +27,7 @@ class MappingController extends AbstractController { /** * @Route("/list") - * @Template("ZikulaOAuthModule:Mapping:list.html.twig") + * @Template("@ZikulaOAuthModule/Mapping/list.html.twig") * @Theme("admin") * * @throws AccessDeniedException diff --git a/Resources/views/Config/settings.html.twig b/Resources/views/Config/settings.html.twig index 3e36459..6a4031f 100644 --- a/Resources/views/Config/settings.html.twig +++ b/Resources/views/Config/settings.html.twig @@ -1,6 +1,6 @@ {% form_theme form with [ -'ZikulaFormExtensionBundle:Form:bootstrap_3_zikula_admin_layout.html.twig', -'ZikulaFormExtensionBundle:Form:form_div_layout.html.twig' + '@ZikulaFormExtension/Form/bootstrap_3_zikula_admin_layout.html.twig', + '@ZikulaFormExtension/Form/form_div_layout.html.twig' ] %} {{ polyfill() }} {{ adminHeader() }} diff --git a/Resources/views/Mapping/list.html.twig b/Resources/views/Mapping/list.html.twig index 4816747..5a6c8a6 100644 --- a/Resources/views/Mapping/list.html.twig +++ b/Resources/views/Mapping/list.html.twig @@ -3,12 +3,25 @@

{{ __('Mappings list') }}

+ + + + + - + + + + + {% for mapping in mappings %} - + + + + + {% endfor %}
{{ __('Method') }}{{ __('MethodId') }}{{ __('ZikulaId') }}
{{ __('Method') }}{{ __('MethodId') }}{{ __('ZikulaId') }}
{{ mapping.method }}{{ mapping.methodId }}{{ mapping.zikulaId }}
{{ mapping.method }}{{ mapping.methodId }}{{ mapping.zikulaId }}