feat(Admin): organization public or not public
This commit is contained in:
parent
cc08e623e7
commit
fe1c739ad0
1 changed files with 21 additions and 0 deletions
|
@ -87,7 +87,28 @@
|
|||
{{ item.description|less }}
|
||||
</template> -->
|
||||
<template v-slot:item.validationState="{ item }">
|
||||
<v-tooltip top v-if="item.publishedAt == null">
|
||||
<template v-slot:activator="{ on, attrs }">
|
||||
<span
|
||||
v-bind="attrs"
|
||||
v-on="on">
|
||||
<v-icon small color="error">public_off</v-icon>
|
||||
</span>
|
||||
</template>
|
||||
<span>Cette association n'a jamais été publié</span>
|
||||
</v-tooltip>
|
||||
<v-tooltip top v-else>
|
||||
<template v-slot:activator="{ on, attrs }">
|
||||
<span
|
||||
v-bind="attrs"
|
||||
v-on="on">
|
||||
<v-icon small color="success">public</v-icon>
|
||||
</span>
|
||||
</template>
|
||||
<span>Cette association a déjà été publié</span>
|
||||
</v-tooltip>
|
||||
<v-chip
|
||||
class="ml-2"
|
||||
:color="getValidationColor(item.validationState)"
|
||||
dark>
|
||||
{{ getValidationText(item.validationState) }}
|
||||
|
|
Loading…
Reference in a new issue