Commit 7c97f56b authored by Roberto Toro's avatar Roberto Toro
Browse files

fix uninstantiated template variable

parent 408685d9
......@@ -5,10 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<link rel="shortcut icon" type="image/x-icon" href="/favicon.png" />
<title>{{title}}</title>
<link rel="stylesheet" type="text/css" href="/stylesheets/style.css" />
<link rel="stylesheet" type="text/css" href="/stylesheets/ui.css" />
<link href='https://fonts.googleapis.com/css?family=Roboto:100' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="https://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
</head>
<body>
......@@ -64,7 +61,7 @@
<a target="_blank" href="http://neuroanatomy.github.io">
<img src="/img/naat-bw.svg" style="width:28px;height:28px;margin-right:4px;display:inline-block;vertical-align:middle"/></a>
<a target="_blank" href="http://neuroanatomy.github.io" class="linkNoULine">
group de neuroanatomie appliquée et théorique
groupe de neuroanatomie appliquée et théorique
</a>
</p>
</div>
......
......@@ -81,6 +81,9 @@
</div>
</div>
<script>
const projectURL = '{{{projectURL}}}';
</script>
<script src="/js/project-new-page.js"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
......
/* global $ */
import $ from 'jquery';
import 'jquery-ui/themes/base/core.css';
import 'jquery-ui/themes/base/theme.css';
import 'jquery-ui/themes/base/autocomplete.css';
import 'jquery-ui/ui/core';
import 'jquery-ui/ui/widgets/autocomplete';
import * as DOMPurify from '../../../downloads/purify.min.js';
import '../style/style.css';
......@@ -46,6 +52,6 @@ $("#projectName").on('keyup',function(e) {
});
$("#createProject").click(function cancelChanges(){location.pathname='/project/'+$("#projectName").val()+'/settings'});
$("#cancelChanges").click(function cancelChanges(){location.pathname='{{{projectURL}}}'});
$("#cancelChanges").click(function cancelChanges(){location.pathname=projectURL});
$("#addProject").click(function(){location="/project/new"});
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment