default.view.codelists.code-list-entries.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sirius-biz Show documentation
Show all versions of sirius-biz Show documentation
Provides a framework for building web based business applications
@import sirius.biz.codelists.*
@args CodeList codeList, Page entries
@extends(view.codelists.code-list.html, page: "entries")
@tableSearchHeader(entries, ("code-list/" + codeList.getId())) {
@i18n("Model.create")
}
@table(entries) {
@i18n("CodeListEntry.code")
@i18n("Model.priority")
@i18n("CodeListEntry.value")
@i18n("CodeListEntry.additionalValue")
@i18n("Model.description")
@for(CodeListEntry entry : entries.getItems()) {
@entry.getCode()
@entry.getPriority()
@entry.getValue()
@entry.getAdditionalValue()
@entry.getDescription()
@deleteLink(("code-list/" +codeList.getId() + "/delete-entry/" + entry.getId() + "?" + entries.createQueryString()))
}
}
@pagination(entries, ("code-list/" + codeList.getId()))
@modal(name: "editEntry", titleKey: "CodeListEntry") {
@modalBody() {
}
@modalFooter(cancelKey: "NLS.cancel") {
@i18n("NLS.save")
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy