liquid_feedback_frontend

view app/main/initiative/show.lua @ 24:81586ea68d57

Minor bugfixes

app/main/initiative/_list.lua:
Replaced single by optional object mode

locale/translations.de.lua:
Consistent translation

app/main/initiative/_show.lua:
Added missing case "not approved" in voting info box

app/main/initiative/_show_voting.lua:
Added link to initiative

app/main/initiative/_show_voting.lua:
Added missing argument for link

app/main/member/show_tab.lua:
Added outgoing argument to show outgoing delegations correctly
author bsw
date Sun Feb 21 14:09:11 2010 +0100 (2010-02-21)
parents 00d1004545f1
children 7d0f4721d2f3
line source
1 local initiative = param.get("initiative", "table")
3 if not initiative then
4 initiative = Initiative:new_selector():add_where{ "id = ?", param.get_id()}:single_object_mode():exec()
5 end
7 if request.get_json_request_slots() then
8 execute.view{
9 module = "initiative",
10 view = "show_partial",
11 params = {
12 initiative = initiative
13 }
14 }
15 elseif
16 config.user_tab_mode == "accordeon" or
17 config.user_tab_mode == "accordeon_first_expanded" or
18 config.user_tab_mode == "accordeon_all_expanded"
19 then
20 execute.view{
21 module = "issue",
22 view = "show",
23 id = initiative.issue_id,
24 params = {
25 for_initiative_id = initiative.id
26 }
27 }
28 else
29 execute.view{
30 module = "initiative",
31 view = "show_static",
32 params = {
33 initiative = initiative
34 }
35 }
36 end

Impressum / About Us