liquid_feedback_frontend

diff app/main/initiative/_action/add_support.lua @ 277:bde068b37608

Dropdown boxes except of delegation box removed, optical enhancements and repositioning of elements
author bsw
date Mon Feb 13 00:16:42 2012 +0100 (2012-02-13)
parents 6d30e49ad609
children b77e6a17ca77
line diff
     1.1 --- a/app/main/initiative/_action/add_support.lua	Sun Feb 12 20:03:26 2012 +0100
     1.2 +++ b/app/main/initiative/_action/add_support.lua	Mon Feb 13 00:16:42 2012 +0100
     1.3 @@ -37,24 +37,12 @@
     1.4      supporter.auto_support = auto_support
     1.5    end
     1.6    supporter:save()
     1.7 -  slot.put_into("notice", _"Your support has been added to this initiative")
     1.8 -  if supporter.auto_active then
     1.9 -    slot.put_into("notice", _"Auto support is now enabled")
    1.10 -  end
    1.11 -elseif (auto_support ~= nil and supporter.auto_support ~= auto_support) and config.auto_support then
    1.12 -  supporter.auto_support = auto_support
    1.13 -  if auto_support then
    1.14 -    slot.put_into("notice", _"Auto support is now enabled")
    1.15 -  else
    1.16 -    slot.put_into("notice", _"Auto support is now disabled")
    1.17 -  end
    1.18 -  supporter.draft_id = last_draft.id
    1.19 -  supporter:save()
    1.20 +--  slot.put_into("notice", _"Your support has been added to this initiative")
    1.21  elseif supporter.draft_id ~= last_draft.id then
    1.22    supporter.draft_id = last_draft.id
    1.23    supporter:save()
    1.24 -  slot.put_into("notice", _"Your support has been updated to the latest draft")
    1.25 +--  slot.put_into("notice", _"Your support has been updated to the latest draft")
    1.26  else
    1.27 -  slot.put_into("notice", _"You are already supporting the latest draft")
    1.28 +--  slot.put_into("notice", _"You are already supporting the latest draft")
    1.29  end
    1.30  

Impressum / About Us