split layout to different files to allow overriding

This commit is contained in:
Julien Fastré 2018-09-07 16:26:08 +02:00
parent b9a7314975
commit f571250296
2 changed files with 5 additions and 4 deletions

View File

@ -0,0 +1,4 @@
<footer class="footer">
<p>{{ 'This program is free software: you can redistribute it and/or modify it under the terms of the <strong>GNU Affero General Public License</strong>'|trans|raw }}
<br/> <a href="https://{{ app.request.locale }}.wikibooks.org/wiki/Chill">{{ 'User manual'|trans }}</a></p>
</footer>

View File

@ -140,10 +140,7 @@
{% endblock %} {% endblock %}
</div> </div>
<footer class="footer"> {{ include('@ChillMain/Layout/_footer.html.twig') }}
<p>{{ 'This program is free software: you can redistribute it and/or modify it under the terms of the <strong>GNU Affero General Public License</strong>'|trans|raw }}
<br/> <a href="https://{{ app.request.locale }}.wikibooks.org/wiki/Chill">{{ 'User manual'|trans }}</a></p>
</footer>
<script type="text/javascript" src="{{ asset('build/chill.js') }}"></script> <script type="text/javascript" src="{{ asset('build/chill.js') }}"></script>