# HG changeset patch # User bsw # Date 1419417381 -3600 # Node ID 2d038d3ae153e3a10f3424191bf0fd5776e44687 # Parent c2133ef1237ea3f2b22d73825a6033ebfeaf4325 Show introduction for non-members diff -r c2133ef1237e -r 2d038d3ae153 app/main/_filter/21_auth.lua --- a/app/main/_filter/21_auth.lua Wed Dec 24 11:35:45 2014 +0100 +++ b/app/main/_filter/21_auth.lua Wed Dec 24 11:36:21 2014 +0100 @@ -40,6 +40,7 @@ or module == "draft" and view == "show" or module == "index" and view == "search" or module == "index" and view == "usage_terms" + or module == "help" and view == "introduction" then auth_needed = false end diff -r c2133ef1237e -r 2d038d3ae153 app/main/index/_sidebar_whatcanido.lua --- a/app/main/index/_sidebar_whatcanido.lua Wed Dec 24 11:35:45 2014 +0100 +++ b/app/main/index/_sidebar_whatcanido.lua Wed Dec 24 11:36:21 2014 +0100 @@ -62,23 +62,23 @@ end } end ) end - ui.sidebarSection( function() - ui.heading { level = 3, content = _"I want to learn more about LiquidFeedback" } - ui.tag { tag = "ul", attr = { class = "ul" }, content = function () - ui.tag { tag = "li", content = function() - ui.link { module = "help", view = "introduction", content = _"structured discussion" } - end } - ui.tag { tag = "li", content = function() - ui.link { module = "help", view = "introduction", content = _"4 phases of a decision" } - end } - ui.tag { tag = "li", content = function() - ui.link { module = "help", view = "introduction", content = _"vote delegation" } - end } - ui.tag { tag = "li", content = function() - ui.link { module = "help", view = "introduction", content = _"preference voting" } - end } - end } - end ) - end + end + ui.sidebarSection( function() + ui.heading { level = 3, content = _"I want to learn more about LiquidFeedback" } + ui.tag { tag = "ul", attr = { class = "ul" }, content = function () + ui.tag { tag = "li", content = function() + ui.link { module = "help", view = "introduction", content = _"structured discussion" } + end } + ui.tag { tag = "li", content = function() + ui.link { module = "help", view = "introduction", content = _"4 phases of a decision" } + end } + ui.tag { tag = "li", content = function() + ui.link { module = "help", view = "introduction", content = _"vote delegation" } + end } + ui.tag { tag = "li", content = function() + ui.link { module = "help", view = "introduction", content = _"preference voting" } + end } + end } + end ) end )