You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ro...@apache.org on 2020/06/25 05:54:30 UTC
[cloudstack-primate] branch master updated (d1b4f09 -> 6fc4c5c)
This is an automated email from the ASF dual-hosted git repository.
rohit pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/cloudstack-primate.git.
from d1b4f09 config: fix column label to say VM name for backups in listview
new 2da9ad3 views: show doclink icon for custom action forms
new 6fc4c5c infocard: show project for resources having a projectid
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
src/components/view/InfoCard.vue | 7 +++++++
src/views/AutogenView.vue | 11 ++++++++++-
2 files changed, 17 insertions(+), 1 deletion(-)
[cloudstack-primate] 02/02: infocard: show project for resources
having a projectid
Posted by ro...@apache.org.
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 6fc4c5c70420b323411f015732ca0305935b1582
Author: Rohit Yadav <ro...@shapeblue.com>
AuthorDate: Thu Jun 25 11:23:56 2020 +0530
infocard: show project for resources having a projectid
Signed-off-by: Rohit Yadav <ro...@shapeblue.com>
---
src/components/view/InfoCard.vue | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/components/view/InfoCard.vue b/src/components/view/InfoCard.vue
index 722a89b..6df6c4d 100644
--- a/src/components/view/InfoCard.vue
+++ b/src/components/view/InfoCard.vue
@@ -285,6 +285,13 @@
<span v-else>{{ resource.ipaddress }}</span>
</div>
</div>
+ <div class="resource-detail-item" v-if="resource.projectid">
+ <div class="resource-detail-item__label">{{ $t('label.project') }}</div>
+ <div class="resource-detail-item__details">
+ <a-icon type="project" />
+ <router-link :to="{ path: '/project/' + resource.projectid }">{{ resource.project || resource.projectname || resource.projectid }}</router-link>
+ </div>
+ </div>
<div class="resource-detail-item">
<slot name="details">
[cloudstack-primate] 01/02: views: show doclink icon for custom
action forms
Posted by ro...@apache.org.
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 <ro...@shapeblue.com>
AuthorDate: Wed Jun 24 14:20:36 2020 +0530
views: show doclink icon for custom action forms
Signed-off-by: Rohit Yadav <ro...@shapeblue.com>
---
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"