You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by GitBox <gi...@apache.org> on 2019/12/27 13:30:55 UTC

[GitHub] [cloudstack-primate] iceteabottle commented on a change in pull request #7: [WIP] Feature/vm wizard

iceteabottle commented on a change in pull request #7: [WIP] Feature/vm wizard
URL: https://github.com/apache/cloudstack-primate/pull/7#discussion_r361663839
 
 

 ##########
 File path: src/components/view/InfoCard.vue
 ##########
 @@ -302,10 +302,19 @@
           <a-icon type="rocket" />
           <router-link :to="{ path: '/managementserver/' + resource.managementserverid }">{{ resource.managementserver || resource.managementserverid }}</router-link>
         </div>
-
         <div class="resource-detail-item" v-if="resource.created">
           <a-icon type="calendar" />{{ resource.created }}
         </div>
+        <div class="resource-detail-item" v-if="resource.affinitygroup && resource.affinitygroup.length > 0">
+          <a-icon type="swap" />
+          <span
+            v-for="(group, index) in resource.affinitygroup"
+            :key="group.id"
+          >
+            <router-link :to="{ path: '/affinitygroup/' + group.id }">{{ group.name }}</router-link>
+            <span v-if="index + 1 < resource.affinitygroup.length">, </span>
 
 Review comment:
   I think that's not the smartest way to display the list of affinity groups. Maybe we can change this later. I would prefer to focus on the wizard and adjust the info card later. Or do you have a suggestion, @rhtyd ?
   
   ![Bildschirmfoto 2019-12-27 um 14 30 25](https://user-images.githubusercontent.com/13260952/71518912-78da8580-28b5-11ea-86af-60ac8c83dd41.png)
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services