rev |
line source |
bsw/jbe@1309
|
1 ui.container{ attr = { class = "mdl-card mdl-card__fullwidth mdl-shadow--2dp" }, content = function()
|
bsw/jbe@1309
|
2 ui.container{ attr = { class = "mdl-card__title mdl-card--border" }, content = function()
|
bsw/jbe@1309
|
3 ui.heading { attr = { class = "mdl-card__title-text" }, level = 2, content = _"What can I do here?" }
|
bsw/jbe@1309
|
4 end }
|
bsw/jbe@1309
|
5 ui.container{ attr = { class = "what-can-i-do-here" }, content = function()
|
bsw@1045
|
6
|
bsw/jbe@1309
|
7 if app.session.member then
|
bsw/jbe@1309
|
8 ui.container{ attr = { class = "mdl-card__content mdl-card--border" }, content = function()
|
bsw/jbe@1309
|
9 ui.tag{ content = _"I want to know whats going on" }
|
bsw/jbe@1309
|
10 ui.tag { tag = "ul", attr = { class = "ul" }, content = function ()
|
bsw/jbe@1309
|
11 ui.tag { tag = "li", content = _"take a look on the issues (see right)" }
|
bsw/jbe@1309
|
12 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)" }
|
bsw/jbe@1309
|
13 end }
|
bsw/jbe@1309
|
14 end }
|
bsw/jbe@1309
|
15 ui.container{ attr = { class = "mdl-card__content mdl-card--border" }, content = function()
|
bsw/jbe@1309
|
16 ui.tag{ content = _"I want to stay informed" }
|
bsw@1059
|
17 ui.tag { tag = "ul", attr = { class = "ul" }, content = function ()
|
bsw@1059
|
18 ui.tag { tag = "li", content = function ()
|
bsw/jbe@1309
|
19 ui.tag{ content = _"check your " }
|
bsw@1059
|
20 ui.link{
|
bsw/jbe@1309
|
21 module = "member", view = "settings_notification",
|
bsw/jbe@1309
|
22 params = { return_to = "home" },
|
bsw/jbe@1309
|
23 text = _"notifications settings"
|
bsw@1059
|
24 }
|
bsw@1059
|
25 end }
|
bsw/jbe@1309
|
26 if not config.voting_only then
|
bsw/jbe@1309
|
27 ui.tag { tag = "li", content = function ()
|
bsw/jbe@1309
|
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)" }
|
bsw/jbe@1309
|
29 end }
|
bsw/jbe@1309
|
30 end
|
bsw/jbe@1309
|
31 end }
|
bsw/jbe@1309
|
32 end }
|
bsw@1712
|
33 if not config.voting_only and app.session.member.has_initiative_right then
|
bsw@1712
|
34 ui.container{ attr = { class = "mdl-card__content mdl-card--border" }, content = function()
|
bsw@1712
|
35 ui.tag{ content = _"I want to start a new initiative" }
|
bsw@1712
|
36 ui.tag { tag = "ul", attr = { class = "ul" }, content = function ()
|
bsw@1712
|
37 ui.tag { tag = "li", content = _"open the appropriate subject area for your issue and follow the instruction on that page." }
|
bsw@1712
|
38 end }
|
bsw@1712
|
39 end }
|
bsw@1712
|
40 end
|
bsw/jbe@1309
|
41 if app.session.member.has_voting_right then
|
bsw/jbe@1309
|
42 ui.container{ attr = { class = "mdl-card__content mdl-card--border" }, content = function()
|
bsw/jbe@1309
|
43 ui.tag{ content = _"I want to vote" }
|
bsw/jbe@1309
|
44 ui.tag { tag = "ul", attr = { class = "ul" }, content = function ()
|
bsw/jbe@1309
|
45 ui.tag { tag = "li", content = _"check the issues on the right, and click on 'Vote now' to vote on an issue which is in voting phase." }
|
bsw/jbe@1309
|
46 end }
|
bsw/jbe@1309
|
47 end }
|
bsw/jbe@1309
|
48 if not config.disable_delegations then
|
bsw/jbe@1309
|
49 ui.container{ attr = { class = "mdl-card__content mdl-card--border" }, content = function()
|
bsw/jbe@1309
|
50 ui.tag{ content = _"I want to delegate my vote" }
|
bsw/jbe@1309
|
51 ui.tag { tag = "ul", attr = { class = "ul" }, content = function ()
|
bsw/jbe@1309
|
52 ui.tag { tag = "li", content = _"open the organizational unit, subject area or issue you like to delegate and follow the instruction on that page." }
|
bsw/jbe@1309
|
53 end }
|
bsw/jbe@1309
|
54 end }
|
bsw/jbe@1309
|
55 end
|
bsw/jbe@1309
|
56 end
|
bsw@1711
|
57 if not config.single_unit_id and not config.do_not_show_other_units_link then
|
bsw/jbe@1309
|
58 ui.container{ attr = { class = "mdl-card__content mdl-card--border" }, content = function()
|
bsw/jbe@1309
|
59 ui.tag{ content = _"I want to take a look at other organizational units" }
|
bsw/jbe@1309
|
60 ui.tag { tag = "ul", attr = { class = "ul" }, content = function ()
|
bsw/jbe@1309
|
61 ui.tag { tag = "li", content = function ()
|
bsw/jbe@1309
|
62 ui.link{
|
bsw/jbe@1309
|
63 module = "unit", view = "list",
|
bsw/jbe@1309
|
64 text = _"show all units"
|
bsw/jbe@1309
|
65 }
|
bsw/jbe@1309
|
66 end }
|
bsw/jbe@1309
|
67 end }
|
bsw/jbe@1309
|
68 end }
|
bsw/jbe@1309
|
69 end
|
bsw/jbe@1309
|
70 if config.download_dir then
|
bsw/jbe@1309
|
71 ui.container{ attr = { class = "mdl-card__content mdl-card--border" }, content = function()
|
bsw/jbe@1309
|
72 ui.tag{ content = _"I want to download all data" }
|
bsw/jbe@1309
|
73 ui.tag { tag = "ul", attr = { class = "ul" }, content = function ()
|
bsw/jbe@1309
|
74 ui.tag { tag = "li", content = function ()
|
bsw/jbe@1309
|
75 ui.link{
|
bsw/jbe@1309
|
76 module = "index", view = "download",
|
bsw/jbe@1309
|
77 text = _"download database"
|
bsw/jbe@1309
|
78 }
|
bsw/jbe@1309
|
79 end }
|
bsw/jbe@1309
|
80 end }
|
bsw/jbe@1309
|
81 end }
|
bsw/jbe@1309
|
82 end
|
bsw/jbe@1309
|
83 end
|
bsw/jbe@1309
|
84 if not app.session.member then
|
bsw/jbe@1309
|
85 ui.container { attr = { class = "mdl-card__content mdl-card--border" }, content = function ()
|
bsw@1717
|
86 ui.tag{ content = _"Login to participate" }
|
bsw@1717
|
87 ui.tag{ tag = "ul", content = function()
|
bsw@1717
|
88 ui.tag{ tag = "li", content = function()
|
bsw@1788
|
89 ui.link{ module = "index", view = "login", content = _"Login [button]" }
|
bsw/jbe@1309
|
90 end }
|
bsw@1717
|
91 end }
|
bsw/jbe@1309
|
92 end }
|
bsw/jbe@1309
|
93 end
|
bsw/jbe@1309
|
94 if not config.voting_only then
|
bsw/jbe@1309
|
95 ui.container{ attr = { class = "mdl-card__content mdl-card--border" }, content = function()
|
bsw/jbe@1309
|
96 ui.tag{ content = _"I want to learn more about LiquidFeedback" }
|
bsw@1726
|
97 if config.quick_guide and config.quick_guide.links then
|
bsw@1726
|
98 ui.container{ content = config.quick_guide.links }
|
bsw@1726
|
99 else
|
bsw@1726
|
100 ui.tag { tag = "ul", attr = { class = "ul" }, content = function ()
|
bsw@1726
|
101 ui.tag { tag = "li", content = function()
|
bsw@1726
|
102 ui.link { module = "help", view = "introduction", content = _"structured discussion" }
|
bsw@1726
|
103 end }
|
bsw/jbe@1309
|
104 ui.tag { tag = "li", content = function()
|
bsw@1726
|
105 ui.link { module = "help", view = "introduction", content = _"4 phases of a decision" }
|
bsw/jbe@1309
|
106 end }
|
bsw@1726
|
107 if not config.disable_delegations then
|
bsw@1726
|
108 ui.tag { tag = "li", content = function()
|
bsw@1726
|
109 ui.link { module = "help", view = "introduction", content = _"vote delegation" }
|
bsw@1726
|
110 end }
|
bsw@1726
|
111 end
|
bsw@1726
|
112 ui.tag { tag = "li", content = function()
|
bsw@1726
|
113 ui.link { module = "help", view = "introduction", content = _"preference voting" }
|
bsw@1726
|
114 end }
|
bsw@1726
|
115 end }
|
bsw@1726
|
116 end
|
bsw/jbe@1309
|
117 end }
|
bsw@1059
|
118 end
|
bsw/jbe@1309
|
119 end }
|
bsw/jbe@1309
|
120 end }
|