Skip to content

Commit

Permalink
MSPB-259,MSPB-262,MSPB-265: Render numbers/devices/groups tab based o…
Browse files Browse the repository at this point in the history
…n feature set (#447)

* Render numbers tab based on feature set

* Render groups tab based on feature set

* Render devices tab based on feature set
  • Loading branch information
joristirado authored Aug 30, 2022
1 parent 361914a commit 7cc9bdb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions views/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@
</div>

<div class="category-group">
{{#isFeatureAvailable "smartpbx.numbers.manage"}}
<div id="numbers" class="category">
<div class="title">
<i class="icon-telicon-apps"></i>
<span class="title-text visible-desktop">{{ i18n.menuTitles.numbers }}</span>
</div>
</div>
{{/isFeatureAvailable}}

<div id="users" class="category">
<div class="title">
Expand All @@ -22,12 +24,14 @@
</div>
</div>

{{#isFeatureAvailable "smartpbx.groups.manage"}}
<div id="groups" class="category">
<div class="title">
<i class="fa fa-users"></i>
<span class="title-text visible-desktop">{{ i18n.menuTitles.groups }}</span>
</div>
</div>
{{/isFeatureAvailable}}

<div id="strategy" class="category">
<div class="title">
Expand All @@ -45,12 +49,14 @@
</div>

<div class="category-group">
{{#isFeatureAvailable "smartpbx.devices.manage"}}
<div id="devices" class="category">
<div class="title">
<i class="icon-telicon-voip-phone larger-margin"></i>
<span class="title-text visible-desktop">{{ i18n.menuTitles.devices }}</span>
</div>
</div>
{{/isFeatureAvailable}}

<div id="vmboxes" class="category">
<div class="title">
Expand Down

0 comments on commit 7cc9bdb

Please sign in to comment.