- aggiunto anche nei beni, servizi e ospitalità la possibilità di aggiungerli come "Gruppo"
This commit is contained in:
@@ -118,6 +118,17 @@
|
||||
>
|
||||
{{ userStore.userprofile.profile.biografia }}
|
||||
</div>
|
||||
<div
|
||||
v-if="
|
||||
userStore.userprofile &&
|
||||
userStore.userprofile.profile.note &&
|
||||
(userStore.isFacilitatore || userStore.isAdmin)
|
||||
"
|
||||
class="col-12 text-h8 q-mt-sm"
|
||||
>
|
||||
Note del Facilitatore:<br />
|
||||
{{ userStore.userprofile.profile.note }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<CCheckIfIsLogged></CCheckIfIsLogged>
|
||||
@@ -210,6 +221,33 @@
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div
|
||||
v-if="
|
||||
userStore.userprofile &&
|
||||
userStore.userprofile.profile.note &&
|
||||
(userStore.isFacilitatore || userStore.isAdmin)
|
||||
"
|
||||
class="col-12 text-h8 q-mt-sm"
|
||||
>
|
||||
<div v-if="!mostranota" class="text-center">
|
||||
<q-btn
|
||||
label="Note del Facilitatore"
|
||||
@click="mostranota = true"
|
||||
color="green"
|
||||
>
|
||||
<q-badge color="red" floating>1</q-badge>
|
||||
</q-btn>
|
||||
</div>
|
||||
<div v-else>
|
||||
<strong>Note del Facilitatore</strong>:<br />
|
||||
<q-banner rounded class="bg-green-8 text-white">
|
||||
<div class="text-h7 text-center">
|
||||
{{ userStore.userprofile.profile.note }}
|
||||
</div>
|
||||
</q-banner>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<CContactUser
|
||||
:myuser="userStore.userprofile"
|
||||
:showBtnActivities="false"
|
||||
@@ -725,17 +763,13 @@
|
||||
</q-tab-panels>
|
||||
</div>
|
||||
</div>
|
||||
<q-page-sticky
|
||||
position="top-right"
|
||||
:offset="[18, 18]"
|
||||
class="z-top"
|
||||
>
|
||||
<q-page-sticky position="top-right" :offset="[18, 18]" class="z-top">
|
||||
<q-fab
|
||||
icon="fas fa-ellipsis-v"
|
||||
color="accent"
|
||||
external-label
|
||||
vertical-actions-align="right"
|
||||
direction="down"
|
||||
direction="down"
|
||||
>
|
||||
<q-fab-action
|
||||
@click="tools.copyToClip($q, getlinkpage(), true)"
|
||||
@@ -752,6 +786,14 @@
|
||||
:label="$t('shared.edit_profile')"
|
||||
@click.stop="gotoPage('/editprofile')"
|
||||
/>
|
||||
<q-fab-action
|
||||
label-position="right"
|
||||
v-if="userStore.isFacilitatore || userStore.isAdmin"
|
||||
color="red"
|
||||
icon="fas fa-pencil-alt"
|
||||
:label="$t('profile.aggiungi_note')"
|
||||
@click="shownote = !shownote"
|
||||
/>
|
||||
</q-fab>
|
||||
</q-page-sticky>
|
||||
<q-dialog v-model="showPic" full-height full-width>
|
||||
@@ -828,6 +870,14 @@
|
||||
</q-card-section>
|
||||
</q-card>
|
||||
</q-dialog>
|
||||
<div v-if="shownote">
|
||||
<CUserNote
|
||||
:username="username"
|
||||
:userprofile_param="userStore.userprofile"
|
||||
@closenote="shownote = false"
|
||||
@save="salvaUserProv"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts" src="./myprofile.ts">
|
||||
|
||||
Reference in New Issue
Block a user