forked from supportpal/frontend-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
footer_common.twig
23 lines (20 loc) · 1.07 KB
/
footer_common.twig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!-- Laravel Localisation -->
<script type="text/javascript" src="{{ asset_rev('resources/assets/general/js/lang.min.js') }}"></script>
<script type="text/javascript">
Lang.addMessages({{ translationStrings|raw }});
// Add the messages before setting the locale...
Lang.setLocale("{{ App.getLocale() }}");
</script>
<!-- Laravel Routes -->
<script type="text/javascript" src="{{ asset_rev('resources/assets/general/js/routes.min.js') }}"></script>
<script type="text/javascript">
laroute.set_absolute({{ Config.get('laroute.absolute', false) }});
laroute.set_root_url("{{ url('/') }}");
laroute.set_routes({{ routeCollection|raw }});
laroute.set_prefix('{{ Config.get('laroute.prefix', '') }}');
</script>
<!-- Vendor -->
<script type="text/javascript" src="{{ asset_rev('resources/assets/libs/common.min.js') }}"></script>
<link data-include href="{{ asset_rev('resources/assets/libs/css/common.min.css') }}" rel="stylesheet" type="text/css" property="stylesheet" />
<!-- General -->
<script src="{{ asset_rev('resources/assets/general/js/main.js') }}"></script>