AidSummary.vue 650 Bytes
Newer Older
Rémy Marronnier's avatar
wip  
Rémy Marronnier committed
1 2 3
 <template>
  <v-list-item two-line>
    <v-list-item-content>
Rémy Marronnier's avatar
Rémy Marronnier committed
4 5 6 7 8 9
      <v-list-item-title>Titre de l'aide {{aid.name}}</v-list-item-title>
      <v-list-item-subtitle>{{aid.short_description}}</v-list-item-subtitle>
      <v-chip v-for="filter in filters" :key="filter.desciption">{{filter.description}}</v-chip>
      <v-btn right>
        <v-icon left>mdi-eye</v-icon>Voir
      </v-btn>
Rémy Marronnier's avatar
wip  
Rémy Marronnier committed
10 11 12 13 14 15
    </v-list-item-content>
  </v-list-item>
</template>
 
 <script>
export default {
Rémy Marronnier's avatar
Rémy Marronnier committed
16 17 18 19 20 21 22 23 24 25 26
  name: "AidSummary",
  props: {
    aid: {
      type: Object
    }
  },
  computed: {
    filters() {
      return this.aid.filters;
    }
  }
Rémy Marronnier's avatar
wip  
Rémy Marronnier committed
27 28 29 30 31
};
</script>
 
 <style>
</style>