liquid_feedback_frontend
changeset 1120:2d038d3ae153
Show introduction for non-members
author | bsw |
---|---|
date | Wed Dec 24 11:36:21 2014 +0100 (2014-12-24) |
parents | c2133ef1237e |
children | 087cb35847ee |
files | app/main/_filter/21_auth.lua app/main/index/_sidebar_whatcanido.lua |
line diff
1.1 --- a/app/main/_filter/21_auth.lua Wed Dec 24 11:35:45 2014 +0100 1.2 +++ b/app/main/_filter/21_auth.lua Wed Dec 24 11:36:21 2014 +0100 1.3 @@ -40,6 +40,7 @@ 1.4 or module == "draft" and view == "show" 1.5 or module == "index" and view == "search" 1.6 or module == "index" and view == "usage_terms" 1.7 + or module == "help" and view == "introduction" 1.8 then 1.9 auth_needed = false 1.10 end
2.1 --- a/app/main/index/_sidebar_whatcanido.lua Wed Dec 24 11:35:45 2014 +0100 2.2 +++ b/app/main/index/_sidebar_whatcanido.lua Wed Dec 24 11:36:21 2014 +0100 2.3 @@ -62,23 +62,23 @@ 2.4 end } 2.5 end ) 2.6 end 2.7 - ui.sidebarSection( function() 2.8 - ui.heading { level = 3, content = _"I want to learn more about LiquidFeedback" } 2.9 - ui.tag { tag = "ul", attr = { class = "ul" }, content = function () 2.10 - ui.tag { tag = "li", content = function() 2.11 - ui.link { module = "help", view = "introduction", content = _"structured discussion" } 2.12 - end } 2.13 - ui.tag { tag = "li", content = function() 2.14 - ui.link { module = "help", view = "introduction", content = _"4 phases of a decision" } 2.15 - end } 2.16 - ui.tag { tag = "li", content = function() 2.17 - ui.link { module = "help", view = "introduction", content = _"vote delegation" } 2.18 - end } 2.19 - ui.tag { tag = "li", content = function() 2.20 - ui.link { module = "help", view = "introduction", content = _"preference voting" } 2.21 - end } 2.22 - end } 2.23 - end ) 2.24 - end 2.25 + end 2.26 + ui.sidebarSection( function() 2.27 + ui.heading { level = 3, content = _"I want to learn more about LiquidFeedback" } 2.28 + ui.tag { tag = "ul", attr = { class = "ul" }, content = function () 2.29 + ui.tag { tag = "li", content = function() 2.30 + ui.link { module = "help", view = "introduction", content = _"structured discussion" } 2.31 + end } 2.32 + ui.tag { tag = "li", content = function() 2.33 + ui.link { module = "help", view = "introduction", content = _"4 phases of a decision" } 2.34 + end } 2.35 + ui.tag { tag = "li", content = function() 2.36 + ui.link { module = "help", view = "introduction", content = _"vote delegation" } 2.37 + end } 2.38 + ui.tag { tag = "li", content = function() 2.39 + ui.link { module = "help", view = "introduction", content = _"preference voting" } 2.40 + end } 2.41 + end } 2.42 + end ) 2.43 2.44 end )