From b5a438162f7dad5f1f34b037b1a24d608a159491 Mon Sep 17 00:00:00 2001 From: Hoang Nguyen Date: Wed, 15 Jan 2020 13:51:36 +0700 Subject: [PATCH] image: register template action form (#92) This implements a customer register registration form. Signed-off-by: Rohit Yadav Co-authored-by: hoangnm Co-authored-by: Rohit Yadav --- ui/src/components/view/ActionButton.vue | 4 +- ui/src/components/view/ListView.vue | 3 + ui/src/components/widgets/OsLogo.vue | 2 +- ui/src/config/section/image.js | 4 +- ui/src/locales/en.json | 12 +- ui/src/views/image/RegisterIso.vue | 2 +- ui/src/views/image/RegisterTemplate.vue | 798 ++++++++++++++++++++++++ 7 files changed, 816 insertions(+), 9 deletions(-) create mode 100644 ui/src/views/image/RegisterTemplate.vue diff --git a/ui/src/components/view/ActionButton.vue b/ui/src/components/view/ActionButton.vue index 13bc00c38ba..fbd842a9d87 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, $store.getters.apis) : true)"> + ('show' in action ? action.show(resource, $store.getters.userInfo) : true)"> + {{ text }} {{ text }} @@ -154,6 +155,7 @@ + +