liquid_feedback_frontend

view env/lf4rcs/notification_handler.lua @ 1245:9578cef4018a

More readable phase duration in issue sidebar
author bsw
date Wed Jan 27 11:16:26 2016 +0100 (2016-01-27)
parents 30523f31b186
children
line source
1 function lf4rcs.notification_handler(event)
2 if event.event == "issue_state_changed" and (
3 event.state ~= "admission" and
4 event.state ~= "discussion" and
5 event.state ~= "verification" and
6 event.state ~= "voting"
7 ) then
8 lf4rcs.commit(event.issue)
9 end
10 end

Impressum / About Us