Skip to content

Commit

Permalink
Merge pull request #194 from nethesis/fixUITrunks
Browse files Browse the repository at this point in the history
Fix missing update on modal save inside trunks -> physical
  • Loading branch information
tonyco97 authored May 6, 2024
2 parents db819c5 + 7c93d0e commit cecf539
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions wizard/app/scripts/controllers/trunks/physical.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ angular.module('nethvoiceWizardUiApp')
}
DeviceService.saveGatewayConfig(device).then(function (res) {
$scope.hideGatewayDialog();
$scope.getGatewayList('eth-fake', 'fake-network');
device.id = res.data.id
if (isNew) {
$scope.allDevices[device.network_key].push(device);
Expand Down
8 changes: 4 additions & 4 deletions wizard/app/views/configurations/preferences.html
Original file line number Diff line number Diff line change
Expand Up @@ -306,10 +306,10 @@ <h1 class="control-label centered" for="textInput-markup">{{'Users Configuration
</div>
<div class="modal-body">
<ul class="modalListConfiguration">
<li class="listConfiguration"><b>{{"Indirizzo Centralino" | translate}}:</b> {{hostname}}</li>
<li class="listConfiguration"><b>{{"Configurare porta 5061" | translate}}</b> </li>
<li class="listConfiguration"><b>{{"Abilitare trasporto TLS" | translate}}</b></li>
<li class="listConfiguration"><b>{{"Configurare audio sicuro SRTP" | translate}}</b></li>
<li class="listConfiguration"><b>{{"PBX address" | translate}}:</b> {{hostname}}</li>
<li class="listConfiguration"><b>{{"Configure port 5061" | translate}}</b> </li>
<li class="listConfiguration"><b>{{"Enable TLS transport" | translate}}</b></li>
<li class="listConfiguration"><b>{{"Configure SRTP Secure Audio" | translate}}</b></li>
<li class="listConfiguration"><b>{{"default_extension" | translate}}:</b> {{deviceExtension}}</li>
<li class="listConfiguration" id="showPassword" data-content="{{passwordExtension}}"><b>{{"Password" | translate}}:</b> {{passwordExtension}}
<clipboard-copy class="pficon-blueprint" value="{{passwordExtension}}" ng-click="copyPassword()"
Expand Down
4 changes: 2 additions & 2 deletions wizard/app/views/trunks/physical.html
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ <h1 class="control-label config-title-user" for="textInput-markup">
</div>
</div>

<div class="form-group">
<div class="form-group ng-hide">
<label class="col-sm-3 control-label">{{'Proxy address' | translate}}</label>
<div class="col-sm-9">
<input type="text" ng-model="selectedDevice.proxy" class="form-control" ng-disabled="selectedDevice.isConfigured">
Expand Down Expand Up @@ -283,7 +283,7 @@ <h4 class="modal-title">{{'New Gateway' | translate}}</h4>
</div>
</div>

<div class="form-group">
<div class="form-group ng-hide">
<label class="col-sm-3 control-label">{{'Proxy address' | translate}}</label>
<div class="col-sm-9">
<input type="text" ng-model="newGateway.proxy" class="form-control">
Expand Down

0 comments on commit cecf539

Please sign in to comment.