view _test/Resources/TTView/Layout/default.tt @ 212:292226770180

bugfixes
author sergey
date Fri, 29 Jun 2012 19:24:15 +0400
parents 7a920771fd8e
children d357b5d85d25
line wrap: on
line source

[% view.mode = 'default' %]
<html>
    <head>
        <title>$site.name - [% document.title || template.title %]</title>
        [% IF dojo.require.size;
            modules = [];
            modules.push('"' _ item _ '"') FOREACH item IN dojo.require.unique();
        %]
        <script type="text/javascript">
            require([ [% modules.join(', ') %] ]);
        </script>
        [% END %]
    </head>
    <body>
        [% content %]
    </body>
</html>