This is an automated email from the ASF dual-hosted git repository. rohit pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/cloudstack-primate.git
commit 2da9ad3b30af66a17970e19b5aa25850c62126cf Author: Rohit Yadav <[email protected]> AuthorDate: Wed Jun 24 14:20:36 2020 +0530 views: show doclink icon for custom action forms Signed-off-by: Rohit Yadav <[email protected]> --- src/views/AutogenView.vue | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/views/AutogenView.vue b/src/views/AutogenView.vue index 3afcb88..c8a0f5f 100644 --- a/src/views/AutogenView.vue +++ b/src/views/AutogenView.vue @@ -82,7 +82,6 @@ <div v-show="showAction"> <keep-alive v-if="currentAction.component"> <a-modal - :title="$t(currentAction.label)" :visible="showAction" :closable="true" style="top: 20px;" @@ -92,6 +91,16 @@ centered width="auto" > + <span slot="title"> + {{ $t(currentAction.label) }} + <a + v-if="currentAction.docHelp || $route.meta.docHelp" + style="margin-left: 5px" + :href="$config.docBase + '/' + (currentAction.docHelp || $route.meta.docHelp)" + target="_blank"> + <a-icon type="question-circle-o"></a-icon> + </a> + </span> <component :is="currentAction.component" :resource="resource"
