liquid_feedback_frontend
diff app/main/index/login.lua @ 369:5a0d5369b21d
Login at startpage when no public_access
| author | bsw |
|---|---|
| date | Thu Mar 01 12:25:46 2012 +0100 (2012-03-01) |
| parents | 068ad175ebd7 |
| children | 58647c8a0339 |
line diff
1.1 --- a/app/main/index/login.lua Thu Mar 01 12:22:41 2012 +0100 1.2 +++ b/app/main/index/login.lua Thu Mar 01 12:25:46 2012 +0100 1.3 @@ -54,10 +54,14 @@ 1.4 } 1.5 end 1.6 1.7 -ui.tag{ 1.8 - tag = 'p', 1.9 - content = _'You need to be logged in, to use all features of this system.' 1.10 -} 1.11 +if config.public_access then 1.12 + ui.tag{ 1.13 + tag = 'p', 1.14 + content = _'You need to be logged in, to use all features of this system.' 1.15 + } 1.16 +else 1.17 + ui.tag{ tag = "p", content = _"Closed user group, please login to participate." } 1.18 +end 1.19 1.20 ui.form{ 1.21 attr = { class = "login" },