Skip to content

Instantly share code, notes, and snippets.

@vikramrojo
Last active November 13, 2018 23:42
Show Gist options
  • Select an option

  • Save vikramrojo/5be7fbb595fef6fef792de0574864860 to your computer and use it in GitHub Desktop.

Select an option

Save vikramrojo/5be7fbb595fef6fef792de0574864860 to your computer and use it in GitHub Desktop.
LDOverage&
LDOverage&
General -> General Admin
Dashboard -> Dashboard Admin
General Admin
OverageBanner -> Billing
NearOverageBanner -> Billing
Dashboard Admin
OverageMessage -> Usage
NearOverageMessage -> Usage
Account
Usage -> Usage
Billing -> Billing
Usage
Billing
function render(model){
if (model.active_states[0].image_url) {
return $("img",
{src: model.active_states[0].image_url, style: {width: "1204px", border: "2px solid silver"}});
} else {
let current_state_name = model.active_states[0].name;
return $("h1",
{style: {color: "darkBlue"}},
`The current screen is: ${current_state_name}`); }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment