liquid_feedback_frontend

diff app/main/timeline/_action/update.lua @ 145:90520c9fca44

implement area filter in timeline

allows the user to ignore any area in the timeline filter.
better display in javascript off
author Daniel Poelzleithner <poelzi@poelzi.org>
date Thu Oct 07 00:35:48 2010 +0200 (2010-10-07)
parents 7c3e8a1678fc
children 3d0b6f87d8e5
line diff
     1.1 --- a/app/main/timeline/_action/update.lua	Wed Oct 06 18:15:23 2010 +0200
     1.2 +++ b/app/main/timeline/_action/update.lua	Thu Oct 07 00:35:48 2010 +0200
     1.3 @@ -28,6 +28,10 @@
     1.4    end
     1.5  end
     1.6  
     1.7 +if param.get_list("option_ignore_area", atom.string) then
     1.8 +  options_string = options_string.." ignore_area:"..table.concat(param.get_list("option_ignore_area", atom.string), "|")
     1.9 +end
    1.10 +
    1.11  if not options_string then
    1.12    options_string = "issue_created:* issue_finished_after_voting:* issue_accepted:* issue_voting_started:* suggestion_created:* issue_canceled:* initiative_created:* issue_finished_without_voting:* draft_created:* initiative_revoked:* issue_half_frozen:* "
    1.13  end

Impressum / About Us