1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-09 20:52:56 +01:00

Added 'pro' label to navigation when on trial

This commit is contained in:
Hillel Coren 2016-11-06 15:32:25 +02:00
parent a76e9ae437
commit fbf5e726fb

View File

@ -526,6 +526,7 @@
class="{{ Request::is("{$option}*") ? 'active' : '' }}">
<i class="fa fa-{{ \App\Models\EntityModel::getIcon($option) }}" style="width:46px; padding-right:10px"></i>
{{ ($option == 'recurring_invoices') ? trans('texts.recurring') : trans("texts.{$option}") }}
{!! Utils::isTrial() && in_array($option, ['quotes', 'tasks', 'expenses', 'vendors']) ? '&nbsp;<sup>' . trans('texts.pro') . '</sup>' : '' !!}
@if (false && $option == 'self-update' && Updater::source()->isNewVersionAvailable('v'.NINJA_VERSION))
<span class="badge alert-danger">1</span>
@endif