Merge "Allow image format edit only for queued images"

This commit is contained in:
Zuul 2019-03-20 10:23:44 +00:00 committed by Gerrit Code Review
commit 8035d08c8d
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@
<span translate>Format</span>
<span class="hz-icon-required fa fa-asterisk"></span>
</label>
<select class="form-control switchable ng-pristine ng-untouched ng-valid" ng-required="true" id="imageForm-format" name="format" ng-model="ctrl.image_format" ng-options="key as label for (key, label) in ctrl.imageFormats" ng-change="ctrl.setFormats()">
<select class="form-control switchable ng-pristine ng-untouched ng-valid" ng-required="true" ng-disabled="ctrl.image.status !== 'queued'" id="imageForm-format" name="format" ng-model="ctrl.image_format" ng-options="key as label for (key, label) in ctrl.imageFormats" ng-change="ctrl.setFormats()">
</select>
</div>
</div>