liquid_feedback_frontend
changeset 386:9109900edad6
Show message of the day at public index page in closed user group mode
author | bsw |
---|---|
date | Mon Mar 05 14:03:04 2012 +0100 (2012-03-05) |
parents | 908caa577f5a |
children | e012250163ca |
files | app/main/index/index.lua |
line diff
1.1 --- a/app/main/index/index.lua Mon Mar 05 11:53:20 2012 +0100 1.2 +++ b/app/main/index/index.lua Mon Mar 05 14:03:04 2012 +0100 1.3 @@ -71,6 +71,16 @@ 1.4 1.5 else 1.6 1.7 + if config.motd_public then 1.8 + local help_text = config.motd_public 1.9 + ui.container{ 1.10 + attr = { class = "wiki motd" }, 1.11 + content = function() 1.12 + slot.put(format.wiki_text(help_text)) 1.13 + end 1.14 + } 1.15 + end 1.16 + 1.17 ui.tag{ tag = "p", content = _"Closed user group, please login to participate." } 1.18 1.19 ui.form{