liquid_feedback_frontend

diff app/main/member/show_tab.lua @ 95:6a12fb7e4963

Suggestion API, draft preview, word based diff, multiple fixes
- Added suggestion API
- Initiative API: Drafts optionally delivered as rendered html fragment
- Initiative API: Fixed wrong output of revoked timestamp when using JSON
- Preview added for initiative drafts
- Improved (word based) diff added
- Improved suggestion list
- Added missing sorting of initiative in vote list
- Filter state for member page initiative lists
- Fixed wrong status output in member history
- Fixed wrongly closed div in layout
author bsw
date Mon Aug 30 21:52:19 2010 +0200 (2010-08-30)
parents 733f65c0c0a0
children 43ac94c7575b
line diff
     1.1 --- a/app/main/member/show_tab.lua	Thu Aug 19 15:37:51 2010 +0200
     1.2 +++ b/app/main/member/show_tab.lua	Mon Aug 30 21:52:19 2010 +0200
     1.3 @@ -152,12 +152,13 @@
     1.4  }
     1.5  
     1.6  local supported_initiatives_selector = member:get_reference_selector("supported_initiatives")
     1.7 +
     1.8  tabs[#tabs+1] = {
     1.9    name = "supported_initiatives",
    1.10    label = _"Supported initiatives" .. " (" .. tostring(supported_initiatives_selector:count()) .. ")",
    1.11    icon = { static = "icons/16/thumb_up_green.png" },
    1.12 -  module = "initiative",
    1.13 -  view = "_list",
    1.14 +  module = "member",
    1.15 +  view = "_list_supported_initiatives",
    1.16    params = { initiatives_selector = supported_initiatives_selector },
    1.17  }
    1.18  
    1.19 @@ -166,8 +167,8 @@
    1.20    name = "initiatied_initiatives",
    1.21    label = _"Initiated initiatives" .. " (" .. tostring(initiated_initiatives_selector:count()) .. ")",
    1.22    icon = { static = "icons/16/user_edit.png" },
    1.23 -  module = "initiative",
    1.24 -  view = "_list",
    1.25 +  module = "member",
    1.26 +  view = "_list_supported_initiatives",
    1.27    params = { initiatives_selector = initiated_initiatives_selector },
    1.28  }
    1.29  

Impressum / About Us