Skip to content

Commit a8b4df8

Browse files
committed
add link faq #769
1 parent c01c5fe commit a8b4df8

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

config/packages/twig.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ twig:
44
feature_three_forms: '%feature_three_forms%'
55
platform:
66
url: '%base_url%'
7+
gitbook:
8+
faq: https://faq.stop-punaises.gouv.fr/
79

810
when@dev:
911
twig:

templates/common/header-back.html.twig

+7
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,13 @@
9393
<a class="fr-nav__link" href="{{ path('app_entreprise_list') }}" target="_self" {% if app.request.get('_route') == 'app_entreprise_list' or app.request.get('_route') == 'app_entreprise_view' %}aria-current="page"{% endif %}>Les entreprises</a>
9494
</li>
9595
{% endif %}
96+
97+
{% if gitbook is defined %}
98+
<li class="fr-nav__item">
99+
<a class="fr-nav__link" href="{{ gitbook.faq }}" target="_blank" rel="noopener"
100+
>Documentation</a>
101+
</li>
102+
{% endif %}
96103
</ul>
97104
</nav>
98105
</div>

0 commit comments

Comments
 (0)