liquid_feedback_frontend

annotate app/main/index/usage_terms.lua @ 1849:c3dba3a85be3

Fixed translations
author bsw
date Thu Feb 03 16:10:39 2022 +0100 (2022-02-03)
parents 2e5b303ea68e
children
rev   line source
bsw@1820 1 if not config.use_terms then
bsw@1820 2 return execute.view { module = "index", view = "404" }
bsw@1820 3 end
bsw@1045 4
bsw@1820 5 ui.title(config.use_terms_headline or _"Terms of use")
bsw/jbe@19 6
bsw@1820 7 ui.grid{ content = function()
bsw@1820 8 ui.cell_main{ content = function()
bsw@1820 9 ui.container { attr = { class = "mdl-card mdl-shadow--2dp mdl-card__fullwidth" }, content = function()
bsw@1820 10 ui.container{ attr = { class = "mdl-card__title mdl-card--border" }, content = function()
bsw@1820 11 ui.heading { attr = { class = "mdl-card__title-text" }, level = 2, content = function()
bsw@1820 12 ui.tag{ content = config.use_terms_headline or _"Terms of use" }
bsw@1820 13 if config.use_terms_subheadline then
bsw@1820 14 slot.put("<br>")
bsw@1820 15 ui.tag{ attr = { style = "font-size: 75%;" }, content = config.use_terms_subheadline }
bsw@1820 16 end
bsw@1820 17 end }
bsw@1820 18 end }
bsw@1820 19 ui.container{ attr = { class = "mdl-card__content draft" }, content = function()
bsw@1045 20 slot.put(config.use_terms)
bsw@1820 21 end }
bsw@1820 22 end }
bsw@1820 23 end }
bsw@1820 24 end }

Impressum / About Us