# HG changeset patch # User bsw # Date 1330952584 -3600 # Node ID 9109900edad611b07d0c751c55f52ebd84006058 # Parent 908caa577f5a3cfa9fc15948c192c4eb57079572 Show message of the day at public index page in closed user group mode diff -r 908caa577f5a -r 9109900edad6 app/main/index/index.lua --- a/app/main/index/index.lua Mon Mar 05 11:53:20 2012 +0100 +++ b/app/main/index/index.lua Mon Mar 05 14:03:04 2012 +0100 @@ -71,6 +71,16 @@ else + if config.motd_public then + local help_text = config.motd_public + ui.container{ + attr = { class = "wiki motd" }, + content = function() + slot.put(format.wiki_text(help_text)) + end + } + end + ui.tag{ tag = "p", content = _"Closed user group, please login to participate." } ui.form{