|
|
@ -216,7 +216,7 @@
|
|
|
|
<div class="accordion-inner">
|
|
|
|
<div class="accordion-inner">
|
|
|
|
[% IF contract.max_subscribers.defined && subscriber_count < contract.max_subscribers -%]
|
|
|
|
[% IF contract.max_subscribers.defined && subscriber_count < contract.max_subscribers -%]
|
|
|
|
<div class="alert alert-info">
|
|
|
|
<div class="alert alert-info">
|
|
|
|
[% c.loc('[_1] of maximum [_2] subscribers [_3]created',subscriber_count, contract.max_subscribers,
|
|
|
|
[% c.loc('[_1] of maximum [_2] subscribers [_3] created',subscriber_count, contract.max_subscribers,
|
|
|
|
c.config.features.cloudpbx ? c.loc('(including PBX groups) ') : '') %]
|
|
|
|
c.config.features.cloudpbx ? c.loc('(including PBX groups) ') : '') %]
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<a class="btn btn-large btn-primary" href="[% c.uri_for_action('/customer/pbx_group_create', [ c.req.captures.0 ]) %]">
|
|
|
|
<a class="btn btn-large btn-primary" href="[% c.uri_for_action('/customer/pbx_group_create', [ c.req.captures.0 ]) %]">
|
|
|
@ -224,7 +224,7 @@
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
[% ELSIF contract.max_subscribers.defined -%]
|
|
|
|
[% ELSIF contract.max_subscribers.defined -%]
|
|
|
|
<div class="alert">
|
|
|
|
<div class="alert">
|
|
|
|
[% c.loc('Maximum number of [_1] subscribers [_2]created',contract.max_subscribers,
|
|
|
|
[% c.loc('Maximum number of [_1] subscribers [_2] created',contract.max_subscribers,
|
|
|
|
c.config.features.cloudpbx ? c.loc('(including PBX groups) ') : '') %]
|
|
|
|
c.config.features.cloudpbx ? c.loc('(including PBX groups) ') : '') %]
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
[% ELSE %]
|
|
|
|
[% ELSE %]
|
|
|
|