Skip to content

Instantly share code, notes, and snippets.

@augustovictor
Created March 23, 2012 01:01
Show Gist options
  • Save augustovictor/2165907 to your computer and use it in GitHub Desktop.
Save augustovictor/2165907 to your computer and use it in GitHub Desktop.
priority_class(priorityLvl)
if priorityLvl == 0
priorityBg = 'low'
if priorityLvl == 1
priorityBg = 'normal'
if priorityLvl == 2
priorityBg = 'high'
return priorityBg
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment