Skip to content

Commit 5aa79a6

Browse files
UI: Add offer ha column to system offerings table (#10297)
* add offer ha column to system offerings table * fix identation
1 parent 50a54dd commit 5aa79a6

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Diff for: ui/src/components/view/ListView.vue

+3
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,9 @@
250250
<template v-if="column.key === 'quotastate'">
251251
<status :text="text ? text : ''" displayText />
252252
</template>
253+
<template v-if="column.key === 'offerha'">
254+
{{ text ? $t('state.enabled') : $t('state.disabled')}}
255+
</template>
253256
<template v-if="column.key === 'vlan'">
254257
<a href="javascript:;">
255258
<router-link v-if="$route.path === '/guestvlans'" :to="{ path: '/guestvlans/' + record.id }">{{ text }}</router-link>

Diff for: ui/src/config/section/offering.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ export default {
142142
permission: ['listServiceOfferings', 'listInfrastructure'],
143143
searchFilters: ['name', 'zoneid', 'domainid', 'cpunumber', 'cpuspeed', 'memory'],
144144
params: { issystem: 'true', isrecursive: 'true' },
145-
columns: ['name', 'state', 'systemvmtype', 'cpunumber', 'cpuspeed', 'memory', 'storagetype', 'order'],
145+
columns: ['name', 'state', 'systemvmtype', 'cpunumber', 'cpuspeed', 'memory', 'storagetype', 'offerha', 'order'],
146146
filters: ['active', 'inactive'],
147147
details: ['name', 'id', 'displaytext', 'systemvmtype', 'provisioningtype', 'storagetype', 'iscustomized', 'limitcpuuse', 'cpunumber', 'cpuspeed', 'memory', 'storagetags', 'hosttags', 'tags', 'domain', 'zone', 'created', 'dynamicscalingenabled', 'diskofferingstrictness'],
148148
resourceType: 'ServiceOffering',

0 commit comments

Comments
 (0)