Vendor derived from catalog model; model type shown separately
This commit is contained in:
@@ -88,7 +88,21 @@
|
||||
</div>
|
||||
<div class="info-row">
|
||||
<span class="info-label">Vendor</span>
|
||||
<span class="info-value">{{ device.networkdevice?.vendorname || '-' }}</span>
|
||||
<span class="info-value">
|
||||
{{ device.networkdevice?.vendorname || '-' }}
|
||||
<!-- Inherited from the catalog model, not stored on this record. -->
|
||||
<small v-if="device.networkdevice?.vendorfrommodel" class="text-muted">(from model)</small>
|
||||
</span>
|
||||
</div>
|
||||
<div class="info-row" v-if="device.networkdevice?.modelname">
|
||||
<span class="info-label">Model</span>
|
||||
<span class="info-value">{{ device.networkdevice.modelname }}</span>
|
||||
</div>
|
||||
<!-- The catalog model's own type, kept separate from the device
|
||||
type: modeltypes spans every kind of asset. -->
|
||||
<div class="info-row" v-if="device.networkdevice?.modeltypename">
|
||||
<span class="info-label">Model type</span>
|
||||
<span class="info-value">{{ device.networkdevice.modeltypename }}</span>
|
||||
</div>
|
||||
<div class="info-row">
|
||||
<span class="info-label">Device Type</span>
|
||||
|
||||
Reference in New Issue
Block a user