mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Added message if adding users insn't supported
This commit is contained in:
parent
eff9ba5ac0
commit
f2e651d53f
@ -1178,6 +1178,7 @@ $LANG = array(
|
||||
'invoice_number_padding' => 'Padding',
|
||||
'preview' => 'Preview',
|
||||
'list_vendors' => 'List Vendors',
|
||||
'add_users_not_supported' => 'Upgrade to the Enterprise plan to add additional users to your account.',
|
||||
|
||||
);
|
||||
|
||||
|
@ -4,13 +4,13 @@
|
||||
@parent
|
||||
@include('accounts.nav', ['selected' => ACCOUNT_USER_MANAGEMENT, 'advanced' => true])
|
||||
|
||||
|
||||
<div class="pull-right">
|
||||
@if (Utils::hasFeature(FEATURE_USERS))
|
||||
{!! Button::primary(trans('texts.add_user'))->asLinkTo(URL::to('/users/create'))->appendIcon(Icon::create('plus-sign')) !!}
|
||||
<div class="pull-right">
|
||||
{!! Button::primary(trans('texts.add_user'))->asLinkTo(URL::to('/users/create'))->appendIcon(Icon::create('plus-sign')) !!}
|
||||
</div>
|
||||
@else
|
||||
<div class="alert alert-warning">{!! trans('texts.add_users_not_supported') !!}</div>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
|
||||
<label for="trashed" style="font-weight:normal; margin-left: 10px;">
|
||||
<input id="trashed" type="checkbox" onclick="setTrashVisible()"
|
||||
|
Loading…
Reference in New Issue
Block a user