- Lista iscritti: aggiunto le note e il flag "Da Contattare"

This commit is contained in:
Surya Paolo
2025-01-14 19:17:05 +01:00
parent 08a089881c
commit e2dbe08139
46 changed files with 113 additions and 36 deletions

View File

@@ -221,6 +221,16 @@
</span>
</div>
<div
v-if="
userStore.userprofile &&
userStore.userprofile.profile.da_contattare &&
(userStore.isFacilitatore || userStore.isAdmin)
"
class="col-12 text-h8 q-mt-sm bg-red text-white q-pa-md"
>
<q-icon name="fas fa-comment"></q-icon> Da Contattare
</div>
<div
v-if="
userStore.userprofile &&
@@ -794,6 +804,26 @@
:label="$t('profile.aggiungi_note')"
@click="shownote = !shownote"
/>
<q-fab-action
label-position="right"
v-if="userStore.isFacilitatore || userStore.isAdmin"
color="green"
:icon="
userStore.userprofile.profile.da_contattare
? 'fas fa-user-slash'
: 'fas fa-comment'
"
:label="
userStore.userprofile.profile.da_contattare
? $t('profile.togli_da_contattare')
: $t('profile.da_contattare')
"
@click="
userStore.userprofile.profile.da_contattare =
!userStore.userprofile.profile.da_contattare;
saveDaContattare();
"
/>
</q-fab>
</q-page-sticky>
<q-dialog v-model="showPic" full-height full-width>