You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by de...@apache.org on 2018/02/21 18:27:29 UTC
[incubator-trafficcontrol] 13/33: only show ds request vs ds diff
if ds request is still "open"
This is an automated email from the ASF dual-hosted git repository.
dewrich pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-trafficcontrol.git
commit 0f9899e4cb36880266d6bb636db91bef628871e8
Author: Jeremy Mitchell <mi...@gmail.com>
AuthorDate: Wed Jan 17 20:23:43 2018 -0700
only show ds request vs ds diff if ds request is still "open"
---
.../form.deliveryService.DNS.tpl.html | 90 +++++++++++-----------
.../form.deliveryService.HTTP.tpl.html | 88 ++++++++++-----------
.../form.deliveryService.Steering.tpl.html | 42 +++++-----
.../form.deliveryService.anyMap.tpl.html | 46 +++++------
.../TableDeliveryServiceRequestsController.js | 2 +-
.../table.deliveryServiceRequests.tpl.html | 4 +-
.../FormEditDeliveryServiceRequestController.js | 2 +-
7 files changed, 137 insertions(+), 137 deletions(-)
diff --git a/traffic_portal/app/src/common/modules/form/deliveryService/form.deliveryService.DNS.tpl.html b/traffic_portal/app/src/common/modules/form/deliveryService/form.deliveryService.DNS.tpl.html
index fe2e2df..199633d 100644
--- a/traffic_portal/app/src/common/modules/form/deliveryService/form.deliveryService.DNS.tpl.html
+++ b/traffic_portal/app/src/common/modules/form/deliveryService/form.deliveryService.DNS.tpl.html
@@ -26,7 +26,7 @@ under the License.
<li class="active">{{deliveryServiceName}}</li>
</ol>
<div class="pull-right" role="group" ng-if="settings.isRequest">
- <button class="btn btn-link request-status" title="Edit Status" ng-disabled="!statusEditable()" ng-click="editStatus()">[ {{::requestStatus}} ]</button>
+ <button class="btn btn-link request-status" title="Edit Status" ng-disabled="!open()" ng-click="editStatus()">[ {{::requestStatus}} ]</button>
</div>
<div class="pull-right" role="group" ng-if="!settings.isRequest && !settings.isNew">
<div class="btn-group" role="group" uib-dropdown is-open="keys.isopen">
@@ -68,7 +68,7 @@ under the License.
<option value="">Select...</option>
</select>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.active, 'required')">Required</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.active != dsOriginal.active">Current Value: [ {{dsOriginal.active}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.active != dsOriginal.active">Current Value: [ {{dsOriginal.active}} ]</small>
</div>
</div>
@@ -79,7 +79,7 @@ under the License.
<option value="">Select...</option>
</select>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.type, 'required')">Required</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.typeId != dsOriginal.typeId">Current Value: [ {{dsOriginal.type}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.typeId != dsOriginal.typeId">Current Value: [ {{dsOriginal.type}} ]</small>
</div>
</div>
@@ -90,7 +90,7 @@ under the License.
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.xmlId, 'required')">Required</small>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.xmlId, 'maxlength')">Too Long</small>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.xmlId, 'pattern')">No spaces</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.xmlId != dsOriginal.xmlId">Current Value: [ {{dsOriginal.xmlId}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.xmlId != dsOriginal.xmlId">Current Value: [ {{dsOriginal.xmlId}} ]</small>
<span ng-show="hasError(deliveryServiceForm.xmlId)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -101,7 +101,7 @@ under the License.
<input name="displayName" type="text" class="form-control" ng-model="deliveryService.displayName" ng-maxlength="48" required autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.displayName, 'required')">Required</small>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.displayName, 'maxlength')">Too Long</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.displayName != dsOriginal.displayName">Current Value: [ {{dsOriginal.displayName}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.displayName != dsOriginal.displayName">Current Value: [ {{dsOriginal.displayName}} ]</small>
<span ng-show="hasError(deliveryServiceForm.displayName)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -113,7 +113,7 @@ under the License.
<option value="">Select...</option>
</select>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.tenantId, 'required')">Required</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.tenantId != dsOriginal.tenantId">Current Value: [ {{dsOriginal.tenant}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.tenantId != dsOriginal.tenantId">Current Value: [ {{dsOriginal.tenant}} ]</small>
</div>
</div>
@@ -124,7 +124,7 @@ under the License.
<option value="">Select...</option>
</select>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.cdn, 'required')">Required</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.cdnId != dsOriginal.cdnId">Current Value: [ {{dsOriginal.cdnName}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.cdnId != dsOriginal.cdnId">Current Value: [ {{dsOriginal.cdnName}} ]</small>
</div>
</div>
@@ -134,7 +134,7 @@ under the License.
<input name="orgServerFqdn" type="text" class="form-control" placeholder="http(s)//:" ng-model="deliveryService.orgServerFqdn" ng-pattern="/^(https?:\/\/)/" required autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.orgServerFqdn, 'required')">Required</small>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.orgServerFqdn, 'pattern')">Must start with http:// or https://</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.orgServerFqdn != dsOriginal.orgServerFqdn">Current Value: [ {{dsOriginal.orgServerFqdn}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.orgServerFqdn != dsOriginal.orgServerFqdn">Current Value: [ {{dsOriginal.orgServerFqdn}} ]</small>
<span ng-show="hasError(deliveryServiceForm.orgServerFqdn)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -146,7 +146,7 @@ under the License.
<option value="">Select...</option>
</select>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.protocol, 'required')">Required</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.protocol != dsOriginal.protocol">Current Value: [ {{dsOriginal.protocol}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.protocol != dsOriginal.protocol">Current Value: [ {{dsOriginal.protocol}} ]</small>
</div>
</div>
@@ -156,7 +156,7 @@ under the License.
<input name="longDesc" type="text" class="form-control" ng-model="deliveryService.longDesc" ng-maxlength="1024" autofocus required>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.longDesc, 'required')">Required</small>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.longDesc, 'maxlength')">Too Long</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.longDesc != dsOriginal.longDesc">Current Value: [ {{dsOriginal.longDesc}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.longDesc != dsOriginal.longDesc">Current Value: [ {{dsOriginal.longDesc}} ]</small>
<span ng-show="hasError(deliveryServiceForm.longDesc)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -178,7 +178,7 @@ under the License.
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.routingName, 'required')">Required</small>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.routingName, 'maxlength')">Too Long</small>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.routingName, 'pattern')">Invalid. Must be a valid hostname without periods</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.routingName != dsOriginal.routingName">Current Value: [ {{dsOriginal.routingName}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.routingName != dsOriginal.routingName">Current Value: [ {{dsOriginal.routingName}} ]</small>
<span ng-show="hasError(deliveryServiceForm.routingName)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -190,7 +190,7 @@ under the License.
<option value="">Select...</option>
</select>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.dscp, 'required')">Required</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.dscp != dsOriginal.dscp">Current Value: [ {{dsOriginal.dscp}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.dscp != dsOriginal.dscp">Current Value: [ {{dsOriginal.dscp}} ]</small>
</div>
</div>
@@ -201,7 +201,7 @@ under the License.
<option value="">Select...</option>
</select>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.ipv6RoutingEnabled, 'required')">Required</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.ipv6RoutingEnabled != dsOriginal.ipv6RoutingEnabled">Current Value: [ {{dsOriginal.ipv6RoutingEnabled}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.ipv6RoutingEnabled != dsOriginal.ipv6RoutingEnabled">Current Value: [ {{dsOriginal.ipv6RoutingEnabled}} ]</small>
</div>
</div>
@@ -212,7 +212,7 @@ under the License.
<option value="">Select...</option>
</select>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.rangeRequestHandling, 'required')">Required</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.rangeRequestHandling != dsOriginal.rangeRequestHandling">Current Value: [ {{dsOriginal.rangeRequestHandling}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.rangeRequestHandling != dsOriginal.rangeRequestHandling">Current Value: [ {{dsOriginal.rangeRequestHandling}} ]</small>
</div>
</div>
@@ -223,7 +223,7 @@ under the License.
<option value="">Select...</option>
</select>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.qstringIgnore, 'required')">Required</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.qstringIgnore != dsOriginal.qstringIgnore">Current Value: [ {{dsOriginal.qstringIgnore}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.qstringIgnore != dsOriginal.qstringIgnore">Current Value: [ {{dsOriginal.qstringIgnore}} ]</small>
</div>
</div>
@@ -234,7 +234,7 @@ under the License.
<option value="">Select...</option>
</select>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.multiSiteOrigin, 'required')">Required</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.multiSiteOrigin != dsOriginal.multiSiteOrigin">Current Value: [ {{dsOriginal.multiSiteOrigin}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.multiSiteOrigin != dsOriginal.multiSiteOrigin">Current Value: [ {{dsOriginal.multiSiteOrigin}} ]</small>
</div>
</div>
@@ -245,7 +245,7 @@ under the License.
<option value="">Select...</option>
</select>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.logsEnabled, 'required')">Required</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.logsEnabled != dsOriginal.logsEnabled">Current Value: [ {{dsOriginal.logsEnabled}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.logsEnabled != dsOriginal.logsEnabled">Current Value: [ {{dsOriginal.logsEnabled}} ]</small>
</div>
</div>
@@ -256,7 +256,7 @@ under the License.
<option value="">Select...</option>
</select>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.geoProvider, 'required')">Required</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.geoProvider != dsOriginal.geoProvider">Current Value: [ {{dsOriginal.geoProvider}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.geoProvider != dsOriginal.geoProvider">Current Value: [ {{dsOriginal.geoProvider}} ]</small>
</div>
</div>
@@ -265,7 +265,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="missLat" type="number" class="form-control" ng-model="deliveryService.missLat" required autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.missLat, 'required')">Required</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.missLat != dsOriginal.missLat">Current Value: [ {{dsOriginal.missLat}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.missLat != dsOriginal.missLat">Current Value: [ {{dsOriginal.missLat}} ]</small>
<span ng-show="hasError(deliveryServiceForm.missLat)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -275,7 +275,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="missLong" type="number" class="form-control" ng-model="deliveryService.missLong" required autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.missLong, 'required')">Required</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.missLong != dsOriginal.missLong">Current Value: [ {{dsOriginal.missLong}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.missLong != dsOriginal.missLong">Current Value: [ {{dsOriginal.missLong}} ]</small>
<span ng-show="hasError(deliveryServiceForm.missLong)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -287,7 +287,7 @@ under the License.
<option value="">Select...</option>
</select>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.geoLimit, 'required')">Required</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.geoLimit != dsOriginal.geoLimit">Current Value: [ {{dsOriginal.geoLimit}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.geoLimit != dsOriginal.geoLimit">Current Value: [ {{dsOriginal.geoLimit}} ]</small>
</div>
</div>
@@ -296,7 +296,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="geoLimitCountries" type="text" class="form-control" ng-model="deliveryService.geoLimitCountries" ng-maxlength="255" autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.geoLimitCountries, 'maxlength')">Too Long</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.geoLimitCountries != dsOriginal.geoLimitCountries">Current Value: [ {{dsOriginal.geoLimitCountries}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.geoLimitCountries != dsOriginal.geoLimitCountries">Current Value: [ {{dsOriginal.geoLimitCountries}} ]</small>
<span ng-show="hasError(deliveryServiceForm.geoLimitCountries)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -306,7 +306,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="geoLimitRedirectURL" type="text" class="form-control" ng-model="deliveryService.geoLimitRedirectURL" ng-pattern="/^(https?:\/\/)/" autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.geoLimitRedirectURL, 'pattern')">Must start with http:// or https://</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.geoLimitRedirectURL != dsOriginal.geoLimitRedirectURL">Current Value: [ {{dsOriginal.geoLimitRedirectURL}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.geoLimitRedirectURL != dsOriginal.geoLimitRedirectURL">Current Value: [ {{dsOriginal.geoLimitRedirectURL}} ]</small>
<span ng-show="hasError(deliveryServiceForm.geoLimitRedirectURL)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -317,7 +317,7 @@ under the License.
<select name="signingAlgorithm" class="form-control" ng-model="deliveryService.signingAlgorithm" ng-options="sa.value as sa.label for sa in signingAlgos">
<option value="">Select...</option>
</select>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.signingAlgorithm != dsOriginal.signingAlgorithm">Current Value: [ {{dsOriginal.signingAlgorithm}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.signingAlgorithm != dsOriginal.signingAlgorithm">Current Value: [ {{dsOriginal.signingAlgorithm}} ]</small>
</div>
</div>
@@ -326,7 +326,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="dnsBypassIp" type="text" class="form-control" ng-model="deliveryService.dnsBypassIp" ng-maxlength="255" autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.dnsBypassIp, 'maxlength')">Too Long</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.dnsBypassIp != dsOriginal.dnsBypassIp">Current Value: [ {{dsOriginal.dnsBypassIp}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.dnsBypassIp != dsOriginal.dnsBypassIp">Current Value: [ {{dsOriginal.dnsBypassIp}} ]</small>
<span ng-show="hasError(deliveryServiceForm.dnsBypassIp)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -336,7 +336,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="dnsBypassIp6" type="text" class="form-control" ng-model="deliveryService.dnsBypassIp6" ng-maxlength="255" autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.dnsBypassIp6, 'maxlength')">Too Long</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.dnsBypassIp6 != dsOriginal.dnsBypassIp6">Current Value: [ {{dsOriginal.dnsBypassIp6}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.dnsBypassIp6 != dsOriginal.dnsBypassIp6">Current Value: [ {{dsOriginal.dnsBypassIp6}} ]</small>
<span ng-show="hasError(deliveryServiceForm.dnsBypassIp6)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -346,7 +346,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="dnsBypassCname" type="text" class="form-control" ng-model="deliveryService.dnsBypassCname" ng-maxlength="255" autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.dnsBypassCname, 'maxlength')">Too Long</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.dnsBypassCname != dsOriginal.dnsBypassCname">Current Value: [ {{dsOriginal.dnsBypassCname}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.dnsBypassCname != dsOriginal.dnsBypassCname">Current Value: [ {{dsOriginal.dnsBypassCname}} ]</small>
<span ng-show="hasError(deliveryServiceForm.dnsBypassCname)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -356,7 +356,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="dnsBypassTtl" type="number" class="form-control" ng-model="deliveryService.dnsBypassTtl" ng-pattern="/^\d+$/" autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.dnsBypassTtl, 'pattern')">Whole Number</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.dnsBypassTtl != dsOriginal.dnsBypassTtl">Current Value: [ {{dsOriginal.dnsBypassTtl}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.dnsBypassTtl != dsOriginal.dnsBypassTtl">Current Value: [ {{dsOriginal.dnsBypassTtl}} ]</small>
<span ng-show="hasError(deliveryServiceForm.dnsBypassTtl)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -366,7 +366,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="maxDnsAnswers" type="number" class="form-control" placeholder="Max number of IP addresses in DNS answer (0 means all)" ng-model="deliveryService.maxDnsAnswers" ng-pattern="/^\d+$/" autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.maxDnsAnswers, 'pattern')">Whole Number</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.maxDnsAnswers != dsOriginal.maxDnsAnswers">Current Value: [ {{dsOriginal.maxDnsAnswers}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.maxDnsAnswers != dsOriginal.maxDnsAnswers">Current Value: [ {{dsOriginal.maxDnsAnswers}} ]</small>
<span ng-show="hasError(deliveryServiceForm.maxDnsAnswers)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -376,7 +376,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="ccrDnsTtl" type="number" class="form-control" ng-model="deliveryService.ccrDnsTtl" ng-pattern="/^\d+$/" autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.ccrDnsTtl, 'pattern')">Whole Number</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.ccrDnsTtl != dsOriginal.ccrDnsTtl">Current Value: [ {{dsOriginal.ccrDnsTtl}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.ccrDnsTtl != dsOriginal.ccrDnsTtl">Current Value: [ {{dsOriginal.ccrDnsTtl}} ]</small>
<span ng-show="hasError(deliveryServiceForm.ccrDnsTtl)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -387,7 +387,7 @@ under the License.
<select name="profile" class="form-control" ng-model="deliveryService.profileId" ng-options="profile.id as profile.name for profile in profiles">
<option value="">Select...</option>
</select>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.profileId != dsOriginal.profileId">Current Value: [ {{dsOriginal.profileName}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.profileId != dsOriginal.profileId">Current Value: [ {{dsOriginal.profileName}} ]</small>
</div>
</div>
@@ -396,7 +396,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="globalMaxMbps" type="number" class="form-control" placeholder="Max bits per second allowed globally" ng-model="deliveryService.globalMaxMbps" ng-pattern="/^\d+$/" autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.globalMaxMbps, 'pattern')">Whole Number</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.globalMaxMbps != dsOriginal.globalMaxMbps">Current Value: [ {{dsOriginal.globalMaxMbps}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.globalMaxMbps != dsOriginal.globalMaxMbps">Current Value: [ {{dsOriginal.globalMaxMbps}} ]</small>
<span ng-show="hasError(deliveryServiceForm.globalMaxMbps)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -406,7 +406,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="globalMaxTps" type="number" class="form-control" placeholder="Max transactions per second allowed globally" ng-model="deliveryService.globalMaxTps" ng-pattern="/^\d+$/" autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.globalMaxTps, 'pattern')">Whole Number</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.globalMaxTps != dsOriginal.globalMaxTps">Current Value: [ {{dsOriginal.globalMaxTps}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.globalMaxTps != dsOriginal.globalMaxTps">Current Value: [ {{dsOriginal.globalMaxTps}} ]</small>
<span ng-show="hasError(deliveryServiceForm.globalMaxTps)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -416,7 +416,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="edgeHeaderRewrite" type="text" class="form-control" ng-model="deliveryService.edgeHeaderRewrite" ng-maxlength="2048" autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.edgeHeaderRewrite, 'maxlength')">Too Long</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.edgeHeaderRewrite != dsOriginal.edgeHeaderRewrite">Current Value: [ {{dsOriginal.edgeHeaderRewrite}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.edgeHeaderRewrite != dsOriginal.edgeHeaderRewrite">Current Value: [ {{dsOriginal.edgeHeaderRewrite}} ]</small>
<span ng-show="hasError(deliveryServiceForm.edgeHeaderRewrite)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -426,7 +426,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="midHeaderRewrite" type="text" class="form-control" ng-model="deliveryService.midHeaderRewrite" ng-maxlength="2048" autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.midHeaderRewrite, 'maxlength')">Too Long</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.midHeaderRewrite != dsOriginal.midHeaderRewrite">Current Value: [ {{dsOriginal.midHeaderRewrite}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.midHeaderRewrite != dsOriginal.midHeaderRewrite">Current Value: [ {{dsOriginal.midHeaderRewrite}} ]</small>
<span ng-show="hasError(deliveryServiceForm.midHeaderRewrite)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -436,7 +436,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="trResponseHeaders" type="text" class="form-control" ng-model="deliveryService.trResponseHeaders" ng-maxlength="1024" autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.trResponseHeaders, 'maxlength')">Too Long</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.trResponseHeaders != dsOriginal.trResponseHeaders">Current Value: [ {{dsOriginal.trResponseHeaders}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.trResponseHeaders != dsOriginal.trResponseHeaders">Current Value: [ {{dsOriginal.trResponseHeaders}} ]</small>
<span ng-show="hasError(deliveryServiceForm.trResponseHeaders)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -446,7 +446,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="trRequestHeaders" type="text" class="form-control" ng-model="deliveryService.trRequestHeaders" ng-maxlength="1024" autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.trRequestHeaders, 'maxlength')">Too Long</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.trRequestHeaders != dsOriginal.trRequestHeaders">Current Value: [ {{dsOriginal.trRequestHeaders}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.trRequestHeaders != dsOriginal.trRequestHeaders">Current Value: [ {{dsOriginal.trRequestHeaders}} ]</small>
<span ng-show="hasError(deliveryServiceForm.trRequestHeaders)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -456,7 +456,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="regexRemap" type="text" class="form-control" ng-model="deliveryService.regexRemap" ng-maxlength="1024" autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.regexRemap, 'maxlength')">Too Long</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.regexRemap != dsOriginal.regexRemap">Current Value: [ {{dsOriginal.regexRemap}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.regexRemap != dsOriginal.regexRemap">Current Value: [ {{dsOriginal.regexRemap}} ]</small>
<span ng-show="hasError(deliveryServiceForm.regexRemap)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -466,7 +466,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="cacheurl" type="text" class="form-control" ng-model="deliveryService.cacheurl" ng-maxlength="1024" autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.cacheurl, 'maxlength')">Too Long</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.cacheurl != dsOriginal.cacheurl">Current Value: [ {{dsOriginal.cacheurl}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.cacheurl != dsOriginal.cacheurl">Current Value: [ {{dsOriginal.cacheurl}} ]</small>
<span ng-show="hasError(deliveryServiceForm.cacheurl)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -476,7 +476,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="remapText" type="text" class="form-control" ng-model="deliveryService.remapText" ng-maxlength="2048" autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.remapText, 'maxlength')">Too Long</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.remapText != dsOriginal.remapText">Current Value: [ {{dsOriginal.remapText}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.remapText != dsOriginal.remapText">Current Value: [ {{dsOriginal.remapText}} ]</small>
<span ng-show="hasError(deliveryServiceForm.remapText)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -486,7 +486,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="longDesc1" type="text" class="form-control" ng-model="deliveryService.longDesc1" ng-maxlength="1024" autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.longDesc1, 'maxlength')">Too Long</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.longDesc1 != dsOriginal.longDesc1">Current Value: [ {{dsOriginal.longDesc1}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.longDesc1 != dsOriginal.longDesc1">Current Value: [ {{dsOriginal.longDesc1}} ]</small>
<span ng-show="hasError(deliveryServiceForm.longDesc1)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -496,7 +496,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="longDesc2" type="text" class="form-control" ng-model="deliveryService.longDesc2" ng-maxlength="1024" autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.longDesc2, 'maxlength')">Too Long</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.longDesc2 != dsOriginal.longDesc2">Current Value: [ {{dsOriginal.longDesc2}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.longDesc2 != dsOriginal.longDesc2">Current Value: [ {{dsOriginal.longDesc2}} ]</small>
<span ng-show="hasError(deliveryServiceForm.longDesc2)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -506,7 +506,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="infoUrl" type="text" class="form-control" ng-model="deliveryService.infoUrl" ng-maxlength="255" autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.infoUrl, 'maxlength')">Too Long</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.infoUrl != dsOriginal.infoUrl">Current Value: [ {{dsOriginal.infoUrl}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.infoUrl != dsOriginal.infoUrl">Current Value: [ {{dsOriginal.infoUrl}} ]</small>
<span ng-show="hasError(deliveryServiceForm.infoUrl)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -516,7 +516,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="checkPath" type="text" class="form-control" ng-model="deliveryService.checkPath" ng-maxlength="255" autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.checkPath, 'maxlength')">Too Long</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.checkPath != dsOriginal.checkPath">Current Value: [ {{dsOriginal.checkPath}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.checkPath != dsOriginal.checkPath">Current Value: [ {{dsOriginal.checkPath}} ]</small>
<span ng-show="hasError(deliveryServiceForm.checkPath)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -526,7 +526,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="originShield" type="text" class="form-control" ng-model="deliveryService.originShield" ng-maxlength="1024" autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.originShield, 'maxlength')">Too Long</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.originShield != dsOriginal.originShield">Current Value: [ {{dsOriginal.originShield}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.originShield != dsOriginal.originShield">Current Value: [ {{dsOriginal.originShield}} ]</small>
<span ng-show="hasError(deliveryServiceForm.originShield)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
diff --git a/traffic_portal/app/src/common/modules/form/deliveryService/form.deliveryService.HTTP.tpl.html b/traffic_portal/app/src/common/modules/form/deliveryService/form.deliveryService.HTTP.tpl.html
index 4828173..806fa25 100644
--- a/traffic_portal/app/src/common/modules/form/deliveryService/form.deliveryService.HTTP.tpl.html
+++ b/traffic_portal/app/src/common/modules/form/deliveryService/form.deliveryService.HTTP.tpl.html
@@ -26,7 +26,7 @@ under the License.
<li class="active">{{deliveryServiceName}}</li>
</ol>
<div class="pull-right" role="group" ng-if="settings.isRequest">
- <button class="btn btn-link request-status" title="Edit Status" ng-disabled="!statusEditable()" ng-click="editStatus()">[ {{::requestStatus}} ]</button>
+ <button class="btn btn-link request-status" title="Edit Status" ng-disabled="!open()" ng-click="editStatus()">[ {{::requestStatus}} ]</button>
</div>
<div class="pull-right" role="group" ng-if="!settings.isRequest && !settings.isNew">
<div class="btn-group" role="group" uib-dropdown is-open="keys.isopen">
@@ -68,7 +68,7 @@ under the License.
<option value="">Select...</option>
</select>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.active, 'required')">Required</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.active != dsOriginal.active">Current Value: [ {{dsOriginal.active}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.active != dsOriginal.active">Current Value: [ {{dsOriginal.active}} ]</small>
</div>
</div>
@@ -79,7 +79,7 @@ under the License.
<option value="">Select...</option>
</select>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.type, 'required')">Required</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.typeId != dsOriginal.typeId">Current Value: [ {{dsOriginal.type}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.typeId != dsOriginal.typeId">Current Value: [ {{dsOriginal.type}} ]</small>
</div>
</div>
@@ -90,7 +90,7 @@ under the License.
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.xmlId, 'required')">Required</small>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.xmlId, 'maxlength')">Too Long</small>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.xmlId, 'pattern')">No spaces</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.xmlId != dsOriginal.xmlId">Current Value: [ {{dsOriginal.xmlId}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.xmlId != dsOriginal.xmlId">Current Value: [ {{dsOriginal.xmlId}} ]</small>
<span ng-show="hasError(deliveryServiceForm.xmlId)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -101,7 +101,7 @@ under the License.
<input name="displayName" type="text" class="form-control" ng-model="deliveryService.displayName" ng-maxlength="48" required autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.displayName, 'required')">Required</small>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.displayName, 'maxlength')">Too Long</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.displayName != dsOriginal.displayName">Current Value: [ {{dsOriginal.displayName}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.displayName != dsOriginal.displayName">Current Value: [ {{dsOriginal.displayName}} ]</small>
<span ng-show="hasError(deliveryServiceForm.displayName)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -113,7 +113,7 @@ under the License.
<option value="">Select...</option>
</select>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.tenantId, 'required')">Required</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.tenantId != dsOriginal.tenantId">Current Value: [ {{dsOriginal.tenant}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.tenantId != dsOriginal.tenantId">Current Value: [ {{dsOriginal.tenant}} ]</small>
</div>
</div>
@@ -124,7 +124,7 @@ under the License.
<option value="">Select...</option>
</select>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.cdn, 'required')">Required</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.cdnId != dsOriginal.cdnId">Current Value: [ {{dsOriginal.cdnName}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.cdnId != dsOriginal.cdnId">Current Value: [ {{dsOriginal.cdnName}} ]</small>
</div>
</div>
@@ -134,7 +134,7 @@ under the License.
<input name="orgServerFqdn" type="text" class="form-control" placeholder="http(s)//:" ng-model="deliveryService.orgServerFqdn" ng-pattern="/^(https?:\/\/)/" required autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.orgServerFqdn, 'required')">Required</small>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.orgServerFqdn, 'pattern')">Must start with http:// or https://</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.orgServerFqdn != dsOriginal.orgServerFqdn">Current Value: [ {{dsOriginal.orgServerFqdn}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.orgServerFqdn != dsOriginal.orgServerFqdn">Current Value: [ {{dsOriginal.orgServerFqdn}} ]</small>
<span ng-show="hasError(deliveryServiceForm.orgServerFqdn)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -146,7 +146,7 @@ under the License.
<option value="">Select...</option>
</select>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.protocol, 'required')">Required</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.protocol != dsOriginal.protocol">Current Value: [ {{dsOriginal.protocol}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.protocol != dsOriginal.protocol">Current Value: [ {{dsOriginal.protocol}} ]</small>
</div>
</div>
@@ -156,7 +156,7 @@ under the License.
<input name="longDesc" type="text" class="form-control" ng-model="deliveryService.longDesc" ng-maxlength="1024" autofocus required>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.longDesc, 'required')">Required</small>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.longDesc, 'maxlength')">Too Long</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.longDesc != dsOriginal.longDesc">Current Value: [ {{dsOriginal.longDesc}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.longDesc != dsOriginal.longDesc">Current Value: [ {{dsOriginal.longDesc}} ]</small>
<span ng-show="hasError(deliveryServiceForm.longDesc)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -178,7 +178,7 @@ under the License.
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.routingName, 'required')">Required</small>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.routingName, 'maxlength')">Too Long</small>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.routingName, 'pattern')">Invalid. Must be a valid hostname without periods</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.routingName != dsOriginal.routingName">Current Value: [ {{dsOriginal.routingName}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.routingName != dsOriginal.routingName">Current Value: [ {{dsOriginal.routingName}} ]</small>
<span ng-show="hasError(deliveryServiceForm.routingName)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -200,7 +200,7 @@ under the License.
<option value="">Select...</option>
</select>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.dscp, 'required')">Required</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.dscp != dsOriginal.dscp">Current Value: [ {{dsOriginal.dscp}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.dscp != dsOriginal.dscp">Current Value: [ {{dsOriginal.dscp}} ]</small>
</div>
</div>
@@ -211,7 +211,7 @@ under the License.
<option value="">Select...</option>
</select>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.ipv6RoutingEnabled, 'required')">Required</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.ipv6RoutingEnabled != dsOriginal.ipv6RoutingEnabled">Current Value: [ {{dsOriginal.ipv6RoutingEnabled}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.ipv6RoutingEnabled != dsOriginal.ipv6RoutingEnabled">Current Value: [ {{dsOriginal.ipv6RoutingEnabled}} ]</small>
</div>
</div>
@@ -222,7 +222,7 @@ under the License.
<option value="">Select...</option>
</select>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.rangeRequestHandling, 'required')">Required</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.rangeRequestHandling != dsOriginal.rangeRequestHandling">Current Value: [ {{dsOriginal.rangeRequestHandling}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.rangeRequestHandling != dsOriginal.rangeRequestHandling">Current Value: [ {{dsOriginal.rangeRequestHandling}} ]</small>
</div>
</div>
@@ -233,7 +233,7 @@ under the License.
<option value="">Select...</option>
</select>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.qstringIgnore, 'required')">Required</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.qstringIgnore != dsOriginal.qstringIgnore">Current Value: [ {{dsOriginal.qstringIgnore}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.qstringIgnore != dsOriginal.qstringIgnore">Current Value: [ {{dsOriginal.qstringIgnore}} ]</small>
</div>
</div>
@@ -244,7 +244,7 @@ under the License.
<option value="">Select...</option>
</select>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.multiSiteOrigin, 'required')">Required</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.multiSiteOrigin != dsOriginal.multiSiteOrigin">Current Value: [ {{dsOriginal.multiSiteOrigin}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.multiSiteOrigin != dsOriginal.multiSiteOrigin">Current Value: [ {{dsOriginal.multiSiteOrigin}} ]</small>
</div>
</div>
@@ -255,7 +255,7 @@ under the License.
<option value="">Select...</option>
</select>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.logsEnabled, 'required')">Required</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.logsEnabled != dsOriginal.logsEnabled">Current Value: [ {{dsOriginal.logsEnabled}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.logsEnabled != dsOriginal.logsEnabled">Current Value: [ {{dsOriginal.logsEnabled}} ]</small>
</div>
</div>
@@ -266,7 +266,7 @@ under the License.
<option value="">Select...</option>
</select>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.initialDispersion, 'required')">Required</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.initialDispersion != dsOriginal.initialDispersion">Current Value: [ {{dsOriginal.initialDispersion}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.initialDispersion != dsOriginal.initialDispersion">Current Value: [ {{dsOriginal.initialDispersion}} ]</small>
</div>
</div>
@@ -277,7 +277,7 @@ under the License.
<option value="">Select...</option>
</select>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.regionalGeoBlocking, 'required')">Required</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.regionalGeoBlocking != dsOriginal.regionalGeoBlocking">Current Value: [ {{dsOriginal.regionalGeoBlocking}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.regionalGeoBlocking != dsOriginal.regionalGeoBlocking">Current Value: [ {{dsOriginal.regionalGeoBlocking}} ]</small>
</div>
</div>
@@ -288,7 +288,7 @@ under the License.
<option value="">Select...</option>
</select>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.geoProvider, 'required')">Required</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.geoProvider != dsOriginal.geoProvider">Current Value: [ {{dsOriginal.geoProvider}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.geoProvider != dsOriginal.geoProvider">Current Value: [ {{dsOriginal.geoProvider}} ]</small>
</div>
</div>
@@ -297,7 +297,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="missLat" type="number" class="form-control" ng-model="deliveryService.missLat" required autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.missLat, 'required')">Required</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.missLat != dsOriginal.missLat">Current Value: [ {{dsOriginal.missLat}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.missLat != dsOriginal.missLat">Current Value: [ {{dsOriginal.missLat}} ]</small>
<span ng-show="hasError(deliveryServiceForm.missLat)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -307,7 +307,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="missLong" type="number" class="form-control" ng-model="deliveryService.missLong" required autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.missLong, 'required')">Required</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.missLong != dsOriginal.missLong">Current Value: [ {{dsOriginal.missLong}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.missLong != dsOriginal.missLong">Current Value: [ {{dsOriginal.missLong}} ]</small>
<span ng-show="hasError(deliveryServiceForm.missLong)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -319,7 +319,7 @@ under the License.
<option value="">Select...</option>
</select>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.geoLimit, 'required')">Required</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.geoLimit != dsOriginal.geoLimit">Current Value: [ {{dsOriginal.geoLimit}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.geoLimit != dsOriginal.geoLimit">Current Value: [ {{dsOriginal.geoLimit}} ]</small>
</div>
</div>
@@ -328,7 +328,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="geoLimitCountries" type="text" class="form-control" ng-model="deliveryService.geoLimitCountries" ng-maxlength="255" autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.geoLimitCountries, 'maxlength')">Too Long</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.geoLimitCountries != dsOriginal.geoLimitCountries">Current Value: [ {{dsOriginal.geoLimitCountries}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.geoLimitCountries != dsOriginal.geoLimitCountries">Current Value: [ {{dsOriginal.geoLimitCountries}} ]</small>
<span ng-show="hasError(deliveryServiceForm.geoLimitCountries)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -338,7 +338,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="geoLimitRedirectURL" type="text" class="form-control" ng-model="deliveryService.geoLimitRedirectURL" ng-pattern="/^(https?:\/\/)/" autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.geoLimitRedirectURL, 'pattern')">Must start with http:// or https://</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.geoLimitRedirectURL != dsOriginal.geoLimitRedirectURL">Current Value: [ {{dsOriginal.geoLimitRedirectURL}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.geoLimitRedirectURL != dsOriginal.geoLimitRedirectURL">Current Value: [ {{dsOriginal.geoLimitRedirectURL}} ]</small>
<span ng-show="hasError(deliveryServiceForm.geoLimitRedirectURL)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -349,7 +349,7 @@ under the License.
<select name="signingAlgorithm" class="form-control" ng-model="deliveryService.signingAlgorithm" ng-options="sa.value as sa.label for sa in signingAlgos">
<option value="">Select...</option>
</select>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.signingAlgorithm != dsOriginal.signingAlgorithm">Current Value: [ {{dsOriginal.signingAlgorithm}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.signingAlgorithm != dsOriginal.signingAlgorithm">Current Value: [ {{dsOriginal.signingAlgorithm}} ]</small>
</div>
</div>
@@ -358,7 +358,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="httpBypassFqdn" type="text" class="form-control" ng-model="deliveryService.httpBypassFqdn" ng-pattern="/^(https?:\/\/)/" autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.httpBypassFqdn, 'pattern')">Must start with http:// or https://</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.httpBypassFqdn != dsOriginal.httpBypassFqdn">Current Value: [ {{dsOriginal.httpBypassFqdn}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.httpBypassFqdn != dsOriginal.httpBypassFqdn">Current Value: [ {{dsOriginal.httpBypassFqdn}} ]</small>
<span ng-show="hasError(deliveryServiceForm.httpBypassFqdn)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -368,7 +368,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="dnsBypassTtl" type="number" class="form-control" ng-model="deliveryService.dnsBypassTtl" ng-pattern="/^\d+$/" autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.dnsBypassTtl, 'pattern')">Whole Number</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.dnsBypassTtl != dsOriginal.dnsBypassTtl">Current Value: [ {{dsOriginal.dnsBypassTtl}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.dnsBypassTtl != dsOriginal.dnsBypassTtl">Current Value: [ {{dsOriginal.dnsBypassTtl}} ]</small>
<span ng-show="hasError(deliveryServiceForm.dnsBypassTtl)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -378,7 +378,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="ccrDnsTtl" type="number" class="form-control" ng-model="deliveryService.ccrDnsTtl" ng-pattern="/^\d+$/" autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.ccrDnsTtl, 'pattern')">Whole Number</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.ccrDnsTtl != dsOriginal.ccrDnsTtl">Current Value: [ {{dsOriginal.ccrDnsTtl}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.ccrDnsTtl != dsOriginal.ccrDnsTtl">Current Value: [ {{dsOriginal.ccrDnsTtl}} ]</small>
<span ng-show="hasError(deliveryServiceForm.ccrDnsTtl)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -389,7 +389,7 @@ under the License.
<select name="profile" class="form-control" ng-model="deliveryService.profileId" ng-options="profile.id as profile.name for profile in profiles">
<option value="">Select...</option>
</select>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.profileId != dsOriginal.profileId">Current Value: [ {{dsOriginal.profileName}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.profileId != dsOriginal.profileId">Current Value: [ {{dsOriginal.profileName}} ]</small>
</div>
</div>
@@ -398,7 +398,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="globalMaxMbps" type="number" class="form-control" placeholder="Max bits per second allowed globally" ng-model="deliveryService.globalMaxMbps" ng-pattern="/^\d+$/" autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.globalMaxMbps, 'pattern')">Whole Number</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.globalMaxMbps != dsOriginal.globalMaxMbps">Current Value: [ {{dsOriginal.globalMaxMbps}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.globalMaxMbps != dsOriginal.globalMaxMbps">Current Value: [ {{dsOriginal.globalMaxMbps}} ]</small>
<span ng-show="hasError(deliveryServiceForm.globalMaxMbps)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -408,7 +408,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="globalMaxTps" type="number" class="form-control" placeholder="Max transactions per second allowed globally" ng-model="deliveryService.globalMaxTps" ng-pattern="/^\d+$/" autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.globalMaxTps, 'pattern')">Whole Number</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.globalMaxTps != dsOriginal.globalMaxTps">Current Value: [ {{dsOriginal.globalMaxTps}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.globalMaxTps != dsOriginal.globalMaxTps">Current Value: [ {{dsOriginal.globalMaxTps}} ]</small>
<span ng-show="hasError(deliveryServiceForm.globalMaxTps)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -418,7 +418,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="edgeHeaderRewrite" type="text" class="form-control" ng-model="deliveryService.edgeHeaderRewrite" ng-maxlength="2048" autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.edgeHeaderRewrite, 'maxlength')">Too Long</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.edgeHeaderRewrite != dsOriginal.edgeHeaderRewrite">Current Value: [ {{dsOriginal.edgeHeaderRewrite}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.edgeHeaderRewrite != dsOriginal.edgeHeaderRewrite">Current Value: [ {{dsOriginal.edgeHeaderRewrite}} ]</small>
<span ng-show="hasError(deliveryServiceForm.edgeHeaderRewrite)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -428,7 +428,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="midHeaderRewrite" type="text" class="form-control" ng-model="deliveryService.midHeaderRewrite" ng-maxlength="2048" autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.midHeaderRewrite, 'maxlength')">Too Long</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.midHeaderRewrite != dsOriginal.midHeaderRewrite">Current Value: [ {{dsOriginal.midHeaderRewrite}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.midHeaderRewrite != dsOriginal.midHeaderRewrite">Current Value: [ {{dsOriginal.midHeaderRewrite}} ]</small>
<span ng-show="hasError(deliveryServiceForm.midHeaderRewrite)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -438,7 +438,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="trResponseHeaders" type="text" class="form-control" ng-model="deliveryService.trResponseHeaders" ng-maxlength="1024" autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.trResponseHeaders, 'maxlength')">Too Long</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.trResponseHeaders != dsOriginal.trResponseHeaders">Current Value: [ {{dsOriginal.trResponseHeaders}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.trResponseHeaders != dsOriginal.trResponseHeaders">Current Value: [ {{dsOriginal.trResponseHeaders}} ]</small>
<span ng-show="hasError(deliveryServiceForm.trResponseHeaders)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -448,7 +448,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="trRequestHeaders" type="text" class="form-control" ng-model="deliveryService.trRequestHeaders" ng-maxlength="1024" autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.trRequestHeaders, 'maxlength')">Too Long</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.trRequestHeaders != dsOriginal.trRequestHeaders">Current Value: [ {{dsOriginal.trRequestHeaders}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.trRequestHeaders != dsOriginal.trRequestHeaders">Current Value: [ {{dsOriginal.trRequestHeaders}} ]</small>
<span ng-show="hasError(deliveryServiceForm.trRequestHeaders)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -458,7 +458,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="regexRemap" type="text" class="form-control" ng-model="deliveryService.regexRemap" ng-maxlength="1024" autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.regexRemap, 'maxlength')">Too Long</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.regexRemap != dsOriginal.regexRemap">Current Value: [ {{dsOriginal.regexRemap}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.regexRemap != dsOriginal.regexRemap">Current Value: [ {{dsOriginal.regexRemap}} ]</small>
<span ng-show="hasError(deliveryServiceForm.regexRemap)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -468,7 +468,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="cacheurl" type="text" class="form-control" ng-model="deliveryService.cacheurl" ng-maxlength="1024" autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.cacheurl, 'maxlength')">Too Long</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.cacheurl != dsOriginal.cacheurl">Current Value: [ {{dsOriginal.cacheurl}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.cacheurl != dsOriginal.cacheurl">Current Value: [ {{dsOriginal.cacheurl}} ]</small>
<span ng-show="hasError(deliveryServiceForm.cacheurl)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -478,7 +478,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="remapText" type="text" class="form-control" ng-model="deliveryService.remapText" ng-maxlength="2048" autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.remapText, 'maxlength')">Too Long</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.remapText != dsOriginal.remapText">Current Value: [ {{dsOriginal.remapText}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.remapText != dsOriginal.remapText">Current Value: [ {{dsOriginal.remapText}} ]</small>
<span ng-show="hasError(deliveryServiceForm.remapText)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -488,7 +488,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="longDesc1" type="text" class="form-control" ng-model="deliveryService.longDesc1" ng-maxlength="1024" autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.longDesc1, 'maxlength')">Too Long</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.longDesc1 != dsOriginal.longDesc1">Current Value: [ {{dsOriginal.longDesc1}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.longDesc1 != dsOriginal.longDesc1">Current Value: [ {{dsOriginal.longDesc1}} ]</small>
<span ng-show="hasError(deliveryServiceForm.longDesc1)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -498,7 +498,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="longDesc2" type="text" class="form-control" ng-model="deliveryService.longDesc2" ng-maxlength="1024" autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.longDesc2, 'maxlength')">Too Long</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.longDesc2 != dsOriginal.longDesc2">Current Value: [ {{dsOriginal.longDesc2}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.longDesc2 != dsOriginal.longDesc2">Current Value: [ {{dsOriginal.longDesc2}} ]</small>
<span ng-show="hasError(deliveryServiceForm.longDesc2)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -508,7 +508,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="infoUrl" type="text" class="form-control" ng-model="deliveryService.infoUrl" ng-maxlength="255" autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.infoUrl, 'maxlength')">Too Long</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.infoUrl != dsOriginal.infoUrl">Current Value: [ {{dsOriginal.infoUrl}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.infoUrl != dsOriginal.infoUrl">Current Value: [ {{dsOriginal.infoUrl}} ]</small>
<span ng-show="hasError(deliveryServiceForm.infoUrl)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -518,7 +518,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="checkPath" type="text" class="form-control" ng-model="deliveryService.checkPath" ng-maxlength="255" autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.checkPath, 'maxlength')">Too Long</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.checkPath != dsOriginal.checkPath">Current Value: [ {{dsOriginal.checkPath}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.checkPath != dsOriginal.checkPath">Current Value: [ {{dsOriginal.checkPath}} ]</small>
<span ng-show="hasError(deliveryServiceForm.checkPath)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -528,7 +528,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="originShield" type="text" class="form-control" ng-model="deliveryService.originShield" ng-maxlength="1024" autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.originShield, 'maxlength')">Too Long</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.originShield != dsOriginal.originShield">Current Value: [ {{dsOriginal.originShield}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.originShield != dsOriginal.originShield">Current Value: [ {{dsOriginal.originShield}} ]</small>
<span ng-show="hasError(deliveryServiceForm.originShield)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
diff --git a/traffic_portal/app/src/common/modules/form/deliveryService/form.deliveryService.Steering.tpl.html b/traffic_portal/app/src/common/modules/form/deliveryService/form.deliveryService.Steering.tpl.html
index 20a968d..23188bf 100644
--- a/traffic_portal/app/src/common/modules/form/deliveryService/form.deliveryService.Steering.tpl.html
+++ b/traffic_portal/app/src/common/modules/form/deliveryService/form.deliveryService.Steering.tpl.html
@@ -26,7 +26,7 @@ under the License.
<li class="active">{{deliveryServiceName}}</li>
</ol>
<div class="pull-right" role="group" ng-if="settings.isRequest">
- <button class="btn btn-link request-status" title="Edit Status" ng-disabled="!statusEditable()" ng-click="editStatus()">[ {{::requestStatus}} ]</button>
+ <button class="btn btn-link request-status" title="Edit Status" ng-disabled="!open()" ng-click="editStatus()">[ {{::requestStatus}} ]</button>
</div>
<div class="pull-right" role="group" ng-if="!settings.isRequest && !settings.isNew">
<div class="btn-group" role="group" uib-dropdown is-open="keys.isopen">
@@ -68,7 +68,7 @@ under the License.
<option value="">Select...</option>
</select>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.active, 'required')">Required</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.active != dsOriginal.active">Current Value: [ {{dsOriginal.active}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.active != dsOriginal.active">Current Value: [ {{dsOriginal.active}} ]</small>
</div>
</div>
@@ -79,7 +79,7 @@ under the License.
<option value="">Select...</option>
</select>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.type, 'required')">Required</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.typeId != dsOriginal.typeId">Current Value: [ {{dsOriginal.type}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.typeId != dsOriginal.typeId">Current Value: [ {{dsOriginal.type}} ]</small>
</div>
</div>
@@ -90,7 +90,7 @@ under the License.
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.xmlId, 'required')">Required</small>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.xmlId, 'maxlength')">Too Long</small>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.xmlId, 'pattern')">No spaces</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.xmlId != dsOriginal.xmlId">Current Value: [ {{dsOriginal.xmlId}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.xmlId != dsOriginal.xmlId">Current Value: [ {{dsOriginal.xmlId}} ]</small>
<span ng-show="hasError(deliveryServiceForm.xmlId)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -101,7 +101,7 @@ under the License.
<input name="displayName" type="text" class="form-control" ng-model="deliveryService.displayName" ng-maxlength="48" required autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.displayName, 'required')">Required</small>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.displayName, 'maxlength')">Too Long</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.displayName != dsOriginal.displayName">Current Value: [ {{dsOriginal.displayName}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.displayName != dsOriginal.displayName">Current Value: [ {{dsOriginal.displayName}} ]</small>
<span ng-show="hasError(deliveryServiceForm.displayName)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -113,7 +113,7 @@ under the License.
<option value="">Select...</option>
</select>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.tenantId, 'required')">Required</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.tenantId != dsOriginal.tenantId">Current Value: [ {{dsOriginal.tenant}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.tenantId != dsOriginal.tenantId">Current Value: [ {{dsOriginal.tenant}} ]</small>
</div>
</div>
@@ -124,7 +124,7 @@ under the License.
<option value="">Select...</option>
</select>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.cdn, 'required')">Required</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.cdnId != dsOriginal.cdnId">Current Value: [ {{dsOriginal.cdnName}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.cdnId != dsOriginal.cdnId">Current Value: [ {{dsOriginal.cdnName}} ]</small>
</div>
</div>
@@ -135,7 +135,7 @@ under the License.
<option value="">Select...</option>
</select>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.protocol, 'required')">Required</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.protocol != dsOriginal.protocol">Current Value: [ {{dsOriginal.protocol}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.protocol != dsOriginal.protocol">Current Value: [ {{dsOriginal.protocol}} ]</small>
</div>
</div>
@@ -145,7 +145,7 @@ under the License.
<input name="longDesc" type="text" class="form-control" ng-model="deliveryService.longDesc" ng-maxlength="1024" autofocus required>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.longDesc, 'required')">Required</small>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.longDesc, 'maxlength')">Too Long</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.longDesc != dsOriginal.longDesc">Current Value: [ {{dsOriginal.longDesc}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.longDesc != dsOriginal.longDesc">Current Value: [ {{dsOriginal.longDesc}} ]</small>
<span ng-show="hasError(deliveryServiceForm.longDesc)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -167,7 +167,7 @@ under the License.
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.routingName, 'required')">Required</small>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.routingName, 'maxlength')">Too Long</small>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.routingName, 'pattern')">Invalid. Must be a valid hostname without periods</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.routingName != dsOriginal.routingName">Current Value: [ {{dsOriginal.routingName}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.routingName != dsOriginal.routingName">Current Value: [ {{dsOriginal.routingName}} ]</small>
<span ng-show="hasError(deliveryServiceForm.routingName)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -179,7 +179,7 @@ under the License.
<option value="">Select...</option>
</select>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.ipv6RoutingEnabled, 'required')">Required</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.ipv6RoutingEnabled != dsOriginal.ipv6RoutingEnabled">Current Value: [ {{dsOriginal.ipv6RoutingEnabled}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.ipv6RoutingEnabled != dsOriginal.ipv6RoutingEnabled">Current Value: [ {{dsOriginal.ipv6RoutingEnabled}} ]</small>
</div>
</div>
@@ -190,7 +190,7 @@ under the License.
<option value="">Select...</option>
</select>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.logsEnabled, 'required')">Required</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.logsEnabled != dsOriginal.logsEnabled">Current Value: [ {{dsOriginal.logsEnabled}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.logsEnabled != dsOriginal.logsEnabled">Current Value: [ {{dsOriginal.logsEnabled}} ]</small>
</div>
</div>
@@ -201,7 +201,7 @@ under the License.
<option value="">Select...</option>
</select>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.geoProvider, 'required')">Required</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.geoProvider != dsOriginal.geoProvider">Current Value: [ {{dsOriginal.geoProvider}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.geoProvider != dsOriginal.geoProvider">Current Value: [ {{dsOriginal.geoProvider}} ]</small>
</div>
</div>
@@ -212,7 +212,7 @@ under the License.
<option value="">Select...</option>
</select>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.geoLimit, 'required')">Required</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.geoLimit != dsOriginal.geoLimit">Current Value: [ {{dsOriginal.geoLimit}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.geoLimit != dsOriginal.geoLimit">Current Value: [ {{dsOriginal.geoLimit}} ]</small>
</div>
</div>
@@ -221,7 +221,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="geoLimitCountries" type="text" class="form-control" ng-model="deliveryService.geoLimitCountries" ng-maxlength="255" autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.geoLimitCountries, 'maxlength')">Too Long</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.geoLimitCountries != dsOriginal.geoLimitCountries">Current Value: [ {{dsOriginal.geoLimitCountries}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.geoLimitCountries != dsOriginal.geoLimitCountries">Current Value: [ {{dsOriginal.geoLimitCountries}} ]</small>
<span ng-show="hasError(deliveryServiceForm.geoLimitCountries)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -232,7 +232,7 @@ under the License.
<select name="profile" class="form-control" ng-model="deliveryService.profileId" ng-options="profile.id as profile.name for profile in profiles">
<option value="">Select...</option>
</select>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.profileId != dsOriginal.profileId">Current Value: [ {{dsOriginal.profileName}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.profileId != dsOriginal.profileId">Current Value: [ {{dsOriginal.profileName}} ]</small>
</div>
</div>
@@ -251,7 +251,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="ccrDnsTtl" type="number" class="form-control" ng-model="deliveryService.ccrDnsTtl" ng-pattern="/^\d+$/" autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.ccrDnsTtl, 'pattern')">Whole Number</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.ccrDnsTtl != dsOriginal.ccrDnsTtl">Current Value: [ {{dsOriginal.ccrDnsTtl}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.ccrDnsTtl != dsOriginal.ccrDnsTtl">Current Value: [ {{dsOriginal.ccrDnsTtl}} ]</small>
<span ng-show="hasError(deliveryServiceForm.ccrDnsTtl)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -261,7 +261,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="longDesc1" type="text" class="form-control" ng-model="deliveryService.longDesc1" ng-maxlength="1024" autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.longDesc1, 'maxlength')">Too Long</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.longDesc1 != dsOriginal.longDesc1">Current Value: [ {{dsOriginal.longDesc1}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.longDesc1 != dsOriginal.longDesc1">Current Value: [ {{dsOriginal.longDesc1}} ]</small>
<span ng-show="hasError(deliveryServiceForm.longDesc1)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -271,7 +271,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="longDesc2" type="text" class="form-control" ng-model="deliveryService.longDesc2" ng-maxlength="1024" autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.longDesc2, 'maxlength')">Too Long</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.longDesc2 != dsOriginal.longDesc2">Current Value: [ {{dsOriginal.longDesc2}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.longDesc2 != dsOriginal.longDesc2">Current Value: [ {{dsOriginal.longDesc2}} ]</small>
<span ng-show="hasError(deliveryServiceForm.longDesc2)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -281,7 +281,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="infoUrl" type="text" class="form-control" ng-model="deliveryService.infoUrl" ng-maxlength="255" autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.infoUrl, 'maxlength')">Too Long</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.infoUrl != dsOriginal.infoUrl">Current Value: [ {{dsOriginal.infoUrl}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.infoUrl != dsOriginal.infoUrl">Current Value: [ {{dsOriginal.infoUrl}} ]</small>
<span ng-show="hasError(deliveryServiceForm.infoUrl)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -291,7 +291,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="checkPath" type="text" class="form-control" ng-model="deliveryService.checkPath" ng-maxlength="255" autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.checkPath, 'maxlength')">Too Long</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.checkPath != dsOriginal.checkPath">Current Value: [ {{dsOriginal.checkPath}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.checkPath != dsOriginal.checkPath">Current Value: [ {{dsOriginal.checkPath}} ]</small>
<span ng-show="hasError(deliveryServiceForm.checkPath)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
diff --git a/traffic_portal/app/src/common/modules/form/deliveryService/form.deliveryService.anyMap.tpl.html b/traffic_portal/app/src/common/modules/form/deliveryService/form.deliveryService.anyMap.tpl.html
index 937a971..224e80e 100644
--- a/traffic_portal/app/src/common/modules/form/deliveryService/form.deliveryService.anyMap.tpl.html
+++ b/traffic_portal/app/src/common/modules/form/deliveryService/form.deliveryService.anyMap.tpl.html
@@ -26,7 +26,7 @@ under the License.
<li class="active">{{deliveryServiceName}}</li>
</ol>
<div class="pull-right" role="group" ng-if="settings.isRequest">
- <button class="btn btn-link request-status" title="Edit Status" ng-disabled="!statusEditable()" ng-click="editStatus()">[ {{requestStatus}} ]</button>
+ <button class="btn btn-link request-status" title="Edit Status" ng-disabled="!open()" ng-click="editStatus()">[ {{requestStatus}} ]</button>
</div>
<div class="pull-right" role="group" ng-if="!settings.isRequest && !settings.isNew">
<div class="btn-group" role="group" uib-dropdown is-open="keys.isopen">
@@ -68,7 +68,7 @@ under the License.
<option value="">Select...</option>
</select>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.active, 'required')">Required</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.active != dsOriginal.active">Current Value: [ {{dsOriginal.active}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.active != dsOriginal.active">Current Value: [ {{dsOriginal.active}} ]</small>
</div>
</div>
@@ -79,7 +79,7 @@ under the License.
<option value="">Select...</option>
</select>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.type, 'required')">Required</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.typeId != dsOriginal.typeId">Current Value: [ {{dsOriginal.type}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.typeId != dsOriginal.typeId">Current Value: [ {{dsOriginal.type}} ]</small>
</div>
</div>
@@ -90,7 +90,7 @@ under the License.
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.xmlId, 'required')">Required</small>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.xmlId, 'maxlength')">Too Long</small>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.xmlId, 'pattern')">No spaces</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.xmlId != dsOriginal.xmlId">Current Value: [ {{dsOriginal.xmlId}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.xmlId != dsOriginal.xmlId">Current Value: [ {{dsOriginal.xmlId}} ]</small>
<span ng-show="hasError(deliveryServiceForm.xmlId)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -101,7 +101,7 @@ under the License.
<input name="displayName" type="text" class="form-control" ng-model="deliveryService.displayName" ng-maxlength="48" required autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.displayName, 'required')">Required</small>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.displayName, 'maxlength')">Too Long</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.displayName != dsOriginal.displayName">Current Value: [ {{dsOriginal.displayName}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.displayName != dsOriginal.displayName">Current Value: [ {{dsOriginal.displayName}} ]</small>
<span ng-show="hasError(deliveryServiceForm.displayName)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -113,7 +113,7 @@ under the License.
<option value="">Select...</option>
</select>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.tenantId, 'required')">Required</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.tenantId != dsOriginal.tenantId">Current Value: [ {{dsOriginal.tenant}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.tenantId != dsOriginal.tenantId">Current Value: [ {{dsOriginal.tenant}} ]</small>
</div>
</div>
@@ -124,7 +124,7 @@ under the License.
<option value="">Select...</option>
</select>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.cdn, 'required')">Required</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.cdnId != dsOriginal.cdnId">Current Value: [ {{dsOriginal.cdnName}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.cdnId != dsOriginal.cdnId">Current Value: [ {{dsOriginal.cdnName}} ]</small>
</div>
</div>
@@ -134,7 +134,7 @@ under the License.
<input name="longDesc" type="text" class="form-control" ng-model="deliveryService.longDesc" ng-maxlength="1024" autofocus required>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.longDesc, 'required')">Required</small>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.longDesc, 'maxlength')">Too Long</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.longDesc != dsOriginal.longDesc">Current Value: [ {{dsOriginal.longDesc}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.longDesc != dsOriginal.longDesc">Current Value: [ {{dsOriginal.longDesc}} ]</small>
<span ng-show="hasError(deliveryServiceForm.longDesc)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -155,7 +155,7 @@ under the License.
<option value="">Select...</option>
</select>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.regionalGeoBlocking, 'required')">Required</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.regionalGeoBlocking != dsOriginal.regionalGeoBlocking">Current Value: [ {{dsOriginal.regionalGeoBlocking}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.regionalGeoBlocking != dsOriginal.regionalGeoBlocking">Current Value: [ {{dsOriginal.regionalGeoBlocking}} ]</small>
</div>
</div>
@@ -166,7 +166,7 @@ under the License.
<option value="">Select...</option>
</select>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.logsEnabled, 'required')">Required</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.logsEnabled != dsOriginal.logsEnabled">Current Value: [ {{dsOriginal.logsEnabled}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.logsEnabled != dsOriginal.logsEnabled">Current Value: [ {{dsOriginal.logsEnabled}} ]</small>
</div>
</div>
@@ -175,7 +175,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<select name="geoProvider" class="form-control" ng-model="deliveryService.geoProvider" ng-options="gp.value as gp.label for gp in geoProviders" required></select>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.geoProvider, 'required')">Required</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.geoProvider != dsOriginal.geoProvider">Current Value: [ {{dsOriginal.geoProvider}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.geoProvider != dsOriginal.geoProvider">Current Value: [ {{dsOriginal.geoProvider}} ]</small>
</div>
</div>
@@ -186,7 +186,7 @@ under the License.
<option value="">Select...</option>
</select>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.geoLimit, 'required')">Required</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.geoLimit != dsOriginal.geoLimit">Current Value: [ {{dsOriginal.geoLimit}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.geoLimit != dsOriginal.geoLimit">Current Value: [ {{dsOriginal.geoLimit}} ]</small>
</div>
</div>
@@ -195,7 +195,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="geoLimitCountries" type="text" class="form-control" ng-model="deliveryService.geoLimitCountries" ng-maxlength="255" autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.geoLimitCountries, 'maxlength')">Too Long</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.geoLimitCountries != dsOriginal.geoLimitCountries">Current Value: [ {{dsOriginal.geoLimitCountries}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.geoLimitCountries != dsOriginal.geoLimitCountries">Current Value: [ {{dsOriginal.geoLimitCountries}} ]</small>
<span ng-show="hasError(deliveryServiceForm.geoLimitCountries)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -205,7 +205,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="geoLimitRedirectURL" type="text" class="form-control" ng-model="deliveryService.geoLimitRedirectURL" ng-pattern="/^(https?:\/\/)/" autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.geoLimitRedirectURL, 'pattern')">Must start with http:// or https://</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.geoLimitRedirectURL != dsOriginal.geoLimitRedirectURL">Current Value: [ {{dsOriginal.geoLimitRedirectURL}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.geoLimitRedirectURL != dsOriginal.geoLimitRedirectURL">Current Value: [ {{dsOriginal.geoLimitRedirectURL}} ]</small>
<span ng-show="hasError(deliveryServiceForm.geoLimitRedirectURL)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -216,7 +216,7 @@ under the License.
<select name="profile" class="form-control" ng-model="deliveryService.profileId" ng-options="profile.id as profile.name for profile in profiles">
<option value="">Select...</option>
</select>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.profileId != dsOriginal.profileId">Current Value: [ {{dsOriginal.profileName}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.profileId != dsOriginal.profileId">Current Value: [ {{dsOriginal.profileName}} ]</small>
</div>
</div>
@@ -225,7 +225,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="trRequestHeaders" type="text" class="form-control" ng-model="deliveryService.trRequestHeaders" ng-maxlength="1024" autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.trRequestHeaders, 'maxlength')">Too Long</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.trRequestHeaders != dsOriginal.trRequestHeaders">Current Value: [ {{dsOriginal.trRequestHeaders}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.trRequestHeaders != dsOriginal.trRequestHeaders">Current Value: [ {{dsOriginal.trRequestHeaders}} ]</small>
<span ng-show="hasError(deliveryServiceForm.trRequestHeaders)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -235,7 +235,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="cacheurl" type="text" class="form-control" ng-model="deliveryService.cacheurl" ng-maxlength="1024" autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.cacheurl, 'maxlength')">Too Long</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.cacheurl != dsOriginal.cacheurl">Current Value: [ {{dsOriginal.cacheurl}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.cacheurl != dsOriginal.cacheurl">Current Value: [ {{dsOriginal.cacheurl}} ]</small>
<span ng-show="hasError(deliveryServiceForm.cacheurl)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -245,7 +245,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="ccrDnsTtl" type="number" class="form-control" ng-model="deliveryService.ccrDnsTtl" ng-pattern="/^\d+$/" autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.ccrDnsTtl, 'pattern')">Whole Number</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.ccrDnsTtl != dsOriginal.ccrDnsTtl">Current Value: [ {{dsOriginal.ccrDnsTtl}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.ccrDnsTtl != dsOriginal.ccrDnsTtl">Current Value: [ {{dsOriginal.ccrDnsTtl}} ]</small>
<span ng-show="hasError(deliveryServiceForm.ccrDnsTtl)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -255,7 +255,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="remapText" type="text" class="form-control" ng-model="deliveryService.remapText" ng-maxlength="2048" autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.remapText, 'maxlength')">Too Long</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.remapText != dsOriginal.remapText">Current Value: [ {{dsOriginal.remapText}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.remapText != dsOriginal.remapText">Current Value: [ {{dsOriginal.remapText}} ]</small>
<span ng-show="hasError(deliveryServiceForm.remapText)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -265,7 +265,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="longDesc1" type="text" class="form-control" ng-model="deliveryService.longDesc1" ng-maxlength="1024" autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.longDesc1, 'maxlength')">Too Long</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.longDesc1 != dsOriginal.longDesc1">Current Value: [ {{dsOriginal.longDesc1}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.longDesc1 != dsOriginal.longDesc1">Current Value: [ {{dsOriginal.longDesc1}} ]</small>
<span ng-show="hasError(deliveryServiceForm.longDesc1)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -275,7 +275,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="longDesc2" type="text" class="form-control" ng-model="deliveryService.longDesc2" ng-maxlength="1024" autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.longDesc2, 'maxlength')">Too Long</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.longDesc2 != dsOriginal.longDesc2">Current Value: [ {{dsOriginal.longDesc2}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.longDesc2 != dsOriginal.longDesc2">Current Value: [ {{dsOriginal.longDesc2}} ]</small>
<span ng-show="hasError(deliveryServiceForm.longDesc2)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -285,7 +285,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="infoUrl" type="text" class="form-control" ng-model="deliveryService.infoUrl" ng-maxlength="255" autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.infoUrl, 'maxlength')">Too Long</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.infoUrl != dsOriginal.infoUrl">Current Value: [ {{dsOriginal.infoUrl}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.infoUrl != dsOriginal.infoUrl">Current Value: [ {{dsOriginal.infoUrl}} ]</small>
<span ng-show="hasError(deliveryServiceForm.infoUrl)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
@@ -295,7 +295,7 @@ under the License.
<div class="col-md-10 col-sm-10 col-xs-12">
<input name="checkPath" type="text" class="form-control" ng-model="deliveryService.checkPath" ng-maxlength="255" autofocus>
<small class="input-error" ng-show="hasPropertyError(deliveryServiceForm.checkPath, 'maxlength')">Too Long</small>
- <small class="input-diff" ng-show="settings.isRequest && deliveryService.checkPath != dsOriginal.checkPath">Current Value: [ {{dsOriginal.checkPath}} ]</small>
+ <small class="input-diff" ng-show="settings.isRequest && open() && deliveryService.checkPath != dsOriginal.checkPath">Current Value: [ {{dsOriginal.checkPath}} ]</small>
<span ng-show="hasError(deliveryServiceForm.checkPath)" class="form-control-feedback"><i class="fa fa-times"></i></span>
</div>
</div>
diff --git a/traffic_portal/app/src/common/modules/table/deliveryServiceRequests/TableDeliveryServiceRequestsController.js b/traffic_portal/app/src/common/modules/table/deliveryServiceRequests/TableDeliveryServiceRequestsController.js
index af10842..54cc2c5 100644
--- a/traffic_portal/app/src/common/modules/table/deliveryServiceRequests/TableDeliveryServiceRequestsController.js
+++ b/traffic_portal/app/src/common/modules/table/deliveryServiceRequests/TableDeliveryServiceRequestsController.js
@@ -75,7 +75,7 @@ var TableDeliveryServicesRequestsController = function(dsRequests, $scope, $stat
return request.status == 'pending';
};
- $scope.statusEditable = function(request) {
+ $scope.open = function(request) {
return (request.status == 'draft' || request.status == 'submitted');
};
diff --git a/traffic_portal/app/src/common/modules/table/deliveryServiceRequests/table.deliveryServiceRequests.tpl.html b/traffic_portal/app/src/common/modules/table/deliveryServiceRequests/table.deliveryServiceRequests.tpl.html
index 6b8b553..d8182c1 100644
--- a/traffic_portal/app/src/common/modules/table/deliveryServiceRequests/table.deliveryServiceRequests.tpl.html
+++ b/traffic_portal/app/src/common/modules/table/deliveryServiceRequests/table.deliveryServiceRequests.tpl.html
@@ -48,8 +48,8 @@ under the License.
<td data-search="^{{::request.request.xmlId}}$">{{::request.request.xmlId}}</td>
<td data-search="^{{::request.changeType}}$">{{::request.changeType}}</td>
<td data-search="^{{::request.status}}$">
- <span ng-if="!statusEditable(request)">{{::request.status}}</span>
- <a ng-if="statusEditable(request)" class="link" title="Change Status" ng-click="editStatus(request, $event)">{{::request.status}}</a>
+ <span ng-if="!open(request)">{{::request.status}}</span>
+ <a ng-if="open(request)" class="link" title="Change Status" ng-click="editStatus(request, $event)">{{::request.status}}</a>
</td>
<td data-search="^{{::request.author}}$">{{::request.author}}</td>
<td data-search="^{{::request.assignee}}$">
diff --git a/traffic_portal/app/src/modules/private/deliveryServiceRequests/edit/FormEditDeliveryServiceRequestController.js b/traffic_portal/app/src/modules/private/deliveryServiceRequests/edit/FormEditDeliveryServiceRequestController.js
index 9f61ace..9782fe5 100644
--- a/traffic_portal/app/src/modules/private/deliveryServiceRequests/edit/FormEditDeliveryServiceRequestController.js
+++ b/traffic_portal/app/src/modules/private/deliveryServiceRequests/edit/FormEditDeliveryServiceRequestController.js
@@ -49,7 +49,7 @@ var FormEditDeliveryServiceRequestController = function(deliveryServiceRequest,
return (dsRequest.status == 'draft' || dsRequest.status == 'submitted');
};
- $scope.statusEditable = function() {
+ $scope.open = function() {
return (dsRequest.status == 'draft' || dsRequest.status == 'submitted' || dsRequest.status == 'pending');
};
--
To stop receiving notification emails like this one, please contact
dewrich@apache.org.