Fix editor page title

This commit is contained in:
Paulo Gustavo Veiga 2022-01-30 09:55:07 -08:00
parent bcd3384829
commit a71f083416
2 changed files with 6 additions and 5 deletions

View File

@ -20,7 +20,7 @@
<%@ include file="/jsp/pageHeaders.jsf" %> <%@ include file="/jsp/pageHeaders.jsf" %>
<title>Loading | WiseMapping</title> <title>Loading ... | WiseMapping</title>
<script> <script>
window.serverconfig = { window.serverconfig = {
@ -45,6 +45,7 @@
var isAuth = ${principal != null}; var isAuth = ${principal != null};
var accountName = '${principal.fullName}'; var accountName = '${principal.fullName}';
var accountEmail = '${principal.email}'; var accountEmail = '${principal.email}';
var mapTitle = '${mindmap.title}';
</script> </script>
<%@ include file="/jsp/googleAnalytics.jsf" %> <%@ include file="/jsp/googleAnalytics.jsf" %>
</head> </head>
@ -53,8 +54,8 @@
<noscript>You need to enable JavaScript to run this app.</noscript> <noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div> <div id="root"></div>
<script type="text/javascript" src="<c:out value="${requestScope['site.static.js.url']}"/>/webapp/vendors.bundle.js"></script> <script type="text/javascript" src="${requestScope['site.static.js.url']}/webapp/vendors.bundle.js"></script>
<script type="text/javascript" src="<c:out value="${requestScope['site.static.js.url']}"/>/webapp/app.bundle.js"></script> <script type="text/javascript" src="${requestScope['site.static.js.url']}/webapp/app.bundle.js"></script>
</body> </body>

View File

@ -31,8 +31,8 @@
</a> </a>
<div id="mapDetails"> <div id="mapDetails">
<span class="title"><spring:message code="CREATOR"/>:</span><span><c:out value="${mindmap.creator.fullName}"/></span> <span class="title"><spring:message code="CREATOR"/>:</span><span>${mindmap.creator.fullName}</span>
<span class="title"><spring:message code="DESCRIPTION"/>:</span><span><c:out value="${mindmap.title}"/></span> <span class="title"><spring:message code="DESCRIPTION"/>:</span><span>${mindmap.title}</span>
</div> </div>
<script type="text/javascript" src="${requestScope['site.static.js.url']}/mindplot/loader.js"></script> <script type="text/javascript" src="${requestScope['site.static.js.url']}/mindplot/loader.js"></script>