Hide app per app certificate upload fields

Fixes #555
This commit is contained in:
Johannes Zellner
2016-01-13 15:53:14 +01:00
parent 0a0fc130d4
commit 66eb0481b5
2 changed files with 4 additions and 0 deletions

View File

@@ -50,6 +50,7 @@
<br/>
<div class="hide">
<label class="control-label" for="appConfigureCertificateInput" ng-show="config.isCustomDomain">Certificate (optional)</label>
<div class="has-error text-center" ng-show="appConfigure.error.cert && config.isCustomDomain">{{ appConfigure.error.cert }}</div>
<div class="form-group" ng-class="{ 'has-error': !appConfigureForm.certificate.$dirty && appConfigure.error.cert }" ng-show="config.isCustomDomain">
@@ -70,6 +71,7 @@
</span>
</div>
</div>
</div>
<a ng-show="!!appConfigure.app.manifest.configurePath" ng-href="https://{{ appConfigure.app.location }}{{ !appConfigure.app.location ? '' : (config.isCustomDomain ? '.' : '-') }}{{ config.fqdn }}/{{ appConfigure.app.manifest.configurePath }}" target="_blank">Application Specific Settings</a>
<br/>