mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04: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',
|
'invoice_number_padding' => 'Padding',
|
||||||
'preview' => 'Preview',
|
'preview' => 'Preview',
|
||||||
'list_vendors' => 'List Vendors',
|
'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
|
@parent
|
||||||
@include('accounts.nav', ['selected' => ACCOUNT_USER_MANAGEMENT, 'advanced' => true])
|
@include('accounts.nav', ['selected' => ACCOUNT_USER_MANAGEMENT, 'advanced' => true])
|
||||||
|
|
||||||
|
|
||||||
<div class="pull-right">
|
|
||||||
@if (Utils::hasFeature(FEATURE_USERS))
|
@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
|
@endif
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<label for="trashed" style="font-weight:normal; margin-left: 10px;">
|
<label for="trashed" style="font-weight:normal; margin-left: 10px;">
|
||||||
<input id="trashed" type="checkbox" onclick="setTrashVisible()"
|
<input id="trashed" type="checkbox" onclick="setTrashVisible()"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user