mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
infocard: show project for resources having a projectid
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
039f4429a7
commit
68989bd939
@ -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">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user