Thymeleaf
Aus Alexander's Wiki
th:style="${server.isAlarmSynchronisation()} ? ${'color:red'} : ${'color:green'}"
th:text="'Sync: ' + ${#strings.substring(server.getLastSynchronisation(),0,10)}"
th:class="(${server.hotspotState == T(at.hagleitner.hsmmonitor.common.ServiceState).RUNNING} ? ${'btn btn-success'} : ${'btn btn-default'})">