Skip to content

Instantly share code, notes, and snippets.

@msolli
Last active September 19, 2018 08:03
Show Gist options
  • Save msolli/c05fe54a06279d653fd405753465bf2e to your computer and use it in GitHub Desktop.
Save msolli/c05fe54a06279d653fd405753465bf2e to your computer and use it in GitHub Desktop.
Candidates
Candidates
New*
rate -> Rated
reject -> Rejected
Rated
rate -> Rated
reject -> Rejected
hire -> Hired
Invited
reject -> Rejected
hire -> Hired
Rejected
Hired
Applications
Started*
complete-survey -> Survey-Completed
Survey-Completed
delete-survey -> Started
submit -> Submitted
Submitted
unsubmit -> Survey-Completed
archive -> Archived
Archived
function render(model){
let current_state_name = model.active_states[0].name;
return $("h1",
{style: {color: "darkBlue"}},
`The current state is: ${current_state_name}`);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment