- Invia e Ricevi RIS (grafica aggiornata)
- Visualizzazione Movimenti (ultimi e successivi), per singolo e di tutti
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
</q-avatar>
|
||||
</q-item-section>
|
||||
|
||||
<q-item-section @click="naviga(`/my/` + contact.username)">
|
||||
<q-item-section @click="actionType === costanti.ACTIONTYPE.SEND_RIS ? naviga(`/my/` + contact.username + '?sr=0') : naviga(`/my/` + contact.username)">
|
||||
<q-item-label v-if="labelextra && labelextra !== contact.username"
|
||||
><strong>{{ labelextra }}</strong></q-item-label
|
||||
>
|
||||
@@ -422,10 +422,13 @@
|
||||
clickable
|
||||
v-close-popup
|
||||
dense
|
||||
@click="naviga(`/my/` + contact.username + '?sendris=0')"
|
||||
@click="naviga(`/my/` + contact.username + '?sr=0')"
|
||||
>
|
||||
<q-item-section avatar>
|
||||
<q-icon color="positive" name="img: images/1ris_rosso_100.png" />
|
||||
<q-icon
|
||||
color="positive"
|
||||
name="img: images/1ris_rosso_100.png"
|
||||
/>
|
||||
</q-item-section>
|
||||
<q-item-section>{{ $t('circuit.sendcoins') }}</q-item-section>
|
||||
</q-item>
|
||||
@@ -454,7 +457,10 @@
|
||||
"
|
||||
>
|
||||
<q-item-section avatar>
|
||||
<q-icon color="positive" name="img: images/1ris_rosso_100.png" />
|
||||
<q-icon
|
||||
color="positive"
|
||||
name="img: images/1ris_rosso_100.png"
|
||||
/>
|
||||
</q-item-section>
|
||||
<q-item-section>
|
||||
{{ $t('circuit.enablefido') }}
|
||||
@@ -787,203 +793,216 @@
|
||||
side
|
||||
v-else-if="visu === costanti.FIND_PEOPLE || visu === costanti.HANDSHAKE"
|
||||
>
|
||||
<q-item-label>
|
||||
<q-btn
|
||||
v-if="contact.username !== userStore.my.username"
|
||||
rounded
|
||||
dense
|
||||
icon="fas fa-ellipsis-h"
|
||||
>
|
||||
<!-- </q-btn></q-btn>:icon="
|
||||
<div v-if="actionType === costanti.ACTIONTYPE.SEND_RIS">
|
||||
<q-icon
|
||||
name="img: images/1ris_rosso_100.png"
|
||||
:size="`lg`"
|
||||
/>
|
||||
</div>
|
||||
<div v-else>
|
||||
<q-item-label>
|
||||
<q-btn
|
||||
v-if="contact.username !== userStore.my.username"
|
||||
rounded
|
||||
dense
|
||||
icon="fas fa-ellipsis-h"
|
||||
>
|
||||
<!-- </q-btn></q-btn>:icon="
|
||||
userStore.IsMyFriendByUsername(contact.username)
|
||||
? `fas fa-ellipsis-h`
|
||||
: `fas fa-user`
|
||||
"-->
|
||||
<q-menu>
|
||||
<q-list style="min-width: 200px">
|
||||
<q-item
|
||||
v-if="
|
||||
userStore.showButtonSendCoin(contact) &&
|
||||
(contact.username !== userStore.my.username ||
|
||||
userStore.hoContiCollettiviDaAmministrare() ||
|
||||
userStore.hoContiComunitariDaAmministrare())
|
||||
"
|
||||
clickable
|
||||
v-close-popup
|
||||
dense
|
||||
@click="naviga(`/my/` + contact.username + '?sendris=0')"
|
||||
>
|
||||
<q-item-section avatar>
|
||||
<q-icon color="positive" name="img: images/1ris_rosso_100.png" />
|
||||
</q-item-section>
|
||||
<q-item-section>{{ $t('circuit.sendcoins') }}</q-item-section>
|
||||
</q-item>
|
||||
<q-item
|
||||
clickable
|
||||
v-close-popup
|
||||
dense
|
||||
@click="naviga(`/my/` + contact.username)"
|
||||
>
|
||||
<q-item-section avatar>
|
||||
<q-icon color="primary" name="fas fa-user" />
|
||||
</q-item-section>
|
||||
<q-item-section>{{ $t('shared.profile') }}</q-item-section>
|
||||
</q-item>
|
||||
<q-menu>
|
||||
<q-list style="min-width: 200px">
|
||||
<q-item
|
||||
v-if="
|
||||
userStore.showButtonSendCoin(contact) &&
|
||||
(contact.username !== userStore.my.username ||
|
||||
userStore.hoContiCollettiviDaAmministrare() ||
|
||||
userStore.hoContiComunitariDaAmministrare())
|
||||
"
|
||||
clickable
|
||||
v-close-popup
|
||||
dense
|
||||
@click="naviga(`/my/` + contact.username + '?sr=0')"
|
||||
>
|
||||
<q-item-section avatar>
|
||||
<q-icon
|
||||
color="positive"
|
||||
name="img: images/1ris_rosso_100.png"
|
||||
/>
|
||||
</q-item-section>
|
||||
<q-item-section>{{
|
||||
$t('circuit.sendcoins')
|
||||
}}</q-item-section>
|
||||
</q-item>
|
||||
<q-item
|
||||
clickable
|
||||
v-close-popup
|
||||
dense
|
||||
@click="naviga(`/my/` + contact.username)"
|
||||
>
|
||||
<q-item-section avatar>
|
||||
<q-icon color="primary" name="fas fa-user" />
|
||||
</q-item-section>
|
||||
<q-item-section>{{ $t('shared.profile') }}</q-item-section>
|
||||
</q-item>
|
||||
|
||||
<q-item
|
||||
v-if="
|
||||
costanti.ENABLE_FRIENDS &&
|
||||
!userStore.IsMyFriendByUsername(contact.username) &&
|
||||
!userStore.IsAskedFriendByUsername(contact.username)
|
||||
"
|
||||
clickable
|
||||
v-close-popup
|
||||
@click="
|
||||
setCmd(
|
||||
$q,
|
||||
shared_consts.FRIENDSCMD.REQFRIEND,
|
||||
userStore.my.username,
|
||||
true,
|
||||
contact.username
|
||||
)
|
||||
"
|
||||
>
|
||||
<q-item-section avatar>
|
||||
<q-icon color="positive" name="fas fa-user-plus" />
|
||||
</q-item-section>
|
||||
<q-item-section>{{
|
||||
$t('friends.ask_friend')
|
||||
}}</q-item-section>
|
||||
</q-item>
|
||||
<q-item
|
||||
v-else-if="
|
||||
costanti.ENABLE_FRIENDS &&
|
||||
!userStore.IsMyFriendByUsername(contact.username) &&
|
||||
userStore.IsAskedFriendByUsername(contact.username)
|
||||
"
|
||||
clickable
|
||||
v-close-popup
|
||||
@click="
|
||||
setCmd(
|
||||
$q,
|
||||
shared_consts.FRIENDSCMD.REQFRIEND,
|
||||
userStore.my.username,
|
||||
false,
|
||||
contact.username
|
||||
)
|
||||
"
|
||||
>
|
||||
<q-item-section avatar>
|
||||
<q-icon color="negative" name="fas fa-user-minus" />
|
||||
</q-item-section>
|
||||
<q-item-section>{{
|
||||
$t('friends.cancel_ask_friend')
|
||||
}}</q-item-section>
|
||||
</q-item>
|
||||
<q-item
|
||||
v-else-if="
|
||||
costanti.ENABLE_FRIENDS &&
|
||||
userStore.IsMyFriendByUsername(contact.username)
|
||||
"
|
||||
style="min-width: 200px"
|
||||
clickable
|
||||
v-close-popup
|
||||
@click="
|
||||
setCmd(
|
||||
$q,
|
||||
shared_consts.FRIENDSCMD.REMOVE_FROM_MYFRIENDS,
|
||||
userStore.my.username,
|
||||
'',
|
||||
contact.username
|
||||
)
|
||||
"
|
||||
>
|
||||
<q-item-section avatar>
|
||||
<q-icon color="negative" name="fas fa-user-minus" />
|
||||
</q-item-section>
|
||||
<q-item-section>{{
|
||||
$t('friends.remove_from_myfriends')
|
||||
}}</q-item-section>
|
||||
</q-item>
|
||||
<q-item
|
||||
v-if="
|
||||
costanti.ENABLE_FRIENDS &&
|
||||
!userStore.IsMyFriendByUsername(contact.username) &&
|
||||
!userStore.IsAskedFriendByUsername(contact.username)
|
||||
"
|
||||
clickable
|
||||
v-close-popup
|
||||
@click="
|
||||
setCmd(
|
||||
$q,
|
||||
shared_consts.FRIENDSCMD.REQFRIEND,
|
||||
userStore.my.username,
|
||||
true,
|
||||
contact.username
|
||||
)
|
||||
"
|
||||
>
|
||||
<q-item-section avatar>
|
||||
<q-icon color="positive" name="fas fa-user-plus" />
|
||||
</q-item-section>
|
||||
<q-item-section>{{
|
||||
$t('friends.ask_friend')
|
||||
}}</q-item-section>
|
||||
</q-item>
|
||||
<q-item
|
||||
v-else-if="
|
||||
costanti.ENABLE_FRIENDS &&
|
||||
!userStore.IsMyFriendByUsername(contact.username) &&
|
||||
userStore.IsAskedFriendByUsername(contact.username)
|
||||
"
|
||||
clickable
|
||||
v-close-popup
|
||||
@click="
|
||||
setCmd(
|
||||
$q,
|
||||
shared_consts.FRIENDSCMD.REQFRIEND,
|
||||
userStore.my.username,
|
||||
false,
|
||||
contact.username
|
||||
)
|
||||
"
|
||||
>
|
||||
<q-item-section avatar>
|
||||
<q-icon color="negative" name="fas fa-user-minus" />
|
||||
</q-item-section>
|
||||
<q-item-section>{{
|
||||
$t('friends.cancel_ask_friend')
|
||||
}}</q-item-section>
|
||||
</q-item>
|
||||
<q-item
|
||||
v-else-if="
|
||||
costanti.ENABLE_FRIENDS &&
|
||||
userStore.IsMyFriendByUsername(contact.username)
|
||||
"
|
||||
style="min-width: 200px"
|
||||
clickable
|
||||
v-close-popup
|
||||
@click="
|
||||
setCmd(
|
||||
$q,
|
||||
shared_consts.FRIENDSCMD.REMOVE_FROM_MYFRIENDS,
|
||||
userStore.my.username,
|
||||
'',
|
||||
contact.username
|
||||
)
|
||||
"
|
||||
>
|
||||
<q-item-section avatar>
|
||||
<q-icon color="negative" name="fas fa-user-minus" />
|
||||
</q-item-section>
|
||||
<q-item-section>{{
|
||||
$t('friends.remove_from_myfriends')
|
||||
}}</q-item-section>
|
||||
</q-item>
|
||||
|
||||
<q-item
|
||||
v-if="!userStore.IsHandShakeByMe(contact)"
|
||||
clickable
|
||||
v-close-popup
|
||||
@click="
|
||||
setCmd(
|
||||
$q,
|
||||
shared_consts.FRIENDSCMD.SETHANDSHAKE,
|
||||
userStore.my.username,
|
||||
true,
|
||||
contact.username
|
||||
)
|
||||
"
|
||||
>
|
||||
<q-item-section avatar>
|
||||
<q-icon color="positive" name="far fa-handshake" />
|
||||
</q-item-section>
|
||||
<q-item-section>{{
|
||||
$t('handshake.ask_handshake')
|
||||
}}</q-item-section>
|
||||
</q-item>
|
||||
<q-item
|
||||
v-else
|
||||
style="min-width: 200px"
|
||||
clickable
|
||||
v-close-popup
|
||||
@click="
|
||||
setCmd(
|
||||
$q,
|
||||
shared_consts.FRIENDSCMD.REMOVE_FROM_MYHANDSHAKE,
|
||||
userStore.my.username,
|
||||
'',
|
||||
contact.username
|
||||
)
|
||||
"
|
||||
>
|
||||
<q-item-section avatar>
|
||||
<q-icon color="negative" name="fas fa-handshake-slash" />
|
||||
</q-item-section>
|
||||
<q-item-section>{{
|
||||
$t('handshake.remove_from_myhandshake')
|
||||
}}</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>
|
||||
<q-item-section>{{
|
||||
$t('groups.infoaccount')
|
||||
}}</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>
|
||||
</q-item-label>
|
||||
<q-item
|
||||
v-if="!userStore.IsHandShakeByMe(contact)"
|
||||
clickable
|
||||
v-close-popup
|
||||
@click="
|
||||
setCmd(
|
||||
$q,
|
||||
shared_consts.FRIENDSCMD.SETHANDSHAKE,
|
||||
userStore.my.username,
|
||||
true,
|
||||
contact.username
|
||||
)
|
||||
"
|
||||
>
|
||||
<q-item-section avatar>
|
||||
<q-icon color="positive" name="far fa-handshake" />
|
||||
</q-item-section>
|
||||
<q-item-section>{{
|
||||
$t('handshake.ask_handshake')
|
||||
}}</q-item-section>
|
||||
</q-item>
|
||||
<q-item
|
||||
v-else
|
||||
style="min-width: 200px"
|
||||
clickable
|
||||
v-close-popup
|
||||
@click="
|
||||
setCmd(
|
||||
$q,
|
||||
shared_consts.FRIENDSCMD.REMOVE_FROM_MYHANDSHAKE,
|
||||
userStore.my.username,
|
||||
'',
|
||||
contact.username
|
||||
)
|
||||
"
|
||||
>
|
||||
<q-item-section avatar>
|
||||
<q-icon color="negative" name="fas fa-handshake-slash" />
|
||||
</q-item-section>
|
||||
<q-item-section>{{
|
||||
$t('handshake.remove_from_myhandshake')
|
||||
}}</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>
|
||||
<q-item-section>{{
|
||||
$t('groups.infoaccount')
|
||||
}}</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>
|
||||
</q-item-label>
|
||||
</div>
|
||||
</q-item-section>
|
||||
<q-item-section side v-else-if="visu === costanti.REJECTED">
|
||||
<q-item-label>
|
||||
|
||||
Reference in New Issue
Block a user