adding a link to macros

This commit is contained in:
Julien Fastré 2016-06-01 22:43:49 +02:00
parent 94f05ea5f4
commit 4d166498e5
5 changed files with 24 additions and 1 deletions

View File

@ -46,6 +46,8 @@ form.time_duration *array*
Default value: the values available are 5, 10, 15, 20, 25, 30, 45 minutes, and 1 hour, 1 hour 15, 1 hour 30, 1 hour 45 and 2 hours. Default value: the values available are 5, 10, 15, 20, 25, 30, 45 minutes, and 1 hour, 1 hour 15, 1 hour 30, 1 hour 45 and 2 hours.
.. _activity-bundle-macros:
Macros Macros
****** ******

View File

@ -22,6 +22,8 @@ Entities
.. figure:: /static/bundles/group/group_classes_uml.png .. figure:: /static/bundles/group/group_classes_uml.png
.. _group-bundle-macros:
Macros Macros
****** ******

View File

@ -23,6 +23,7 @@ This bundle provide :
this section is incomplete. this section is incomplete.
.. _main-bundle-macros:
Macros Macros
****** ******

View File

@ -113,6 +113,8 @@ person_fields *array*
.. note:: .. note::
If you hide multiple fields, for a better integration you may want to override the template, for a better appeareance. See `the symfony documentation <http://symfony.com/doc/current/book/templating.html#overriding-bundle-templates>`_ about this feature. If you hide multiple fields, for a better integration you may want to override the template, for a better appeareance. See `the symfony documentation <http://symfony.com/doc/current/book/templating.html#overriding-bundle-templates>`_ about this feature.
.. _person-bundle-macros:
Macros Macros
****** ******

View File

@ -122,4 +122,20 @@ It proposes 1 new block :
* export_content * export_content
* where to display the content of the export * where to display the content of the export
Useful template and helpers
===========================
Macros
------
Every bundle may bring their own macro to print resources with uniformized styles.
See :
- :ref:`Macros in person bundle <person-bundle-macros>` ;
- :ref:`Macros in activity bundle <activity-bundle-macros>` ;
- :ref:`Macros in group bundle <group-bundle-macros>` ;
- :ref:`Macros in main bundle <main-bundle-macros>` ;