liquid_feedback_frontend
view 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 source
1 ui.sidebar ( "tab-whatcanido", function ()
3 ui.sidebarHeadWhatCanIDo()
5 if app.session.member then
6 ui.sidebarSection( function()
7 ui.heading { level = 3, content = _"I want to know whats going on" }
8 ui.tag { tag = "ul", attr = { class = "ul" }, content = function ()
9 ui.tag { tag = "li", content = _"take a look on the issues (see left)" }
10 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)" }
11 end }
12 end )
13 ui.sidebarSection( function()
14 ui.heading { level = 3, content = _"I want to stay informed" }
15 ui.tag { tag = "ul", attr = { class = "ul" }, content = function ()
16 ui.tag { tag = "li", content = function ()
17 ui.tag{ content = _"check your " }
18 ui.link{
19 module = "member", view = "settings_notification",
20 params = { return_to = "home" },
21 text = _"notifications settings"
22 }
23 end }
24 ui.tag { tag = "li", content = function ()
25 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)" }
26 end }
27 end }
28 end )
29 ui.sidebarSection( function()
30 ui.heading { level = 3, content = _"I want to start a new initiative" }
31 ui.tag { tag = "ul", attr = { class = "ul" }, content = function ()
32 ui.tag { tag = "li", content = _"open the appropriate subject area for your issue and follow the instruction on that page." }
33 end }
34 end )
35 ui.sidebarSection( function()
36 ui.heading { level = 3, content = _"I want to delegate my vote" }
37 ui.tag { tag = "ul", attr = { class = "ul" }, content = function ()
38 ui.tag { tag = "li", content = _"open the organizational unit, subject area or issue you like to delegate and follow the instruction on that page." }
39 end }
40 end )
41 ui.sidebarSection( function()
42 ui.heading { level = 3, content = _"I want to take a look at other organizational units" }
43 ui.tag { tag = "ul", attr = { class = "ul" }, content = function ()
44 ui.tag { tag = "li", content = function ()
45 ui.link{
46 module = "unit", view = "list",
47 text = _"show all units"
48 }
49 end }
50 end }
51 end )
52 ui.sidebarSection( function()
53 ui.heading { level = 3, content = _"I want to learn more about LiquidFeedback" }
54 ui.tag { tag = "ul", attr = { class = "ul" }, content = function ()
55 ui.tag { tag = "li", content = function()
56 ui.link { module = "help", view = "introduction", content = _"structured discussion" }
57 end }
58 ui.tag { tag = "li", content = function()
59 ui.link { module = "help", view = "introduction", content = _"4 phases of a decision" }
60 end }
61 ui.tag { tag = "li", content = function()
62 ui.link { module = "help", view = "introduction", content = _"vote delegation" }
63 end }
64 ui.tag { tag = "li", content = function()
65 ui.link { module = "help", view = "introduction", content = _"preference voting" }
66 end }
67 end }
68 end )
69 end
71 end )