liquid_feedback_frontend

view app/main/index/_sidebar_whatcanido.lua @ 1059:3f52e99b444d

Added missing feature database download again
author bsw
date Wed Jul 16 21:49:21 2014 +0200 (2014-07-16)
parents 701a5cf6b067
children 2d038d3ae153
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 if config.download_dir then
53 ui.sidebarSection( function()
54 ui.heading { level = 3, content = _"I want to download all data" }
55 ui.tag { tag = "ul", attr = { class = "ul" }, content = function ()
56 ui.tag { tag = "li", content = function ()
57 ui.link{
58 module = "index", view = "download",
59 text = _"download database"
60 }
61 end }
62 end }
63 end )
64 end
65 ui.sidebarSection( function()
66 ui.heading { level = 3, content = _"I want to learn more about LiquidFeedback" }
67 ui.tag { tag = "ul", attr = { class = "ul" }, content = function ()
68 ui.tag { tag = "li", content = function()
69 ui.link { module = "help", view = "introduction", content = _"structured discussion" }
70 end }
71 ui.tag { tag = "li", content = function()
72 ui.link { module = "help", view = "introduction", content = _"4 phases of a decision" }
73 end }
74 ui.tag { tag = "li", content = function()
75 ui.link { module = "help", view = "introduction", content = _"vote delegation" }
76 end }
77 ui.tag { tag = "li", content = function()
78 ui.link { module = "help", view = "introduction", content = _"preference voting" }
79 end }
80 end }
81 end )
82 end
84 end )

Impressum / About Us