Optimized for SPA

This commit is contained in:
Kevin Frantz
2019-01-05 23:52:37 +01:00
parent 9e685260e9
commit bccd6efaff
393 changed files with 253 additions and 37 deletions

View File

@@ -0,0 +1 @@
{{ source.name }}

View File

@@ -0,0 +1 @@
{% include "source/view/content/name." ~ app.request.requestFormat ~ ".twig" with {'source':source.nameSource}%}

View File

@@ -0,0 +1,5 @@
{% extends "source/view/source.html.twig" %}
{% block content %}
<h1>{% trans %} Name {% endtrans %}</h1>
{% include "source/view/content/name." ~ app.request.requestFormat ~ ".twig" %}
{% endblock %}

View File

@@ -0,0 +1,7 @@
{% extends "source/source.html.twig" %}
{% block title %}
{% trans %}
Source
{% endtrans %}
#{{ source.id }}
{% endblock %}

View File

@@ -0,0 +1,5 @@
{% extends "source/view/source.html.twig" %}
{% block content %}
<h1>{% trans %} User {% endtrans %}</h1>
{% include "source/view/content/user." ~ app.request.requestFormat ~ ".twig" %}
{% endblock %}