<s> from django import template <EOL> register = template . Library ( ) <EOL> HAPPY = [ '<STR_LIT>' ] <EOL> WAITING = [ '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ] <EOL> BORKED = [ '<STR_LIT>' ] <EOL> FATAL = [ '<STR_LIT>' ] <EOL> @ register . filter ( ) <EOL> def mood_style ( m ) : <EOL> if m in HAPPY : <EOL> return '<STR_LIT>' <EOL> elif m in WAITING : <EOL> return '<STR_LIT>' <EOL> elif m in BORKED : <EOL> return '<STR_LIT>' <EOL> elif m in FATAL : <EOL> return '<STR_LIT>' <EOL> else : <EOL> return '<STR_LIT>' </s>
