c7e439f593
Ensures that we don't display an empty error box
9 lines
402 B
HTML
9 lines
402 B
HTML
<div class="resource-view-element">
|
|
<div class="cor-loader" ng-show="getState(resources) == 'loading'"></div>
|
|
<div class="co-alert co-alert-warning" ng-show="getState(resources) == 'error'">
|
|
{{ errorMessage || 'Could not load resource' }}
|
|
</div>
|
|
<div class="resource-content" ng-class="getState(resources) == 'ready' ? 'visible' : 'hidden'">
|
|
<span ng-transclude></span>
|
|
</div>
|
|
</div>
|