liquid_feedback_frontend

diff app/main/draft/_action/add.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 134fce4bede3
children cda574707b1c
line diff
     1.1 --- a/app/main/draft/_action/add.lua	Thu Aug 19 15:37:51 2010 +0200
     1.2 +++ b/app/main/draft/_action/add.lua	Mon Aug 30 21:52:19 2010 +0200
     1.3 @@ -34,6 +34,9 @@
     1.4    error("invalid formatting engine!")
     1.5  end
     1.6  
     1.7 +if param.get("preview") then
     1.8 +  return false
     1.9 +end
    1.10  
    1.11  local draft = Draft:new()
    1.12  draft.author_id = app.session.member.id

Impressum / About Us