liquid_feedback_frontend

view app/main/area/list.lua @ 159:5d797c6706d5

implement quorum display

show the initiative quorum as a small 1px line in bargraph
allow to update your support on the diff page
better linked title in diff page
show absolute quorum numbers in detail pages of issue and initiative
author Daniel Poelzleithner <poelzi@poelzi.org>
date Sat Oct 09 03:42:48 2010 +0200 (2010-10-09)
parents c553898f64cb
children c0835d707465
line source
1 if app.session.member_id then
2 slot.put_into("title", _'Area list')
3 else
4 slot.put_into("title", encode.html(config.app_title))
5 end
7 if not app.session.member_id and config.motd_public then
8 local help_text = config.motd_public
9 ui.container{
10 attr = { class = "wiki motd" },
11 content = function()
12 slot.put(format.wiki_text(help_text))
13 end
14 }
15 end
17 util.help("area.list", _"Area list")
19 local areas_selector = Area:new_selector():add_where("active")
21 execute.view{
22 module = "area",
23 view = "_list",
24 params = { areas_selector = areas_selector }
25 }
27 --[[
28 execute.view{
29 module = "delegation",
30 view = "_show_box"
31 }
32 --]]

Impressum / About Us