Created
February 28, 2019 21:52
-
-
Save swashcap/80616e5fb8ffeb83979a92bf4d9b6dbd to your computer and use it in GitHub Desktop.
Welcome*
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Welcome* | |
Owner | |
dashboard -> Dashboard | |
Non-Owner | |
create -> Create | |
find -> Search Results | |
Auth | |
redirect -> Create | |
Create | |
Authorized | |
create -> Dashboard | |
cancel -> Welcome | |
Not Authorized | |
notauthorized -> Auth | |
Dashboard | |
Registry Owner | |
edit -> Edit Registry | |
Registry Non-Owner | |
add to cart -> Cart | |
Cart | |
Edit Registry | |
Search Results | |
back -> Welcome | |
paginate -> Search Results |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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