SmartIT_Extensions/BMC/smart-it-full-helix/views/custom-widgets/location-field.html

20 lines
1.0 KiB
HTML

<div ux-id="location-field" class="location-widget">
<div class="impacted-asset__details" ng-show="!$parent.editMode">
<custom-field-label></custom-field-label>
<span class="custom-field__value">
<span class="ticket__field-value" ng-class="{'create-change-wizard__impacted-area': changeLocation}">
{{changeLocation}}
</span>
</span>
</div>
<div ng-show="$parent.editMode">
<label class="label_control-wrap" for="foundation-selector__site">
<custom-field-label ng-if="!$parent.isNew"></custom-field-label>
</label>
<div class="create-ticket__service-item">
<foundation-selector use-chunking="false" inline="true" multiple="false" typeahead-mode="true" type="site"
multiple="false" options="siteOptions" selected-foundations="data.value" is-editable="isEditable && !data.isReadOnly" is-required="data.isRequired">
</foundation-selector>
</div>
</div>
</div>