liquid_feedback_frontend
diff app/main/initiative/_show.lua @ 278:fecd4c13054a
Code/css clean up and minor enhancements
author | bsw |
---|---|
date | Mon Feb 13 01:53:41 2012 +0100 (2012-02-13) |
parents | f460555c9896 |
children | 808269b7f41c |
line diff
1.1 --- a/app/main/initiative/_show.lua Mon Feb 13 00:16:42 2012 +0100 1.2 +++ b/app/main/initiative/_show.lua Mon Feb 13 01:53:41 2012 +0100 1.3 @@ -142,11 +142,7 @@ 1.4 } 1.5 end 1.6 1.7 -local web20 = config.user_tab_mode == "accordeon" 1.8 - or config.user_tab_mode == "accordeon_first_expanded" 1.9 - or config.user_tab_mode == "accordeon_all_expanded" 1.10 - 1.11 -if not web20 and initiative.issue.state == "cancelled" then 1.12 +if initiative.issue.state == "cancelled" then 1.13 local policy = initiative.issue.policy 1.14 ui.container{ 1.15 attr = { class = "not_admitted_info" }, 1.16 @@ -274,23 +270,15 @@ 1.17 1.18 1.19 if app.session.member_id then 1.20 - ui.container{ 1.21 - attr = { 1.22 - id = "initiative_" .. tostring(initiative.id) .. "_support" 1.23 - }, 1.24 - content = function() 1.25 - execute.view{ 1.26 - module = "initiative", 1.27 - view = "show_support", 1.28 - params = { 1.29 - initiative = initiative 1.30 - } 1.31 - } 1.32 - end 1.33 + execute.view{ 1.34 + module = "supporter", 1.35 + view = "_show_box", 1.36 + params = { 1.37 + initiative = initiative 1.38 + } 1.39 } 1.40 end 1.41 1.42 - 1.43 execute.view{ 1.44 module = "initiative", 1.45 view = "show_tab",