Add "host" column into images table view for admin
Change-Id: Ia76d5bc53dd2d71897afc9fe214ca3c2111f06a9 Closes-Bug: #1798702
This commit is contained in:
parent
0022f4a0ba
commit
e426b24192
@ -59,6 +59,7 @@
|
|||||||
.setNames(gettext('Image'), gettext('Images'))
|
.setNames(gettext('Image'), gettext('Images'))
|
||||||
// for detail summary view on table row.
|
// for detail summary view on table row.
|
||||||
.setSummaryTemplateUrl(basePath + 'drawer.html')
|
.setSummaryTemplateUrl(basePath + 'drawer.html')
|
||||||
|
.setDefaultIndexUrl('/admin/container/images/')
|
||||||
// for table row items and detail summary view.
|
// for table row items and detail summary view.
|
||||||
.setProperties(imageProperties())
|
.setProperties(imageProperties())
|
||||||
.setListFunction(imageService.getImagesPromise)
|
.setListFunction(imageService.getImagesPromise)
|
||||||
@ -80,6 +81,10 @@
|
|||||||
id: 'size',
|
id: 'size',
|
||||||
priority: 1
|
priority: 1
|
||||||
})
|
})
|
||||||
|
.append({
|
||||||
|
id: 'host',
|
||||||
|
priority: 1
|
||||||
|
})
|
||||||
.append({
|
.append({
|
||||||
id: 'image_id',
|
id: 'image_id',
|
||||||
priority: 3
|
priority: 3
|
||||||
@ -100,6 +105,11 @@
|
|||||||
'name': 'tag',
|
'name': 'tag',
|
||||||
'singleton': true
|
'singleton': true
|
||||||
})
|
})
|
||||||
|
.append({
|
||||||
|
'label': gettext('Host'),
|
||||||
|
'name': 'host',
|
||||||
|
'singleton': true
|
||||||
|
})
|
||||||
.append({
|
.append({
|
||||||
'label': gettext('ID'),
|
'label': gettext('ID'),
|
||||||
'name': 'id',
|
'name': 'id',
|
||||||
@ -122,6 +132,7 @@
|
|||||||
'id': {label: gettext('ID'), filters: ['noValue'] },
|
'id': {label: gettext('ID'), filters: ['noValue'] },
|
||||||
'repo': { label: gettext('Image'), filters: ['noValue'] },
|
'repo': { label: gettext('Image'), filters: ['noValue'] },
|
||||||
'tag': { label: gettext('Tag'), filters: ['noValue'] },
|
'tag': { label: gettext('Tag'), filters: ['noValue'] },
|
||||||
|
'host': { label: gettext('Host'), filters: ['noValue'] },
|
||||||
'size': { label: gettext('Size'), filters: ['noValue', 'bytes'] },
|
'size': { label: gettext('Size'), filters: ['noValue', 'bytes'] },
|
||||||
'image_id': { label: gettext('Image ID'), filters: ['noValue'] },
|
'image_id': { label: gettext('Image ID'), filters: ['noValue'] },
|
||||||
'project_id': { label: gettext('Project ID'), filters: ['noValue'] }
|
'project_id': { label: gettext('Project ID'), filters: ['noValue'] }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user