]> Raphaƫl G. Git Repositories - treebundle/blobdiff - Resources/views/base.html.twig
Add directory and document routes
[treebundle] / Resources / views / base.html.twig
index 6fae26c9b49bc81df7d1addd37bdf6c5e07582f4..2c4e8ccd494ffd8fe7c959f9ed4a0e21abff2cd1 100644 (file)
@@ -71,6 +71,9 @@
                                                <nav id="nav">
                                                        {#<h2>{% trans %}Navigation{% endtrans %}</h2>#}
                                                        <a href="{{ path('rapsystree') }}" rel="home">{% trans %}Home{% endtrans %}</a>
                                                <nav id="nav">
                                                        {#<h2>{% trans %}Navigation{% endtrans %}</h2>#}
                                                        <a href="{{ path('rapsystree') }}" rel="home">{% trans %}Home{% endtrans %}</a>
+                                                       {% for id, path in roots %}
+                                                               <a href="{{ path('rapsystree_directory', {path: id}) }}">{{ id }}</a>
+                                                       {% endfor %}
                                                        {#
                                                        <a href="{{ path('rapsysair_contact') }}" rel="contact">{% trans %}Contact{% endtrans %}</a>
                                                        <a href="{{ path('rapsysair_frequently_asked_questions') }}">{% trans %}Frequently asked questions{% endtrans %}</a>
                                                        {#
                                                        <a href="{{ path('rapsysair_contact') }}" rel="contact">{% trans %}Contact{% endtrans %}</a>
                                                        <a href="{{ path('rapsysair_frequently_asked_questions') }}">{% trans %}Frequently asked questions{% endtrans %}</a>