Skip to content

Commit

Permalink
wizard. add nethlink type in dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
edospadoni committed Mar 11, 2024
1 parent 42d77cf commit 19dabc5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions wizard/app/views/dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ <h2 class="card-pf-title ng-binding dashboard-cards-h2">
</div>
<div class="list-view-pf-main-info exten-dashboard-label">
<div class="list-view-pf-left">
<span class="fa {{exten.type.indexOf('webrtc') === 0 ? 'fa-headphones' : 'fa-phone'}} {{data.extensions[exten.id].status === 'online' ? 'online-green' : data.extensions[exten.id].status === 'offline' ? 'offline-gray' : 'online-red'}} list-view-pf-icon-sm user-dashboard-icon"></span>
<span class="fa {{(exten.type.indexOf('webrtc') === 0 || exten.type.indexOf('nethlink') === 0) ? 'fa-headphones' : 'fa-phone'}} {{data.extensions[exten.id].status === 'online' ? 'online-green' : data.extensions[exten.id].status === 'offline' ? 'offline-gray' : 'online-red'}} list-view-pf-icon-sm user-dashboard-icon"></span>
</div>
<div class="list-view-pf-body">
<div class="list-view-pf-additional-info">
Expand Down Expand Up @@ -227,21 +227,21 @@ <h4 class="modal-title" id="myModalLabel">{{'Extension' | translate}} {{data.sel
<label class="control-label">{{data.selExten.sipuseragent !== '' ? data.selExten.sipuseragent : '-'}}</label>
</div>
</div>
<div ng-show="data.selExten.type.indexOf('webrtc') === -1" class="form-group">
<div ng-show="(data.selExten.type.indexOf('webrtc') === -1 && data.selExten.type.indexOf('nethlink') === -1)" class="form-group">
<label class="col-sm-4 control-label">{{'Type' | translate}}:</label>
<div class="col-sm-8">
<label class="control-label">{{data.selExten.chanType !== '' ? data.selExten.chanType : '-'}}</label>
</div>
</div>
<div ng-if="data.selExten.type.indexOf('webrtc') === -1" class="form-group">
<div ng-if="(data.selExten.type.indexOf('webrtc') === -1 && data.selExten.type.indexOf('nethlink') === -1)" class="form-group">
<label class="col-sm-4 control-label">{{'IP Address' | translate}}:</label>
<div class="col-sm-8">
<label class="control-label">
<a target="_blank" ng-href="http://{{data.selExten.ip}}">{{data.selExten.ip !== '' ? data.selExten.ip : '-'}}</a>
</label>
</div>
</div>
<div ng-if="data.selExten.type.indexOf('webrtc') === -1" class="form-group">
<div ng-if="(data.selExten.type.indexOf('webrtc') === -1) && data.selExten.type.indexOf('nethlink') === -1" class="form-group">
<label class="col-sm-4 control-label" for="textInput2-modal-markup">{{'Port' | translate}}:</label>
<div class="col-sm-8">
<label class="control-label">{{data.selExten.port !== '' ? data.selExten.port : '-'}}</label>
Expand Down

0 comments on commit 19dabc5

Please sign in to comment.