liquid_feedback_frontend
diff app/main/index/_sidebar_whatcanido.lua @ 1045:701a5cf6b067
Imported LiquidFeedback Frontend 3.0 branch
author | bsw |
---|---|
date | Thu Jul 10 01:19:48 2014 +0200 (2014-07-10) |
parents | |
children | 3f52e99b444d |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/app/main/index/_sidebar_whatcanido.lua Thu Jul 10 01:19:48 2014 +0200 1.3 @@ -0,0 +1,71 @@ 1.4 +ui.sidebar ( "tab-whatcanido", function () 1.5 + 1.6 + ui.sidebarHeadWhatCanIDo() 1.7 + 1.8 + if app.session.member then 1.9 + ui.sidebarSection( function() 1.10 + ui.heading { level = 3, content = _"I want to know whats going on" } 1.11 + ui.tag { tag = "ul", attr = { class = "ul" }, content = function () 1.12 + ui.tag { tag = "li", content = _"take a look on the issues (see left)" } 1.13 + ui.tag { tag = "li", content = _"by default only those issues are shown, for which your are eligible to participate (change filters on top of the list)" } 1.14 + end } 1.15 + end ) 1.16 + ui.sidebarSection( function() 1.17 + ui.heading { level = 3, content = _"I want to stay informed" } 1.18 + ui.tag { tag = "ul", attr = { class = "ul" }, content = function () 1.19 + ui.tag { tag = "li", content = function () 1.20 + ui.tag{ content = _"check your " } 1.21 + ui.link{ 1.22 + module = "member", view = "settings_notification", 1.23 + params = { return_to = "home" }, 1.24 + text = _"notifications settings" 1.25 + } 1.26 + end } 1.27 + ui.tag { tag = "li", content = function () 1.28 + ui.tag{ content = _"subscribe subject areas or add your interested to issues and you will be notified about changes (follow the instruction on the area or issue page)" } 1.29 + end } 1.30 + end } 1.31 + end ) 1.32 + ui.sidebarSection( function() 1.33 + ui.heading { level = 3, content = _"I want to start a new initiative" } 1.34 + ui.tag { tag = "ul", attr = { class = "ul" }, content = function () 1.35 + ui.tag { tag = "li", content = _"open the appropriate subject area for your issue and follow the instruction on that page." } 1.36 + end } 1.37 + end ) 1.38 + ui.sidebarSection( function() 1.39 + ui.heading { level = 3, content = _"I want to delegate my vote" } 1.40 + ui.tag { tag = "ul", attr = { class = "ul" }, content = function () 1.41 + ui.tag { tag = "li", content = _"open the organizational unit, subject area or issue you like to delegate and follow the instruction on that page." } 1.42 + end } 1.43 + end ) 1.44 + ui.sidebarSection( function() 1.45 + ui.heading { level = 3, content = _"I want to take a look at other organizational units" } 1.46 + ui.tag { tag = "ul", attr = { class = "ul" }, content = function () 1.47 + ui.tag { tag = "li", content = function () 1.48 + ui.link{ 1.49 + module = "unit", view = "list", 1.50 + text = _"show all units" 1.51 + } 1.52 + end } 1.53 + end } 1.54 + end ) 1.55 + ui.sidebarSection( function() 1.56 + ui.heading { level = 3, content = _"I want to learn more about LiquidFeedback" } 1.57 + ui.tag { tag = "ul", attr = { class = "ul" }, content = function () 1.58 + ui.tag { tag = "li", content = function() 1.59 + ui.link { module = "help", view = "introduction", content = _"structured discussion" } 1.60 + end } 1.61 + ui.tag { tag = "li", content = function() 1.62 + ui.link { module = "help", view = "introduction", content = _"4 phases of a decision" } 1.63 + end } 1.64 + ui.tag { tag = "li", content = function() 1.65 + ui.link { module = "help", view = "introduction", content = _"vote delegation" } 1.66 + end } 1.67 + ui.tag { tag = "li", content = function() 1.68 + ui.link { module = "help", view = "introduction", content = _"preference voting" } 1.69 + end } 1.70 + end } 1.71 + end ) 1.72 + end 1.73 + 1.74 +end )