Last active
March 15, 2016 20:32
-
-
Save vijedi/59853fb57ce22ee8b6b3 to your computer and use it in GitHub Desktop.
Code that showed the correct thing in the directive
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
<!-- has_alerts is true and view_opts.state is set to 'expired' --> | |
<div id='BriefAlert' class='alert alert-info' ng-show='has_alerts'> | |
<span ng-switch='view_opts.state'> | |
<span ng-switch-when='expired'>This thing was expired</span> | |
<span ng-switch-when='reassigend'>This thing was reassigned to someone else</span> | |
<span ng-switch-when='view_only'>You can only view this thing</span> | |
</span> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment