<div class="billing-page page-content">
<div class="resource-view" resource="entityResource" error-message="'Could not load entity'">
<div class="cor-title" ng-if="organization">
<span class="cor-title-link">
<a class="back-link" href="/organization/{{ organization.name }}?tab=settings">
<span class="avatar" size="24" data="organization.avatar"></span>
{{ organization.name }}
</a>
</span>
<span class="cor-title-content">
Account Plan
</div>
<div class="cor-title" ng-if="viewuser">
<a class="back-link" href="/user/{{ viewuser.username }}?tab=settings">
<span class="avatar" size="24" data="viewuser.avatar"></span>
{{ viewuser.username }}
<div class="co-main-content-panel" style="min-height: 500px;">
<div ng-if="!invaliduser">
<div class="plan-manager" organization="organization.name" has-subscription="hasSubscription" ng-if="organization"></div>
<div class="plan-manager" user="viewuser" has-subscription="hasSubscription" ng-if="!organization"></div>
<div class="co-alert co-alert-danger" ng-if="invaliduser">
You do not have access to this resource