Adjust for thymeleaf security fix

This commit is contained in:
James Agnew 2018-12-23 13:41:15 -05:00
parent 9d3904ef3e
commit b8ae0e2f73
1 changed files with 6 additions and 1 deletions

View File

@ -115,7 +115,12 @@
<ul class="nav nav-sidebar" th:unless="${conf.rest.empty}">
<th:block th:each="resource, resIterStat : ${conf.rest[0].resource}">
<li th:class="${resourceName} == ${resource.typeElement.valueAsString} ? 'active' : ''">
<a th:id="'leftResource' + ${resource.typeElement.valueAsString}" href="#" th:onclick="'doAction(this, \'resource\', \'' + ${resource.typeElement.valueAsString} + '\');'">
<a
th:id="'leftResource' + ${resource.typeElement.valueAsString}"
href="#"
th:data1="${resource.typeElement.valueAsString}"
onclick="doAction(this, 'resource', this.getAttribute('data1'));">
<th:block th:text="${resource.typeElement.valueAsString}" >Patient</th:block>
<span class="badge" th:if="${resourceCounts[resource.typeElement.valueAsString]} != null" th:text="${resourceCounts[resource.typeElement.valueAsString]}"/>
</a>