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