default.view.wondergem.template.html Maven / Gradle / Ivy
@*
* Made with all the love in the world
* by scireum in Remshalden, Germany
*
* Copyright by scireum GmbH
* http://www.scireum.de - [email protected]
*@
@import sirius.web.security.MaintenanceInfo;
@args String title
@title - @product
@includeExtensions("view-template-head")
@invoke("view/wondergem/template-script.html")
@render(head) {
}
@render(menu) {
@invoke("view/wondergem/menu.html")
}
@if (user.getCurrentScope().is(MaintenanceInfo.class) && user.getCurrentScope().as(MaintenanceInfo.class).isLocked()) {
@invoke("view/wondergem/template-disaster.html")
} else {
@render(header) {
}
@render(aboveMessages) {
}
@for(sirius.web.controller.Message msg : user.getMessages()) {
@msg.getMessage()
@if (msg.getAction() != null) {
@if (msg.isActionJavascript()) {
@msg.getActionLabel()
} else {
@msg.getActionLabel()
}
}
}
}
@render()
}
@render(messages) {
@render(footer) {
@invoke("view/wondergem/template-footer.html")
}
@render(dialogs) {
}
@invoke("view/wondergem/template-dialogs.html")
@includeExtensions("view-template-footer")
© 2015 - 2025 Weber Informatics LLC | Privacy Policy