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

@@ -44,6 +44,7 @@
<br/>
<div class="hide">
<label class="control-label" for="appInstallCertificateInput" ng-show="config.isCustomDomain">Certificate (optional)</label>
<div class="has-error text-center" ng-show="appInstall.error.cert && config.isCustomDomain">{{ appInstall.error.cert }}</div>
<div class="form-group" ng-class="{ 'has-error': !appInstallForm.certificate.$dirty && appInstall.error.cert }" ng-show="config.isCustomDomain">
@@ -64,6 +65,7 @@
</span>
</div>
</div>
</div>
<input class="ng-hide" type="submit" ng-disabled="appInstallForm.$invalid || busy"/>
</form>