liquid_feedback_frontend

annotate app/main/help/introduction.lua @ 1708:ee2776bb46b1

Allow to overwrite Quick Guide title
author bsw
date Mon Sep 27 11:50:08 2021 +0200 (2021-09-27)
parents 7c91c52de1fb
children 52bf39db92fb
rev   line source
bsw@1045 1 ui.title(_"Introduction")
bsw@1045 2
bsw/jbe@1309 3 ui.grid{ content = function()
bsw/jbe@1309 4 ui.cell_main{ content = function()
bsw@1045 5
bsw/jbe@1309 6 ui.container{ attr = { class = "mdl-card mdl-card__fullwidth mdl-shadow--2dp" }, content = function()
bsw/jbe@1309 7 ui.container{ attr = { class = "mdl-card__title mdl-card--has-fab mdl-card--border" }, content = function ()
bsw@1708 8 ui.heading { attr = { class = "mdl-card__title-text" }, level = 1, content = function()
bsw@1708 9 if config.quick_guide and config.quick_guide.title then
bsw@1708 10 slot.put(config.quick_guide.title)
bsw@1708 11 else
bsw@1708 12 ui.tag{ content = _"Quick guide" }
bsw@1708 13 end }
bsw/jbe@1309 14 end }
bsw/jbe@1309 15 ui.container { attr = { class = "draft mdl-card__content mdl-card--border" }, content = function()
bsw@1707 16 if config.quick_guide and config.quick_guide.content then
bsw@1707 17 slot.put(config.quick_guide.content)
bsw@1707 18 else
bsw@1707 19 ui.heading{ level = 2, content = _"Initiatives and issues" }
bsw@1707 20 ui.tag{ tag = "p", content = _"[introduction] iniatives and issues" }
bsw@1707 21 ui.heading{ level = 2, content = _"Subject areas" }
bsw@1707 22 ui.tag{ tag = "p", content = _"[introduction] subject areas" }
bsw@1707 23 ui.heading{ level = 2, content = _"Organizational units" }
bsw@1707 24 ui.tag{ tag = "p", content = _"[introduction] organizational units" }
bsw@1707 25 ui.heading{ level = 2, content = _"Rules of procedure" }
bsw@1707 26 ui.tag{ tag = "p", content = _"[introduction] rules of procedure" }
bsw@1707 27 ui.heading{ level = 2, content = _"Admission phase" }
bsw@1707 28 ui.tag{ tag = "p", content = _"[introduction] phase 1 admission" }
bsw@1707 29 ui.heading{ level = 2, content = _"Discussion phase" }
bsw@1707 30 ui.tag{ tag = "p", content = _"[introduction] phase 2 discussion" }
bsw@1707 31 ui.heading{ level = 2, content = _"Verification phase" }
bsw@1707 32 ui.tag{ tag = "p", content = _"[introduction] phase 3 verification" }
bsw@1707 33 ui.heading{ level = 2, content = _"Voting phase" }
bsw@1707 34 ui.tag{ tag = "p", content = _"[introduction] phase 4 voting" }
bsw@1707 35 ui.heading{ level = 2, content = _"Vote delegation" }
bsw@1707 36 ui.tag{ tag = "p", content = _"[introduction] vote delegation" }
bsw@1707 37 ui.heading{ level = 2, content = _"Preference voting" }
bsw@1707 38 ui.tag{ tag = "p", content = _"[introduction] preference voting" }
bsw@1707 39 end
bsw/jbe@1309 40 end }
bsw/jbe@1309 41 end }
bsw/jbe@1309 42 end }
bsw/jbe@1309 43 end }
bsw/jbe@1309 44

Impressum / About Us