++ su "Friends" la ricerca per username Telegram e nome e cognome
This commit is contained in:
@@ -304,6 +304,7 @@
|
||||
|
||||
<div v-if="tools.isLogged()" class="text-weight-bold text-user">
|
||||
{{ Username() }}<span v-if="myName()"> - {{ myName() }}</span>
|
||||
<span v-if="mySurname()"> {{ mySurname() }}</span>
|
||||
</div>
|
||||
<div class="row justify-evenly q-pa-xs-sm">
|
||||
<div
|
||||
|
||||
@@ -131,7 +131,8 @@ export default defineComponent({
|
||||
*/
|
||||
|
||||
{
|
||||
$match: {idapp: process.env.APP_ID,
|
||||
$match: {
|
||||
idapp: process.env.APP_ID,
|
||||
'profile.mycircuits': {
|
||||
$elemMatch: { circuitname: { $eq: circuit.value.name } },
|
||||
},
|
||||
@@ -164,7 +165,12 @@ export default defineComponent({
|
||||
},
|
||||
{ $unwind: '$circuit' },
|
||||
{
|
||||
$project: { username: 1, profile: 1, idapp: 1, 'circuit.name': 1, 'circuit._id': 1 }
|
||||
$project: {
|
||||
username: 1,
|
||||
name: 1,
|
||||
surname: 1,
|
||||
profile: 1, idapp: 1, 'circuit.name': 1, 'circuit._id': 1
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
@@ -236,7 +242,9 @@ export default defineComponent({
|
||||
lk_as,
|
||||
af_objId_tab,
|
||||
lk_proj: {
|
||||
'username': 1,
|
||||
username: 1,
|
||||
name: 1,
|
||||
surname: 1,
|
||||
'profile.img': 1,
|
||||
'profile.mycircuits': 1,
|
||||
'profile.qualifica': 1,
|
||||
|
||||
@@ -113,6 +113,7 @@ export default defineComponent({
|
||||
lk_proj: {
|
||||
username: 1,
|
||||
name: 1,
|
||||
surname: 1,
|
||||
'profile.img': 1,
|
||||
'profile.born_city_id': 1,
|
||||
'profile.qualifica': 1,
|
||||
|
||||
@@ -159,7 +159,9 @@ export default defineComponent({
|
||||
lk_as,
|
||||
af_objId_tab,
|
||||
lk_proj: {
|
||||
'username': 1,
|
||||
username: 1,
|
||||
name: 1,
|
||||
surname: 1,
|
||||
'profile.img': 1,
|
||||
'profile.mygroups': 1,
|
||||
'profile.qualifica': 1,
|
||||
|
||||
@@ -36,7 +36,6 @@
|
||||
<div v-if="myuser">
|
||||
<CNotifAtTop />
|
||||
<div class="q-gutter-sm q-pa-sm q-pb-md">
|
||||
|
||||
<div
|
||||
v-if="myuser && myuser.date_reg"
|
||||
class="fit column no-wrap justify-evenly items-center content-start"
|
||||
@@ -75,8 +74,12 @@
|
||||
|
||||
<div v-if="site && site.confpages && site.confpages.showNameSurname">
|
||||
<div class="text-h6">
|
||||
<span v-if="checkifShow('name') && myuser.name"> {{ myuser.name }}</span>
|
||||
<span v-if="checkifShow('surname') && myuser.surname">{{ myuser.surname }}</span>
|
||||
<span v-if="checkifShow('name') && myuser.name">
|
||||
{{ myuser.name }}</span
|
||||
>
|
||||
<span v-if="checkifShow('surname') && myuser.surname"
|
||||
> {{ myuser.surname }}</span
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 text-h7 text-blue text-shadow-2">
|
||||
@@ -249,17 +252,6 @@
|
||||
/>
|
||||
</div>
|
||||
|
||||
<q-btn
|
||||
v-if="myuser.username === myusername()"
|
||||
icon="fas fa-pencil-alt"
|
||||
:color="$q.dark.isActive ? `black` : `white`"
|
||||
:text-color="$q.dark.isActive ? `white` : `black`"
|
||||
size="md"
|
||||
:label="$t('otherpages.modifprof')"
|
||||
to="/editprofile"
|
||||
>
|
||||
</q-btn>
|
||||
|
||||
<div class="myrow justify-evenly items-center q-pa-sm q-ma-sm">
|
||||
<div class="col-md-6 col-sm-6 q-ma-xs col-xs-12">
|
||||
<q-btn
|
||||
@@ -417,6 +409,20 @@
|
||||
>
|
||||
</CSendCoins>
|
||||
</div>
|
||||
<q-page-sticky
|
||||
v-if="myuser.username === myusername()"
|
||||
position="top-right"
|
||||
:offset="[18, 18]"
|
||||
>
|
||||
<q-btn
|
||||
fab
|
||||
glossy
|
||||
class="semi-transparent"
|
||||
icon="fas fa-pencil-alt"
|
||||
color="primary"
|
||||
to="/editprofile"
|
||||
/>
|
||||
</q-page-sticky>
|
||||
</div>
|
||||
<div v-else-if="caricato">
|
||||
<h2>Utente {{ username }} non trovato</h2>
|
||||
|
||||
Reference in New Issue
Block a user