Created
August 31, 2015 16:32
-
-
Save btbjosh/3200947ada9c393dc6a3 to your computer and use it in GitHub Desktop.
Layout Template with Helpers for authInProgress
This file contains hidden or 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
<template name="orgLayout"> | |
{{#if authInProgress}} | |
<div class="ui container"> | |
<div class="ui segment"> | |
<p>Loading user...</p> | |
</div> | |
</div> | |
{{else}} | |
{{#if isAuthorized}} | |
...MAIN CONTENT... | |
{{else}} | |
{{> accessDenied}} | |
{{/if}} | |
{{/if}} | |
</template> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment