osb/spark/resources/views/settings/teams/team-membership.blade.php
2017-11-03 16:26:07 +11:00

21 lines
693 B
PHP

<spark-team-membership :user="user" :team="team" :billable-type="billableType" inline-template>
<div>
@if (Auth::user()->ownsTeam($team))
<!-- Send Invitation -->
<div v-if="user && team">
@include('spark::settings.teams.send-invitation')
</div>
<!-- Pending Invitations -->
<div v-if="invitations && invitations.length > 0">
@include('spark::settings.teams.mailed-invitations')
</div>
@endif
<!-- Team Members -->
<div v-if="user && team">
@include('spark::settings.teams.team-members')
</div>
</div>
</spark-team-membership>