improve installation with docker and move static to _static

This commit is contained in:
2017-07-11 22:40:56 +02:00
parent 08f03a75b0
commit 4eb5f5a0c1
14 changed files with 212 additions and 159 deletions

View File

@@ -55,7 +55,7 @@ Example: if some activities must be seen and updated between nurses and psycholo
The concepts translated into code
-----------------------------------
.. figure:: /static/access_control_model.png
.. figure:: /_static/access_control_model.png
Schema of the access control model

View File

@@ -24,7 +24,7 @@ In the controller, get the :class:`Chill\Main\Pagination\PaginatorFactory` from
Then, render the pagination using the dedicated twig function.
.. code-block:: html+jinja2
.. code-block:: html+twig
{% extends "ChillPersonBundle::layout.html.twig" %}
@@ -55,7 +55,7 @@ Where does the :code:`$paginator` get the page number ?
Internally, the :code:`$paginator` object has a link to the :code:`Request` object, and it reads the :code:`page` parameter which contains the current page number. If this parameter is not present, the :code:`$paginator` assumes that we are on page 1.
.. figure:: /static/puml/pagination-sequence.png
.. figure:: /_static/puml/pagination-sequence.png
The :code:`$paginator` get the current page from the request.