liquid_feedback_frontend
view app/main/index/usage_terms.lua @ 1859:02c34183b6df
Fixed wrong filename in INSTALL file
author | bsw |
---|---|
date | Tue Nov 28 18:54:51 2023 +0100 (17 months ago) |
parents | 2e5b303ea68e |
children |
line source
1 if not config.use_terms then
2 return execute.view { module = "index", view = "404" }
3 end
5 ui.title(config.use_terms_headline or _"Terms of use")
7 ui.grid{ content = function()
8 ui.cell_main{ content = function()
9 ui.container { attr = { class = "mdl-card mdl-shadow--2dp mdl-card__fullwidth" }, content = function()
10 ui.container{ attr = { class = "mdl-card__title mdl-card--border" }, content = function()
11 ui.heading { attr = { class = "mdl-card__title-text" }, level = 2, content = function()
12 ui.tag{ content = config.use_terms_headline or _"Terms of use" }
13 if config.use_terms_subheadline then
14 slot.put("<br>")
15 ui.tag{ attr = { style = "font-size: 75%;" }, content = config.use_terms_subheadline }
16 end
17 end }
18 end }
19 ui.container{ attr = { class = "mdl-card__content draft" }, content = function()
20 slot.put(config.use_terms)
21 end }
22 end }
23 end }
24 end }