osb/spark/resources/views/settings/teams/team-membership.blade.php

21 lines
693 B
PHP
Raw Normal View History

2017-11-03 05:26:07 +00:00
<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>