piccole modif
This commit is contained in:
@@ -30,6 +30,11 @@ export default defineComponent({
|
||||
required: false,
|
||||
default: '',
|
||||
},
|
||||
before_str: {
|
||||
type: String,
|
||||
required: false,
|
||||
default: '',
|
||||
},
|
||||
strfido: {
|
||||
type: String,
|
||||
required: false,
|
||||
|
||||
@@ -81,6 +81,9 @@
|
||||
<q-icon v-else name="fas fa-coins" :size="small ? `xs` : `sm`" />
|
||||
</template>
|
||||
<template v-slot:control>
|
||||
<div class="text-h8 text-blue">
|
||||
{{ before_str }}
|
||||
</div>
|
||||
<div :class="`align_elem_right ` + (small ? `text-h7` : ``)">
|
||||
{{ valueextra }}{{ tools.roundDec2(modelValue) }}
|
||||
<q-tooltip :offset="[10, 10]" v-model="showingtooltip">{{
|
||||
|
||||
@@ -52,14 +52,16 @@
|
||||
}}</span></span
|
||||
>
|
||||
<q-item-label v-if="contact.account" caption lines="2">
|
||||
<CSaldo
|
||||
:small="true"
|
||||
:account="contact.account"
|
||||
:symbol="tools.getSymbolByCircuit(circuit)"
|
||||
:color="tools.getColorByCircuit(circuit)"
|
||||
:saldo="contact.account.saldo"
|
||||
>
|
||||
</CSaldo>
|
||||
<div class="row">
|
||||
<CSaldo
|
||||
:small="true"
|
||||
:account="contact.account"
|
||||
:symbol="tools.getSymbolByCircuit(circuit)"
|
||||
:color="tools.getColorByCircuit(circuit)"
|
||||
:saldo="contact.account.saldo"
|
||||
>
|
||||
</CSaldo>
|
||||
</div>
|
||||
</q-item-label>
|
||||
</q-item-section>
|
||||
|
||||
@@ -210,7 +212,7 @@
|
||||
</q-btn>
|
||||
</q-item-label>
|
||||
</q-item-section>
|
||||
<q-item-section side v-else-if="visu === costanti.SETHANDSHAKE">
|
||||
<q-item-section side v-else-if="visu === costanti.HANDSHAKE">
|
||||
<q-item-label>
|
||||
<q-btn rounded icon="fas fa-ellipsis-h">
|
||||
<q-menu>
|
||||
@@ -433,7 +435,9 @@
|
||||
</q-item-section>
|
||||
</q-item>
|
||||
<q-item
|
||||
v-if="contact.account ? contact.account.fidoConcesso <= 0 : true"
|
||||
v-if="
|
||||
contact.account ? contact.account.fidoConcesso <= 0 : true
|
||||
"
|
||||
clickable
|
||||
v-close-popup
|
||||
@click="
|
||||
@@ -806,7 +810,7 @@
|
||||
</q-item-section>
|
||||
<q-item-section>{{ $t('circuit.sendcoins') }}</q-item-section>
|
||||
</q-item>
|
||||
<q-item
|
||||
<q-item
|
||||
clickable
|
||||
v-close-popup
|
||||
dense
|
||||
|
||||
@@ -18,13 +18,14 @@
|
||||
:strfido="t('account.fido_casa', { fido: account ? account.fidoConcesso : '', symbol })"
|
||||
:color="color"
|
||||
v-model="saldo"
|
||||
:before_str="t('account.saldo') + `:`"
|
||||
:valueextra="
|
||||
account && account.notifspending && account.notifspending.length > 0
|
||||
? `* `
|
||||
: ''
|
||||
"
|
||||
:label="
|
||||
t('account.saldo') + ` (` + t('account.dispon') + `: ` + qtarem + `)`
|
||||
`(` + t('account.dispon') + `: ` + qtarem + ` ` + symbol + `)`
|
||||
"
|
||||
:paramTypeAccount="paramTypeAccount"
|
||||
:myrecparam="account"
|
||||
|
||||
@@ -1394,7 +1394,7 @@ const msg_it = {
|
||||
qta_maxConcessa: 'Capacità massima accumulabile',
|
||||
importo_iniziale: 'Importo Iniziale',
|
||||
saldo: 'Saldo',
|
||||
dispon: 'Disponib.',
|
||||
dispon: 'Disponibilità',
|
||||
saldo_tips: 'Rappresenta quanto credito ho accumulato. Ma posso andare anche sotto fino a {fido} {symbol}',
|
||||
fido_casa: 'I residenti della provincia del circuito hanno il fido Concesso abilitato. (Fido: {fido} {symbol})',
|
||||
user: 'Utente',
|
||||
|
||||
@@ -260,7 +260,12 @@ export const useUserStore = defineStore('UserStore', {
|
||||
return { sortBy: 'namecomplete', descending: false, page: 1, rowsNumber: 0, rowsPerPage: 15 }
|
||||
},
|
||||
getSortFieldsAvailable(): any[] {
|
||||
return [{ label: 'Name e User', value: { 'namecomplete': 1 } }, { label: 'Ultimi entrati', value: { 'date_reg': -1 } }]
|
||||
return [
|
||||
{ label: 'Nome e Username', value: { 'namecomplete': 1 } },
|
||||
{ label: 'Ultimi entrati', value: { 'date_reg': -1 } },
|
||||
{ label: 'Pieno di RIS', value: { 'account.saldo': -1 } },
|
||||
{ label: 'Carente di RIS', value: { 'account.saldo': 1 } },
|
||||
]
|
||||
},
|
||||
|
||||
IsMyFriendByUsername(username: string): boolean {
|
||||
@@ -324,7 +329,7 @@ export const useUserStore = defineStore('UserStore', {
|
||||
} catch (e) {
|
||||
return []
|
||||
}
|
||||
|
||||
|
||||
},
|
||||
|
||||
hoContiComunitariDaAmministrare(): boolean {
|
||||
|
||||
Reference in New Issue
Block a user