Skip to content

Instantly share code, notes, and snippets.

@raulanatol
Created July 26, 2020 11:23
Show Gist options
  • Save raulanatol/c1ede8a73362f060e1459846f4110c6d to your computer and use it in GitHub Desktop.
Save raulanatol/c1ede8a73362f060e1459846f4110c6d to your computer and use it in GitHub Desktop.
if(prop("Progress") == 0, "❌", if(prop("Progress") == 100, "✅", if(smallerEq(prop("Progress"), 10), "■ 10%", if(smallerEq(prop("Progress"), 20), "■■ 20%", if(smallerEq(prop("Progress"), 30), "■■■ 30%", if(smallerEq(prop("Progress"), 40), "■■■■ 40%", if(smallerEq(prop("Progress"), 50), "■■■■■ 50%", if(smallerEq(prop("Progress"), 60), "■■■■■■ 60%", if(smallerEq(prop("Progress"), 70), "■■■■■■■ 70%", if(smallerEq(prop("Progress"), 80), "■■■■■■■■ 80%", if(smallerEq(prop("Progress"), 90), "■■■■■■■■■ 90%", if(smallerEq(prop("Progress"), 99), "■■■■■■■■■ 99%", ""))))))))))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment