- L'utente entra direttamente sul circuito, con fido a zero.
++Abilitazione Fido utente (per admin).
This commit is contained in:
@@ -43,7 +43,14 @@
|
||||
<q-item-label v-if="labelFooter" lines="1"
|
||||
><em>{{ labelFooter }}</em></q-item-label
|
||||
>
|
||||
<span v-if="contact.profile && contact.profile.resid_province" class="show_province_title">Prov: <span class="show_province">{{ contact.profile.resid_province }}</span></span>
|
||||
<span
|
||||
v-if="contact.profile && contact.profile.resid_province"
|
||||
class="show_province_title"
|
||||
>Prov:
|
||||
<span class="show_province">{{
|
||||
contact.profile.resid_province
|
||||
}}</span></span
|
||||
>
|
||||
<q-item-label v-if="contact.account" caption lines="2">
|
||||
<CSaldo
|
||||
:small="true"
|
||||
@@ -56,23 +63,6 @@
|
||||
</q-item-label>
|
||||
</q-item-section>
|
||||
|
||||
<q-item-section side>
|
||||
<q-btn
|
||||
v-if="
|
||||
userStore.getMyCircuitsInCommonByUser(contact).length > 0 &&
|
||||
(contact.username !== userStore.my.username ||
|
||||
userStore.hoContiCollettiviDaAmministrare() ||
|
||||
userStore.hoContiComunitariDaAmministrare())
|
||||
"
|
||||
icon="fas fa-coins"
|
||||
color="green"
|
||||
size="md"
|
||||
dense
|
||||
@click="showsendCoinTo = true"
|
||||
>
|
||||
</q-btn>
|
||||
</q-item-section>
|
||||
|
||||
<q-item-section side v-if="visu === costanti.FRIENDS">
|
||||
<q-item-label>
|
||||
<q-btn rounded icon="fas fa-ellipsis-h">
|
||||
@@ -264,7 +254,12 @@
|
||||
{{ $t('groups.accept_group') }}
|
||||
</q-item-section>
|
||||
</q-item>
|
||||
<q-item v-if="circuit" clickable v-close-popup @click="showAccountInfo = true">
|
||||
<q-item
|
||||
v-if="circuit"
|
||||
clickable
|
||||
v-close-popup
|
||||
@click="showAccountInfo = true"
|
||||
>
|
||||
<q-item-section avatar>
|
||||
<q-icon name="fas fa-info" />
|
||||
</q-item-section>
|
||||
@@ -397,7 +392,7 @@
|
||||
<q-list v-if="true" style="min-width: 150px">
|
||||
<q-item
|
||||
v-if="
|
||||
userStore.getMyCircuitsInCommonByUser(contact).length > 0 &&
|
||||
userStore.showButtonSendCoin(contact) &&
|
||||
(contact.username !== userStore.my.username ||
|
||||
userStore.hoContiCollettiviDaAmministrare() ||
|
||||
userStore.hoContiComunitariDaAmministrare())
|
||||
@@ -410,9 +405,7 @@
|
||||
<q-item-section avatar>
|
||||
<q-icon color="positive" name="fas fa-coins" />
|
||||
</q-item-section>
|
||||
<q-item-section>{{
|
||||
$t('circuit.sendcoins')
|
||||
}}</q-item-section>
|
||||
<q-item-section>{{ $t('circuit.sendcoins') }}</q-item-section>
|
||||
</q-item>
|
||||
<q-item
|
||||
clickable
|
||||
@@ -428,7 +421,27 @@
|
||||
{{ $t('circuit.accept') }}
|
||||
</q-item-section>
|
||||
</q-item>
|
||||
<q-item v-if="circuit" clickable v-close-popup @click="showAccountInfo = true">
|
||||
<q-item
|
||||
v-if="contact.account ? contact.account.fidoConcesso <= 0 : true"
|
||||
clickable
|
||||
v-close-popup
|
||||
@click="
|
||||
tools.addFidoToMyCircuits($q, contact.username, circuitname)
|
||||
"
|
||||
>
|
||||
<q-item-section avatar>
|
||||
<q-icon color="positive" name="fas fa-coins" />
|
||||
</q-item-section>
|
||||
<q-item-section>
|
||||
{{ $t('circuit.enablefido') }}
|
||||
</q-item-section>
|
||||
</q-item>
|
||||
<q-item
|
||||
v-if="circuit"
|
||||
clickable
|
||||
v-close-popup
|
||||
@click="showAccountInfo = true"
|
||||
>
|
||||
<q-item-section avatar>
|
||||
<q-icon name="fas fa-info" />
|
||||
</q-item-section>
|
||||
@@ -466,6 +479,70 @@
|
||||
$t('shared.cancel_ask_short')
|
||||
}}</q-item-section>
|
||||
</q-item>
|
||||
<q-item
|
||||
clickable
|
||||
v-if="
|
||||
!tools.isUserAdminCircuit(circuitname, contact.username)
|
||||
"
|
||||
v-close-popup
|
||||
@click="
|
||||
tools.addtoAdminOfCircuit($q, contact.username, circuitname)
|
||||
"
|
||||
>
|
||||
<q-item-section avatar>
|
||||
<q-icon color="positive" name="fas fa-user-shield" />
|
||||
</q-item-section>
|
||||
<q-item-section>{{
|
||||
$t('circuit.addasadmin')
|
||||
}}</q-item-section>
|
||||
</q-item>
|
||||
<q-item
|
||||
clickable
|
||||
v-if="
|
||||
tools.isUserAdminCircuit(circuitname, contact.username) &&
|
||||
tools.iAmTheCreatorOfTheCircuit(circuitname)
|
||||
"
|
||||
v-close-popup
|
||||
@click="
|
||||
tools.removeAdminOfCircuit(
|
||||
$q,
|
||||
contact.username,
|
||||
circuitname
|
||||
)
|
||||
"
|
||||
>
|
||||
<q-item-section avatar>
|
||||
<q-icon color="negative" name="fas fa-user-times" />
|
||||
</q-item-section>
|
||||
<q-item-section>{{
|
||||
$t('circuit.remove_as_admin')
|
||||
}}</q-item-section>
|
||||
</q-item>
|
||||
<q-item
|
||||
clickable
|
||||
v-if="
|
||||
!tools.isUserTheCreatorOfTheCircuit(
|
||||
circuitname,
|
||||
contact.username
|
||||
)
|
||||
"
|
||||
v-close-popup
|
||||
@click="
|
||||
tools.removeFromMyCircuits(
|
||||
$q,
|
||||
contact.username,
|
||||
circuitname,
|
||||
''
|
||||
)
|
||||
"
|
||||
>
|
||||
<q-item-section avatar>
|
||||
<q-icon color="negative" name="fas fa-user-minus" />
|
||||
</q-item-section>
|
||||
<q-item-section>{{
|
||||
$t('circuit.remove_from_mycircuit')
|
||||
}}</q-item-section>
|
||||
</q-item>
|
||||
</q-list>
|
||||
</q-menu>
|
||||
</q-btn>
|
||||
@@ -543,24 +620,6 @@
|
||||
$t('circuit.remove_from_mycircuit')
|
||||
}}</q-item-section>
|
||||
</q-item>
|
||||
<q-item
|
||||
clickable
|
||||
v-close-popup
|
||||
@click="
|
||||
tools.reportUser(
|
||||
$q,
|
||||
userStore.my.username,
|
||||
contact.username
|
||||
)
|
||||
"
|
||||
>
|
||||
<q-item-section avatar>
|
||||
<q-icon color="negative" name="fas fa-flag" />
|
||||
</q-item-section>
|
||||
<q-item-section>{{
|
||||
$t('friends.report_user')
|
||||
}}</q-item-section>
|
||||
</q-item>
|
||||
</q-list>
|
||||
</q-menu>
|
||||
</q-btn>
|
||||
@@ -719,7 +778,7 @@
|
||||
<q-list style="min-width: 200px">
|
||||
<q-item
|
||||
v-if="
|
||||
userStore.getMyCircuitsInCommonByUser(contact).length > 0 &&
|
||||
userStore.showButtonSendCoin(contact) &&
|
||||
(contact.username !== userStore.my.username ||
|
||||
userStore.hoContiCollettiviDaAmministrare() ||
|
||||
userStore.hoContiComunitariDaAmministrare())
|
||||
@@ -732,9 +791,7 @@
|
||||
<q-item-section avatar>
|
||||
<q-icon color="positive" name="fas fa-coins" />
|
||||
</q-item-section>
|
||||
<q-item-section>{{
|
||||
$t('circuit.sendcoins')
|
||||
}}</q-item-section>
|
||||
<q-item-section>{{ $t('circuit.sendcoins') }}</q-item-section>
|
||||
</q-item>
|
||||
<q-item
|
||||
v-if="
|
||||
@@ -855,7 +912,12 @@
|
||||
$t('handshake.remove_from_myhandshake')
|
||||
}}</q-item-section>
|
||||
</q-item>
|
||||
<q-item v-if="circuit" clickable v-close-popup @click="showAccountInfo = true">
|
||||
<q-item
|
||||
v-if="circuit"
|
||||
clickable
|
||||
v-close-popup
|
||||
@click="showAccountInfo = true"
|
||||
>
|
||||
<q-item-section avatar>
|
||||
<q-icon name="fas fa-info" />
|
||||
</q-item-section>
|
||||
|
||||
Reference in New Issue
Block a user