osb/spark/resources/views/nav/subscriptions.blade.php

26 lines
718 B
PHP
Raw Normal View History

2017-11-03 05:26:07 +00:00
@if (Auth::user()->onTrial())
<!-- Trial Reminder -->
<li class="dropdown-header">Trial</li>
<li>
<a href="/settings#/subscription">
<i class="fa fa-fw fa-btn fa-shopping-bag"></i>Subscribe
</a>
</li>
<li class="divider"></li>
@endif
@if (Spark::usesTeams() && Auth::user()->currentTeamOnTrial())
<!-- Team Trial Reminder -->
<li class="dropdown-header">{{ ucfirst(Spark::teamString()) }} Trial</li>
<li>
<a href="/settings/{{ str_plural(Spark::teamString()) }}/{{ Auth::user()->currentTeam()->id }}#/subscription">
<i class="fa fa-fw fa-btn fa-shopping-bag"></i>Subscribe
</a>
</li>
<li class="divider"></li>
@endif