diff options
author | Philip Häusler <msquare@notrademark.de> | 2014-08-23 15:59:18 +0200 |
---|---|---|
committer | Philip Häusler <msquare@notrademark.de> | 2014-08-23 15:59:18 +0200 |
commit | 6bfa410f907b0488a74206ec6c28fd52730c21af (patch) | |
tree | a377e8be98138d56ea1275a4f3bb0e4390cd795a /templates/layout.html | |
parent | 66f166399cd893d47423abb9537a01dde6aaff5d (diff) |
add moment js
Diffstat (limited to 'templates/layout.html')
-rw-r--r-- | templates/layout.html | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/templates/layout.html b/templates/layout.html index 6f5a4886..9c52843a 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -12,7 +12,8 @@ <meta name="revisit-after" content="1 days" /> <script type="text/javascript" src="vendor/jquery-2.1.1.min.js"></script> <script type="text/javascript" src="vendor/bootstrap-3.2.0/js/bootstrap.min.js"></script> -<script type="text/javascript" src="css/forms.js"></script> +<script type="text/javascript" src="js/forms.js"></script> +<script type="text/javascript" src="js/moment-with-locales.min.js"></script> <link rel="stylesheet" type="text/css" href="vendor/bootstrap-3.2.0/css/theme%theme%.css" /> <link rel="stylesheet" type="text/css" href="vendor/icomoon/style.css" /> %atom_link% @@ -36,5 +37,10 @@ </div> </div> </div> + <script type="text/javascript"> + $(function() { + moment.locale("%locale%"); + }); + </script> </body> </html> |