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