fix Richieste e Rifiutati (Circuiti)

This commit is contained in:
Surya Paolo
2022-12-15 18:09:50 +01:00
parent fbcd076705
commit 1291ad319f
9 changed files with 19 additions and 22 deletions

View File

@@ -1,4 +1,4 @@
APP_VERSION="0.5.36" APP_VERSION="0.5.39"
SERVICE_WORKER_FILE="service-worker.js" SERVICE_WORKER_FILE="service-worker.js"
APP_ID="13" APP_ID="13"
DIRECTORY_LOCAL="newfreeplanet" DIRECTORY_LOCAL="newfreeplanet"

View File

@@ -1,4 +1,4 @@
APP_VERSION="0.5.36" APP_VERSION="0.5.39"
SERVICE_WORKER_FILE="service-worker.js" SERVICE_WORKER_FILE="service-worker.js"
APP_ID="13" APP_ID="13"
DIRECTORY_LOCAL=newfreeplanet DIRECTORY_LOCAL=newfreeplanet

View File

@@ -1,4 +1,4 @@
APP_VERSION="0.5.36" APP_VERSION="0.5.39"
SERVICE_WORKER_FILE="service-worker.js" SERVICE_WORKER_FILE="service-worker.js"
APP_ID="13" APP_ID="13"
DIRECTORY_LOCAL="newfreeplanet" DIRECTORY_LOCAL="newfreeplanet"

View File

@@ -1,4 +1,4 @@
APP_VERSION="0.5.36" APP_VERSION="0.5.39"
SERVICE_WORKER_FILE="service-worker.js" SERVICE_WORKER_FILE="service-worker.js"
APP_ID="13" APP_ID="13"
DIRECTORY_LOCAL=newfreeplanet DIRECTORY_LOCAL=newfreeplanet

View File

@@ -1,4 +1,4 @@
APP_VERSION="0.5.36" APP_VERSION="0.5.39"
SERVICE_WORKER_FILE="service-worker.js" SERVICE_WORKER_FILE="service-worker.js"
APP_ID="14" APP_ID="14"
DIRECTORY_LOCAL="newfreeplanet" DIRECTORY_LOCAL="newfreeplanet"

View File

@@ -9,7 +9,9 @@
<q-item-section @click="naviga(`/my/` + contact.username)"> <q-item-section @click="naviga(`/my/` + contact.username)">
<q-item-label v-if="labelextra && (labelextra !== contact.username)"><strong>{{ labelextra }}</strong></q-item-label> <q-item-label v-if="labelextra && (labelextra !== contact.username)"><strong>{{ labelextra }}</strong></q-item-label>
<q-item-label><span class="username">{{ contact.username }}</span> <span v-if="contact.name">({{ contact.name }} {{ contact.surname }})</span> <q-item-label v-if="contact.name"><span class="username">{{ contact.name }} <span v-if="contact.surname">{{ contact.surname }}</span></span> ({{ contact.username }})
</q-item-label>
<q-item-label v-else><span class="username">{{ contact.username }}</span> <span v-if="contact.name">({{ contact.name }} {{ contact.surname }})</span>
</q-item-label> </q-item-label>
<q-item-label v-if="contact.reported" caption lines="1"><em style="color: red; font-weight: bold">{{ $t('db.reporteduser', {date_report: tools.getstrDateTimeShort(contact.date_report)}) }}</em></q-item-label> <q-item-label v-if="contact.reported" caption lines="1"><em style="color: red; font-weight: bold">{{ $t('db.reporteduser', {date_report: tools.getstrDateTimeShort(contact.date_report)}) }}</em></q-item-label>
<q-item-label v-if="contact.profile" caption lines="1"><em>{{ contact.profile.qualifica }}</em></q-item-label> <q-item-label v-if="contact.profile" caption lines="1"><em>{{ contact.profile.qualifica }}</em></q-item-label>

View File

@@ -262,7 +262,6 @@
rowsPerPage: 20, rowsPerPage: 20,
}" }"
:showType="costanti.SHOW_MOVEMENTS" :showType="costanti.SHOW_MOVEMENTS"
keyMain=""
:showCol="true" :showCol="true"
:showHeaderCol="true" :showHeaderCol="true"
:extraparams="extraparams_movs()" :extraparams="extraparams_movs()"
@@ -299,7 +298,6 @@
rowsPerPage: 20, rowsPerPage: 20,
}" }"
:showType="costanti.SHOW_MOVEMENTS" :showType="costanti.SHOW_MOVEMENTS"
keyMain=""
:showCol="false" :showCol="false"
:showHeaderCol="false" :showHeaderCol="false"
:extraparams="extraparams_movs()" :extraparams="extraparams_movs()"
@@ -602,12 +600,10 @@
:butt_modif_new="false" :butt_modif_new="false"
noresultLabel="Username non trovato" noresultLabel="Username non trovato"
:arrfilters="arrfilterand" :arrfilters="arrfilterand"
:filterextra="filterextra"
:filterextra2="filterextra2" :filterextra2="filterextra2"
:filtercustom="filtercustom_rich" :filtercustom="filtercustom_rich"
:prop_searchList="searchList" :prop_searchList="searchList"
:showType="costanti.SHOW_USERINFO" :showType="costanti.SHOW_USERINFO"
keyMain=""
:showCol="false" :showCol="false"
:extraparams="extraparams_rich()" :extraparams="extraparams_rich()"
:circuitname="circuit.name" :circuitname="circuit.name"
@@ -617,6 +613,7 @@
</q-tab-panel> </q-tab-panel>
<q-tab-panel name="refused"> <q-tab-panel name="refused">
<CGridTableRec <CGridTableRec
v-if="!loading"
prop_mytable="circuits" prop_mytable="circuits"
prop_mytitle="" prop_mytitle=""
:prop_mycolumns="colmyUserPeople" :prop_mycolumns="colmyUserPeople"
@@ -634,11 +631,9 @@
noresultLabel="Username non trovato" noresultLabel="Username non trovato"
:arrfilters="arrfilterand" :arrfilters="arrfilterand"
:filtercustom="filtercustom_rich" :filtercustom="filtercustom_rich"
:filterextra="filterextra"
:filterextra2="filterextra2" :filterextra2="filterextra2"
:prop_searchList="searchList" :prop_searchList="searchList"
:showType="costanti.SHOW_USERINFO" :showType="costanti.SHOW_USERINFO"
keyMain=""
:showCol="false" :showCol="false"
:extraparams="extraparams_refused()" :extraparams="extraparams_refused()"
:circuitname="circuit.name" :circuitname="circuit.name"

View File

@@ -153,13 +153,13 @@ export default defineComponent({
function getLinkWebSite() { function getLinkWebSite() {
if (myuser.value) { if (myuser.value) {
let site = myuser.value.profile.website! let mysite = myuser.value.profile.website!
if (site) { if (mysite) {
if (!site.startsWith('http')) { if (!mysite.startsWith('http')) {
site = 'https://' + site mysite = 'https://' + mysite
} }
} }
return site return mysite
} else { } else {
return '' return ''
} }

View File

@@ -1,9 +1,9 @@
<template> <template>
<div v-if="isDebugOn" class="bg-red text-white"> <div v-if="isDebugOn" class="bg-red text-white">
Logged: {{tools.isLogged()}} <div v-if="!!tools.isLogged()">Logged: {{tools.isLogged()}}</div>
UserOk: {{tools.isUserOk()}} <div v-if="!!tools.isUserOk()">UserOk: {{tools.isUserOk()}}</div>
caricato: {{caricato}} <div v-if="caricato">caricato: {{caricato}}</div>
myuser: {{myuser.username}} <div v-if="myuser">myuser: {{myuser.username}}</div>
</div> </div>
<div v-if="!tools.isLogged()"> <div v-if="!tools.isLogged()">
<CCheckIfIsLogged></CCheckIfIsLogged> <CCheckIfIsLogged></CCheckIfIsLogged>
@@ -73,7 +73,7 @@
</CTitleBanner> </CTitleBanner>
</div> </div>
<div v-if="site.confpages.showNameSurname"> <div v-if="site && site.confpages && site.confpages.showNameSurname">
<div class="text-h6"> <div class="text-h6">
<span v-if="checkifShow('name') && myuser.name"> {{ myuser.name }}</span> <span v-if="checkifShow('name') && myuser.name"> {{ myuser.name }}</span>
<span v-if="checkifShow('surname') && myuser.surname">{{ myuser.surname }}</span> <span v-if="checkifShow('surname') && myuser.surname">{{ myuser.surname }}</span>