diff --git a/Tests/Application/config/templates/articles/article.xml b/Tests/Application/config/templates/articles/article.xml index 4a5e7625..665af27c 100644 --- a/Tests/Application/config/templates/articles/article.xml +++ b/Tests/Application/config/templates/articles/article.xml @@ -5,15 +5,56 @@ article - ::article - SuluWebsiteBundle:Default:index - 2400 + templates/articles/article + Sulu\Bundle\ContentBundle\Content\UserInterface\Controller\Website\ContentController::indexAction + 604800 - + + Article + Artikel + - - - + + + Title + Titel + + + + + + + + + + + + + Resourcelocator + Adresse + + + + + + + + + Description + Beschreibung + + + + + + + + Image + Bild + + + + diff --git a/Tests/Application/templates/views/articles/article.html.twig b/Tests/Application/templates/views/articles/article.html.twig new file mode 100644 index 00000000..834b1fdc --- /dev/null +++ b/Tests/Application/templates/views/articles/article.html.twig @@ -0,0 +1,7 @@ +{% extends 'views/base.html.twig' %} + +{% block content %} +

{{ content.title }}

+ + {{ content.article|raw }} +{% endblock %} diff --git a/Tests/Application/templates/views/base.html.twig b/Tests/Application/templates/views/base.html.twig new file mode 100644 index 00000000..6aa28c6a --- /dev/null +++ b/Tests/Application/templates/views/base.html.twig @@ -0,0 +1,11 @@ + + + + + + {{ content.title }} + + + {% block content %}{% endblock %} + +