mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
frontent refactoring - move lighbox into phraseanet-production-client
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
{% extends "common/index.html.twig" %}
|
||||
|
||||
{% block javascript %}
|
||||
<script type="text/javascript" src="/assets/lightbox/js/lightbox-mobile{% if not app.debug %}.min{% endif %}.js"></script>
|
||||
<script type="text/javascript" src="/assets/production/commons{% if not app.debug %}.min{% endif %}.js"></script>
|
||||
<script type="text/javascript" src="/assets/production/lightbox-mobile{% if not app.debug %}.min{% endif %}.js"></script>
|
||||
{# <script type="text/javascript" src="/assets/lightbox/js/lightbox-mobile{% if not app.debug %}.min{% endif %}.js"></script>#}
|
||||
{% endblock %}
|
||||
|
||||
{% block stylesheet %}
|
||||
@@ -135,4 +137,14 @@
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<script>
|
||||
var lightboxApp = lightboxMobileApplication.bootstrap({
|
||||
lang: '{{ app.locale }}',
|
||||
baseUrl: '{{ app['request'].getUriForPath('/') }}',
|
||||
basePath: '{{ app.request.basePath|e('js') }}'
|
||||
});
|
||||
</script>
|
||||
|
||||
{% endblock %}
|
||||
|
Reference in New Issue
Block a user