diff --git a/ui/src/components/view/ActionButton.vue b/ui/src/components/view/ActionButton.vue index fbd842a9d87..13bc00c38ba 100644 --- a/ui/src/components/view/ActionButton.vue +++ b/ui/src/components/view/ActionButton.vue @@ -32,7 +32,7 @@ v-if="action.api in $store.getters.apis && action.showBadge && ((!dataView && (action.listView || action.groupAction && selectedRowKeys.length > 0)) || (dataView && action.dataView)) && - ('show' in action ? action.show(resource, $store.getters.userInfo) : true)"> + ('show' in action ? action.show(resource, $store.getters.userInfo, $store.getters.apis) : true)"> { return 'registerIso' in apis }, + component: () => import('@/views/image/RegisterIso.vue') }, { api: 'getUploadParamsForIso', diff --git a/ui/src/locales/en.json b/ui/src/locales/en.json index c6d6dcba5df..dae38ff9fe5 100644 --- a/ui/src/locales/en.json +++ b/ui/src/locales/en.json @@ -464,6 +464,7 @@ "label.add.vpc.offering": "Add VPC Offering", "label.add.vpn.customer.gateway": "Add VPN Customer Gateway", "label.add.zone": "Add Zone", +"label.all.zone": "All Zone", "label.archive": "Archive", "label.archive.alerts": "Archive alerts", "label.archive.events": "Archive events", diff --git a/ui/src/views/image/RegisterIso.vue b/ui/src/views/image/RegisterIso.vue new file mode 100644 index 00000000000..96dd2d6041f --- /dev/null +++ b/ui/src/views/image/RegisterIso.vue @@ -0,0 +1,241 @@ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + + + + + +