mirror of https://github.com/apache/cloudstack.git
views: show doclink icon for custom action forms
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
7c4c21f489
commit
039f4429a7
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue