Attivare gli scambi RIS solo se si è aggiunto almeno 1 bene o 1 servizio.
This commit is contained in:
@@ -31,11 +31,11 @@
|
||||
|
||||
|
||||
<q-btn
|
||||
v-if="userStore.IsMyCircuitByUser(contact).length > 0 && contact.username !== userStore.my.username"
|
||||
v-if="userStore.IsMyCircuitByUser(contact).length > 0 && contact.username !== userStore.my.username && userStore.my.profile.calc.numGoodsAndServices > 0"
|
||||
icon="fas fa-coins"
|
||||
color="green"
|
||||
size="md"
|
||||
rounded
|
||||
dense
|
||||
@click="showsendCoinTo = true"
|
||||
>
|
||||
</q-btn>
|
||||
@@ -271,6 +271,7 @@
|
||||
<q-item-label>
|
||||
|
||||
<q-btn v-if="contact.username !== userStore.my.username" rounded
|
||||
dense
|
||||
:icon="userStore.IsMyFriendByUsername(contact.username) ? `fas fa-ellipsis-h` : `fas fa-user`">
|
||||
<q-menu>
|
||||
<q-list style="min-width: 200px">
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
<template>
|
||||
symbol: {{symbol}}
|
||||
<CCurrencyValue
|
||||
v-if="small"
|
||||
:small="true"
|
||||
|
||||
@@ -68,14 +68,14 @@
|
||||
</div>
|
||||
-->
|
||||
|
||||
<div v-if="site.confpages && site.confpages.show_darkopt" class="text-h7">
|
||||
<div
|
||||
v-if="site.confpages && site.confpages.show_darkopt"
|
||||
class="text-h7"
|
||||
>
|
||||
<q-toggle :icon="'fas fa-moon'" v-model="dark"> </q-toggle>
|
||||
</div>
|
||||
<q-btn
|
||||
v-if="
|
||||
!isonline() &&
|
||||
site.confpages && site.confpages.showConnected
|
||||
"
|
||||
v-if="!isonline() && site.confpages && site.confpages.showConnected"
|
||||
flat
|
||||
dense
|
||||
round
|
||||
@@ -129,7 +129,9 @@
|
||||
|
||||
<q-btn
|
||||
class="q-mx-xs"
|
||||
v-if="site.confpages && site.confpages.enableEcommerce && tools.isLogged()"
|
||||
v-if="
|
||||
site.confpages && site.confpages.enableEcommerce && tools.isLogged()
|
||||
"
|
||||
round
|
||||
dense
|
||||
flat
|
||||
@@ -149,7 +151,8 @@
|
||||
<q-btn
|
||||
class="q-mx-xs"
|
||||
v-if="
|
||||
site.confpages && site.confpages.enableEcommerce &&
|
||||
site.confpages &&
|
||||
site.confpages.enableEcommerce &&
|
||||
tools.isLogged() &&
|
||||
getnumOrdersCart() > 0
|
||||
"
|
||||
@@ -171,7 +174,9 @@
|
||||
|
||||
<q-btn
|
||||
class="q-mx-xs"
|
||||
v-if="site.confpages && site.confpages.showUserMenu && !tools.isLogged()"
|
||||
v-if="
|
||||
site.confpages && site.confpages.showUserMenu && !tools.isLogged()
|
||||
"
|
||||
dense
|
||||
flat
|
||||
round
|
||||
@@ -181,7 +186,8 @@
|
||||
</q-btn>
|
||||
<q-avatar
|
||||
v-else-if="
|
||||
site.confpages && site.confpages.showUserMenu &&
|
||||
site.confpages &&
|
||||
site.confpages.showUserMenu &&
|
||||
tools.isLogged() &&
|
||||
getMyImg()
|
||||
"
|
||||
@@ -209,7 +215,6 @@
|
||||
:color="getcolormenu()"
|
||||
>
|
||||
</q-btn>
|
||||
|
||||
</q-toolbar>
|
||||
</q-header>
|
||||
|
||||
@@ -372,8 +377,16 @@
|
||||
color="primary"
|
||||
icon="person"
|
||||
:to="`/my/` + getMyUsername()"
|
||||
>{{ t('pages.profile') }}</q-btn
|
||||
>
|
||||
>{{ t('pages.profile') }}
|
||||
</q-btn>
|
||||
<q-btn
|
||||
v-if="site.confpages && site.confpages.showCompetenze"
|
||||
rounded
|
||||
color="orange"
|
||||
icon="house"
|
||||
:to="`/skills/` + getMyUsername()"
|
||||
> {{ t('otherpages.myactivities') }}
|
||||
</q-btn>
|
||||
<!--<q-btn round color="warning" icon="lock"></q-btn>-->
|
||||
<q-btn
|
||||
rounded
|
||||
|
||||
Reference in New Issue
Block a user