- Lista iscritti: aggiunto le note e il flag "Da Contattare"
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
APP_VERSION="1.1.16"
|
APP_VERSION="1.1.17"
|
||||||
SERVICE_WORKER_FILE="service-worker.js"
|
SERVICE_WORKER_FILE="service-worker.js"
|
||||||
APP_ID="13"
|
APP_ID="13"
|
||||||
DIRECTORY_LOCAL="newfreeplanet"
|
DIRECTORY_LOCAL="newfreeplanet"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
APP_VERSION="1.1.16"
|
APP_VERSION="1.1.17"
|
||||||
SERVICE_WORKER_FILE="service-worker.js"
|
SERVICE_WORKER_FILE="service-worker.js"
|
||||||
APP_ID="13"
|
APP_ID="13"
|
||||||
DIRECTORY_LOCAL=newfreeplanet
|
DIRECTORY_LOCAL=newfreeplanet
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
APP_VERSION="1.1.16"
|
APP_VERSION="1.1.17"
|
||||||
SERVICE_WORKER_FILE="service-worker.js"
|
SERVICE_WORKER_FILE="service-worker.js"
|
||||||
APP_ID="18"
|
APP_ID="18"
|
||||||
DIRECTORY_LOCAL=newfreeplanet
|
DIRECTORY_LOCAL=newfreeplanet
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
APP_VERSION="1.1.16"
|
APP_VERSION="1.1.17"
|
||||||
SERVICE_WORKER_FILE="service-worker.js"
|
SERVICE_WORKER_FILE="service-worker.js"
|
||||||
APP_ID="17"
|
APP_ID="17"
|
||||||
DIRECTORY_LOCAL="newfreeplanet"
|
DIRECTORY_LOCAL="newfreeplanet"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
APP_VERSION="1.1.16"
|
APP_VERSION="1.1.17"
|
||||||
SERVICE_WORKER_FILE="service-worker.js"
|
SERVICE_WORKER_FILE="service-worker.js"
|
||||||
APP_ID="13"
|
APP_ID="13"
|
||||||
DIRECTORY_LOCAL=newfreeplanet
|
DIRECTORY_LOCAL=newfreeplanet
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
APP_VERSION="1.1.16"
|
APP_VERSION="1.1.17"
|
||||||
SERVICE_WORKER_FILE="service-worker.js"
|
SERVICE_WORKER_FILE="service-worker.js"
|
||||||
APP_ID="19"
|
APP_ID="19"
|
||||||
DIRECTORY_LOCAL=newfreeplanet
|
DIRECTORY_LOCAL=newfreeplanet
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
APP_VERSION="1.1.16"
|
APP_VERSION="1.1.17"
|
||||||
SERVICE_WORKER_FILE="service-worker.js"
|
SERVICE_WORKER_FILE="service-worker.js"
|
||||||
APP_ID="18"
|
APP_ID="18"
|
||||||
DIRECTORY_LOCAL=newfreeplanet
|
DIRECTORY_LOCAL=newfreeplanet
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
APP_VERSION="1.1.16"
|
APP_VERSION="1.1.17"
|
||||||
SERVICE_WORKER_FILE="service-worker.js"
|
SERVICE_WORKER_FILE="service-worker.js"
|
||||||
APP_ID="17"
|
APP_ID="17"
|
||||||
DIRECTORY_LOCAL="newfreeplanet"
|
DIRECTORY_LOCAL="newfreeplanet"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
APP_VERSION="1.1.16"
|
APP_VERSION="1.1.17"
|
||||||
SERVICE_WORKER_FILE="service-worker.js"
|
SERVICE_WORKER_FILE="service-worker.js"
|
||||||
APP_ID="13"
|
APP_ID="13"
|
||||||
DIRECTORY_LOCAL=newfreeplanet
|
DIRECTORY_LOCAL=newfreeplanet
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
APP_VERSION="1.1.16"
|
APP_VERSION="1.1.17"
|
||||||
SERVICE_WORKER_FILE="service-worker.js"
|
SERVICE_WORKER_FILE="service-worker.js"
|
||||||
APP_ID="13"
|
APP_ID="13"
|
||||||
DIRECTORY_LOCAL=newfreeplanet
|
DIRECTORY_LOCAL=newfreeplanet
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
APP_VERSION="1.1.16"
|
APP_VERSION="1.1.17"
|
||||||
SERVICE_WORKER_FILE="service-worker.js"
|
SERVICE_WORKER_FILE="service-worker.js"
|
||||||
APP_ID="13"
|
APP_ID="13"
|
||||||
DIRECTORY_LOCAL=newfreeplanet
|
DIRECTORY_LOCAL=newfreeplanet
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
APP_VERSION="1.1.16"
|
APP_VERSION="1.1.17"
|
||||||
SERVICE_WORKER_FILE="service-worker.js"
|
SERVICE_WORKER_FILE="service-worker.js"
|
||||||
APP_ID="19"
|
APP_ID="19"
|
||||||
DIRECTORY_LOCAL="newfreeplanet"
|
DIRECTORY_LOCAL="newfreeplanet"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "abitaregliiblei",
|
"name": "abitaregliiblei",
|
||||||
"version": "1.1.16",
|
"version": "1.1.17",
|
||||||
"description": "Abitare Gli Iblei",
|
"description": "Abitare Gli Iblei",
|
||||||
"productName": "AbitareGliIblei",
|
"productName": "AbitareGliIblei",
|
||||||
"author": "Paolo Arena",
|
"author": "Paolo Arena",
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
APP_VERSION="1.1.16"
|
APP_VERSION="1.1.17"
|
||||||
SERVICE_WORKER_FILE="service-worker.js"
|
SERVICE_WORKER_FILE="service-worker.js"
|
||||||
APP_ID="13"
|
APP_ID="13"
|
||||||
DIRECTORY_LOCAL="newfreeplanet"
|
DIRECTORY_LOCAL="newfreeplanet"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
APP_VERSION="1.1.16"
|
APP_VERSION="1.1.17"
|
||||||
SERVICE_WORKER_FILE="service-worker.js"
|
SERVICE_WORKER_FILE="service-worker.js"
|
||||||
APP_ID="16"
|
APP_ID="16"
|
||||||
DIRECTORY_LOCAL=newfreeplanet
|
DIRECTORY_LOCAL=newfreeplanet
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "riso",
|
"name": "riso",
|
||||||
"version": "1.1.16",
|
"version": "1.1.17",
|
||||||
"description": "Siamo la Rete Italiana di Scambio Orizzontale, abbiamo creato questa piattaforma per metterla al servizio di chi vuole riscoprire il valore della condivisione e della cooperazione. Valori semplici e profondi che ci aiutano a ritrovare il Senso della Vita, perduto in questa società consumista, e riporti quei Sani Pricìpi Naturali ed Umani di Fratellanza che intere popolazioni antiche conoscevano bene.",
|
"description": "Siamo la Rete Italiana di Scambio Orizzontale, abbiamo creato questa piattaforma per metterla al servizio di chi vuole riscoprire il valore della condivisione e della cooperazione. Valori semplici e profondi che ci aiutano a ritrovare il Senso della Vita, perduto in questa società consumista, e riporti quei Sani Pricìpi Naturali ed Umani di Fratellanza che intere popolazioni antiche conoscevano bene.",
|
||||||
"productName": "Riso",
|
"productName": "Riso",
|
||||||
"author": "Paolo Arena",
|
"author": "Paolo Arena",
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
APP_VERSION="1.1.16"
|
APP_VERSION="1.1.17"
|
||||||
SERVICE_WORKER_FILE="service-worker.js"
|
SERVICE_WORKER_FILE="service-worker.js"
|
||||||
APP_ID="15"
|
APP_ID="15"
|
||||||
DIRECTORY_LOCAL="newfreeplanet"
|
DIRECTORY_LOCAL="newfreeplanet"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
APP_VERSION="1.1.16"
|
APP_VERSION="1.1.17"
|
||||||
SERVICE_WORKER_FILE="service-worker.js"
|
SERVICE_WORKER_FILE="service-worker.js"
|
||||||
APP_ID="15"
|
APP_ID="15"
|
||||||
DIRECTORY_LOCAL=newfreeplanet
|
DIRECTORY_LOCAL=newfreeplanet
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "fioredellavita",
|
"name": "fioredellavita",
|
||||||
"version": "1.1.16",
|
"version": "1.1.17",
|
||||||
"description": "Fiore Della Vita",
|
"description": "Fiore Della Vita",
|
||||||
"productName": "Fiore Della Vita",
|
"productName": "Fiore Della Vita",
|
||||||
"author": "Paolo Arena",
|
"author": "Paolo Arena",
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
APP_VERSION="1.1.16"
|
APP_VERSION="1.1.17"
|
||||||
SERVICE_WORKER_FILE="service-worker.js"
|
SERVICE_WORKER_FILE="service-worker.js"
|
||||||
APP_ID="18"
|
APP_ID="18"
|
||||||
DIRECTORY_LOCAL="newfreeplanet"
|
DIRECTORY_LOCAL="newfreeplanet"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
APP_VERSION="1.1.16"
|
APP_VERSION="1.1.17"
|
||||||
SERVICE_WORKER_FILE="service-worker.js"
|
SERVICE_WORKER_FILE="service-worker.js"
|
||||||
APP_ID="18"
|
APP_ID="18"
|
||||||
DIRECTORY_LOCAL=newfreeplanet
|
DIRECTORY_LOCAL=newfreeplanet
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "gruppomacro",
|
"name": "gruppomacro",
|
||||||
"version": "1.1.16",
|
"version": "1.1.17",
|
||||||
"description": "GruppoMacro",
|
"description": "GruppoMacro",
|
||||||
"productName": "Gruppo Macro",
|
"productName": "Gruppo Macro",
|
||||||
"author": "Paolo Arena",
|
"author": "Paolo Arena",
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
APP_VERSION="1.1.16"
|
APP_VERSION="1.1.17"
|
||||||
SERVICE_WORKER_FILE="service-worker.js"
|
SERVICE_WORKER_FILE="service-worker.js"
|
||||||
APP_ID="17"
|
APP_ID="17"
|
||||||
DIRECTORY_LOCAL="newfreeplanet"
|
DIRECTORY_LOCAL="newfreeplanet"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
APP_VERSION="1.1.16"
|
APP_VERSION="1.1.17"
|
||||||
SERVICE_WORKER_FILE="service-worker.js"
|
SERVICE_WORKER_FILE="service-worker.js"
|
||||||
APP_ID="17"
|
APP_ID="17"
|
||||||
DIRECTORY_LOCAL="newfreeplanet"
|
DIRECTORY_LOCAL="newfreeplanet"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "piuchebuono",
|
"name": "piuchebuono",
|
||||||
"version": "1.1.16",
|
"version": "1.1.17",
|
||||||
"description": "PiuCheBuono",
|
"description": "PiuCheBuono",
|
||||||
"productName": "PiuCheBuono",
|
"productName": "PiuCheBuono",
|
||||||
"author": "Paolo Arena",
|
"author": "Paolo Arena",
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
APP_VERSION="1.1.16"
|
APP_VERSION="1.1.17"
|
||||||
SERVICE_WORKER_FILE="service-worker.js"
|
SERVICE_WORKER_FILE="service-worker.js"
|
||||||
APP_ID="13"
|
APP_ID="13"
|
||||||
DIRECTORY_LOCAL="newfreeplanet"
|
DIRECTORY_LOCAL="newfreeplanet"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
APP_VERSION="1.1.16"
|
APP_VERSION="1.1.17"
|
||||||
SERVICE_WORKER_FILE="service-worker.js"
|
SERVICE_WORKER_FILE="service-worker.js"
|
||||||
APP_ID="13"
|
APP_ID="13"
|
||||||
DIRECTORY_LOCAL=newfreeplanet
|
DIRECTORY_LOCAL=newfreeplanet
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
APP_VERSION="1.1.16"
|
APP_VERSION="1.1.17"
|
||||||
SERVICE_WORKER_FILE="service-worker.js"
|
SERVICE_WORKER_FILE="service-worker.js"
|
||||||
APP_ID="16"
|
APP_ID="16"
|
||||||
DIRECTORY_LOCAL=newfreeplanet
|
DIRECTORY_LOCAL=newfreeplanet
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "riso",
|
"name": "riso",
|
||||||
"version": "1.1.16",
|
"version": "1.1.17",
|
||||||
"description": "Siamo la Rete Italiana di Scambio Orizzontale, abbiamo creato questa piattaforma per metterla al servizio di chi vuole riscoprire il valore della condivisione e della cooperazione. Valori semplici e profondi che ci aiutano a ritrovare il Senso della Vita, perduto in questa società consumista, e riporti quei Sani Pricìpi Naturali ed Umani di Fratellanza che intere popolazioni antiche conoscevano bene.",
|
"description": "Siamo la Rete Italiana di Scambio Orizzontale, abbiamo creato questa piattaforma per metterla al servizio di chi vuole riscoprire il valore della condivisione e della cooperazione. Valori semplici e profondi che ci aiutano a ritrovare il Senso della Vita, perduto in questa società consumista, e riporti quei Sani Pricìpi Naturali ed Umani di Fratellanza che intere popolazioni antiche conoscevano bene.",
|
||||||
"productName": "Riso",
|
"productName": "Riso",
|
||||||
"author": "Paolo Arena",
|
"author": "Paolo Arena",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "riso",
|
"name": "riso",
|
||||||
"version": "1.1.16",
|
"version": "1.1.17",
|
||||||
"description": "Siamo la Rete Italiana di Scambio Orizzontale, abbiamo creato questa piattaforma per metterla al servizio di chi vuole riscoprire il valore della condivisione e della cooperazione. Valori semplici e profondi che ci aiutano a ritrovare il Senso della Vita, perduto in questa società consumista, e riporti quei Sani Pricìpi Naturali ed Umani di Fratellanza che intere popolazioni antiche conoscevano bene.",
|
"description": "Siamo la Rete Italiana di Scambio Orizzontale, abbiamo creato questa piattaforma per metterla al servizio di chi vuole riscoprire il valore della condivisione e della cooperazione. Valori semplici e profondi che ci aiutano a ritrovare il Senso della Vita, perduto in questa società consumista, e riporti quei Sani Pricìpi Naturali ed Umani di Fratellanza che intere popolazioni antiche conoscevano bene.",
|
||||||
"productName": "Riso",
|
"productName": "Riso",
|
||||||
"author": "Paolo Arena",
|
"author": "Paolo Arena",
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ self.addEventListener('activate', (event) => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
const APP_VERSION = "1.1.16";
|
const APP_VERSION = "1.1.17";
|
||||||
|
|
||||||
console.log(' [ VER-' + APP_VERSION + ' ] _---------________------ PAO: this is my custom service worker');
|
console.log(' [ VER-' + APP_VERSION + ' ] _---------________------ PAO: this is my custom service worker');
|
||||||
|
|
||||||
|
|||||||
@@ -213,6 +213,7 @@ export const shared_consts = {
|
|||||||
FILTER_USER_ONLINE_6_MESI: 268435456,
|
FILTER_USER_ONLINE_6_MESI: 268435456,
|
||||||
FILTER_NOTE: 536870912,
|
FILTER_NOTE: 536870912,
|
||||||
FILTER_SENZA_NOTE: 1073741824,
|
FILTER_SENZA_NOTE: 1073741824,
|
||||||
|
FILTER_DA_CONTATTARE: 2147483648,
|
||||||
|
|
||||||
OPTIONS_SEARCH_ONLY_FULL_WORDS: 1,
|
OPTIONS_SEARCH_ONLY_FULL_WORDS: 1,
|
||||||
OPTIONS_SEARCH_USER_ONLY_FULL_WORDS: 2,
|
OPTIONS_SEARCH_USER_ONLY_FULL_WORDS: 2,
|
||||||
@@ -321,6 +322,10 @@ export const shared_consts = {
|
|||||||
label: 'Con Provincia inserita',
|
label: 'Con Provincia inserita',
|
||||||
value: 16777216, //FILTER_USER_PROVINCE:
|
value: 16777216, //FILTER_USER_PROVINCE:
|
||||||
},
|
},
|
||||||
|
|
||||||
|
],
|
||||||
|
|
||||||
|
RECFILTRI_UTENTE_FACIL: [
|
||||||
{
|
{
|
||||||
label: 'Non ancora approvati dall\'invitante',
|
label: 'Non ancora approvati dall\'invitante',
|
||||||
value: 2097152, // shared_consts.FILTER_USER_NO_VERIFIED_APORTADOR
|
value: 2097152, // shared_consts.FILTER_USER_NO_VERIFIED_APORTADOR
|
||||||
@@ -345,7 +350,10 @@ export const shared_consts = {
|
|||||||
label: 'Senza Note Facilitatore',
|
label: 'Senza Note Facilitatore',
|
||||||
value: 1073741824, //shared_consts.FILTER_SENZA_NOTE
|
value: 1073741824, //shared_consts.FILTER_SENZA_NOTE
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
label: 'Da Contattare',
|
||||||
|
value: 2147483648, //shared_consts.FILTER_DA_CONTATTARE
|
||||||
|
},
|
||||||
],
|
],
|
||||||
|
|
||||||
MYTABS: [{ id: 0, table: 'none' },
|
MYTABS: [{ id: 0, table: 'none' },
|
||||||
@@ -2213,6 +2221,7 @@ export const shared_consts = {
|
|||||||
adType: 1,
|
adType: 1,
|
||||||
photos: 1,
|
photos: 1,
|
||||||
note: 1,
|
note: 1,
|
||||||
|
da_contattare: 1,
|
||||||
descr: 1,
|
descr: 1,
|
||||||
date_createzd: 1,
|
date_createzd: 1,
|
||||||
date_updated: 1,
|
date_updated: 1,
|
||||||
@@ -2230,6 +2239,7 @@ export const shared_consts = {
|
|||||||
'profile.mycircuits': 1,
|
'profile.mycircuits': 1,
|
||||||
'profile.qualifica': 1,
|
'profile.qualifica': 1,
|
||||||
'profile.note': 1,
|
'profile.note': 1,
|
||||||
|
'profile.da_contattare': 1,
|
||||||
'profile.resid_province': 1,
|
'profile.resid_province': 1,
|
||||||
'profile.resid_card': 1,
|
'profile.resid_card': 1,
|
||||||
'profile.username_telegram': 1,
|
'profile.username_telegram': 1,
|
||||||
|
|||||||
@@ -165,6 +165,7 @@ export default defineComponent({
|
|||||||
'profile.mygroups': 1,
|
'profile.mygroups': 1,
|
||||||
'profile.qualifica': 1,
|
'profile.qualifica': 1,
|
||||||
'profile.note': 1,
|
'profile.note': 1,
|
||||||
|
'profile.da_contattare': 1,
|
||||||
'profile.resid_province': 1,
|
'profile.resid_province': 1,
|
||||||
'mycities.reg': 1,
|
'mycities.reg': 1,
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -967,6 +967,8 @@ export default defineComponent({
|
|||||||
filtercustom.push({ 'profile.teleg_id_old': { $gt: 1 } });
|
filtercustom.push({ 'profile.teleg_id_old': { $gt: 1 } });
|
||||||
} else if (myitemsingle === shared_consts.FILTER_NOTE) {
|
} else if (myitemsingle === shared_consts.FILTER_NOTE) {
|
||||||
filtercustom.push({ 'profile.note': { $exists: true, $ne: '' } });
|
filtercustom.push({ 'profile.note': { $exists: true, $ne: '' } });
|
||||||
|
} else if (myitemsingle === shared_consts.FILTER_DA_CONTATTARE) {
|
||||||
|
filtercustom.push({ 'profile.da_contattare': { $exists: true, $ne: false } });
|
||||||
} else if (myitemsingle === shared_consts.FILTER_SENZA_NOTE) {
|
} else if (myitemsingle === shared_consts.FILTER_SENZA_NOTE) {
|
||||||
filtercustom.push({
|
filtercustom.push({
|
||||||
$or: [
|
$or: [
|
||||||
|
|||||||
@@ -39,7 +39,8 @@
|
|||||||
<q-item-label v-if="contact.profile" caption lines="3"
|
<q-item-label v-if="contact.profile" caption lines="3"
|
||||||
>
|
>
|
||||||
<em>{{ contact.profile.qualifica }}</em>
|
<em>{{ contact.profile.qualifica }}</em>
|
||||||
<span v-if="contact.profile.note"><span v-if="contact.profile.qualifica"><br></span><em style="color: blue;">Note: {{ contact.profile.note }}</em></span>
|
<span v-if="tools.isFacil() && contact.profile.note"><span v-if="contact.profile.qualifica"><br></span><em style="color: blue;">Note: {{ contact.profile.note }}</em></span>
|
||||||
|
<span v-if="tools.isFacil() && contact.profile.da_contattare"><br><em style="color: red;">Da Contattare</em></span>
|
||||||
</q-item-label
|
</q-item-label
|
||||||
>
|
>
|
||||||
<q-item-label caption lines="1"></q-item-label>
|
<q-item-label caption lines="1"></q-item-label>
|
||||||
|
|||||||
@@ -37,7 +37,6 @@ export default defineComponent({
|
|||||||
}
|
}
|
||||||
|
|
||||||
function UpdateDbNote() {
|
function UpdateDbNote() {
|
||||||
const calendarStore = useCalendarStore()
|
|
||||||
const globalStore = useGlobalStore()
|
const globalStore = useGlobalStore()
|
||||||
const { t } = useI18n()
|
const { t } = useI18n()
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
<meta name="description" content="<%= productDescription %>">
|
<meta name="description" content="<%= productDescription %>">
|
||||||
<meta name="format-detection" content="telephone=no">
|
<meta name="format-detection" content="telephone=no">
|
||||||
<meta name="msapplication-tap-highlight" content="no">
|
<meta name="msapplication-tap-highlight" content="no">
|
||||||
<meta name="version" content="1.1.16">
|
<meta name="version" content="1.1.17">
|
||||||
<meta name="viewport"
|
<meta name="viewport"
|
||||||
content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width<% if (ctx.mode.cordova || ctx.mode.capacitor) { %>, viewport-fit=cover<% } %>">
|
content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width<% if (ctx.mode.cordova || ctx.mode.capacitor) { %>, viewport-fit=cover<% } %>">
|
||||||
|
|
||||||
|
|||||||
@@ -133,6 +133,7 @@ export interface IUserProfile {
|
|||||||
sex?: ESexType
|
sex?: ESexType
|
||||||
biografia?: string
|
biografia?: string
|
||||||
note?: string
|
note?: string
|
||||||
|
da_contattare?: boolean
|
||||||
socio?: boolean
|
socio?: boolean
|
||||||
socioresidente?: boolean
|
socioresidente?: boolean
|
||||||
consiglio?: boolean
|
consiglio?: boolean
|
||||||
|
|||||||
@@ -170,6 +170,7 @@
|
|||||||
<CKeyAndValue mykey="Data di Nascita:" :mydate="myuser.profile.dateofbirth"></CKeyAndValue>
|
<CKeyAndValue mykey="Data di Nascita:" :mydate="myuser.profile.dateofbirth"></CKeyAndValue>
|
||||||
<CKeyAndValue mykey="Biografia:" :myvalue="myuser.profile.biografia"></CKeyAndValue>
|
<CKeyAndValue mykey="Biografia:" :myvalue="myuser.profile.biografia"></CKeyAndValue>
|
||||||
<CKeyAndValue mykey="Note:" :myvalue="myuser.profile.note"></CKeyAndValue>
|
<CKeyAndValue mykey="Note:" :myvalue="myuser.profile.note"></CKeyAndValue>
|
||||||
|
<CKeyAndValue mykey="Da Contattare:" :myvalue="myuser.profile.da_contattare"></CKeyAndValue>
|
||||||
<CKeyAndValue mykey="qualifica:" :myvalue="myuser.profile.qualifica"></CKeyAndValue>
|
<CKeyAndValue mykey="qualifica:" :myvalue="myuser.profile.qualifica"></CKeyAndValue>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -47,6 +47,8 @@ const msg_it = {
|
|||||||
profile: {
|
profile: {
|
||||||
info_pers: 'Info Personali',
|
info_pers: 'Info Personali',
|
||||||
aggiungi_note: 'Aggiungi note',
|
aggiungi_note: 'Aggiungi note',
|
||||||
|
da_contattare: 'Da Contattare',
|
||||||
|
togli_da_contattare: 'Togli: "Da Contattare"',
|
||||||
annunci: 'Annunci',
|
annunci: 'Annunci',
|
||||||
share_link: 'Copia Link',
|
share_link: 'Copia Link',
|
||||||
info_msg: 'Puoi compilare facoltativamente questi tuoi dati personali.',
|
info_msg: 'Puoi compilare facoltativamente questi tuoi dati personali.',
|
||||||
|
|||||||
@@ -3216,6 +3216,7 @@ export const colTableUsersCNM = [
|
|||||||
AddCol({ name: 'profile.motivazioni', field: 'profile', subfield: 'motivazioni', label_trans: 'reg.motivazioni' }),
|
AddCol({ name: 'profile.motivazioni', field: 'profile', subfield: 'motivazioni', label_trans: 'reg.motivazioni' }),
|
||||||
AddCol({ name: 'profile.biografia', field: 'profile', subfield: 'biografia', label_trans: 'reg.biografia' }),
|
AddCol({ name: 'profile.biografia', field: 'profile', subfield: 'biografia', label_trans: 'reg.biografia' }),
|
||||||
AddCol({ name: 'profile.note', field: 'profile', subfield: 'note', label_trans: 'reg.note' }),
|
AddCol({ name: 'profile.note', field: 'profile', subfield: 'note', label_trans: 'reg.note' }),
|
||||||
|
AddCol({ name: 'profile.da_contattare', field: 'profile', subfield: 'da_contattare', label_trans: 'reg.da_contattare', fieldtype: costanti.FieldType.boolean }),
|
||||||
AddCol({
|
AddCol({
|
||||||
name: 'profile.competenze_professionalita',
|
name: 'profile.competenze_professionalita',
|
||||||
field: 'profile',
|
field: 'profile',
|
||||||
@@ -3494,6 +3495,7 @@ export const colTableUsersISP = [
|
|||||||
// AddCol({ name: 'profile.motivazioni', field: 'profile', subfield: 'motivazioni', label_trans: 'reg.motivazioni', }),
|
// AddCol({ name: 'profile.motivazioni', field: 'profile', subfield: 'motivazioni', label_trans: 'reg.motivazioni', }),
|
||||||
AddCol({ name: 'profile.biografia', field: 'profile', subfield: 'biografia', label_trans: 'reg.biografia' }),
|
AddCol({ name: 'profile.biografia', field: 'profile', subfield: 'biografia', label_trans: 'reg.biografia' }),
|
||||||
AddCol({ name: 'profile.note', field: 'profile', subfield: 'note', label_trans: 'reg.note' }),
|
AddCol({ name: 'profile.note', field: 'profile', subfield: 'note', label_trans: 'reg.note' }),
|
||||||
|
AddCol({ name: 'profile.da_contattare', field: 'profile', subfield: 'da_contattare', label_trans: 'reg.da_contattare', fieldtype: costanti.FieldType.boolean }),
|
||||||
AddCol({ name: 'profile.qualifica', field: 'profile', subfield: 'qualifica', label_trans: 'reg.qualifica' }),
|
AddCol({ name: 'profile.qualifica', field: 'profile', subfield: 'qualifica', label_trans: 'reg.qualifica' }),
|
||||||
AddCol({
|
AddCol({
|
||||||
name: 'profile.paymenttypes',
|
name: 'profile.paymenttypes',
|
||||||
|
|||||||
@@ -5115,6 +5115,12 @@ export const tools = {
|
|||||||
return { perc, totale: contatot, contaattuale }
|
return { perc, totale: contatot, contaattuale }
|
||||||
},
|
},
|
||||||
|
|
||||||
|
isFacil() {
|
||||||
|
const userStore = useUserStore()
|
||||||
|
|
||||||
|
return userStore.isFacilitatore || userStore.isAdmin
|
||||||
|
},
|
||||||
|
|
||||||
sito_online(pertutti: boolean) {
|
sito_online(pertutti: boolean) {
|
||||||
|
|
||||||
const userStore = useUserStore()
|
const userStore = useUserStore()
|
||||||
|
|||||||
@@ -374,7 +374,7 @@ export const useGlobalStore = defineStore('GlobalStore', {
|
|||||||
else if (table === 'contribtypes')
|
else if (table === 'contribtypes')
|
||||||
return calendarStore.contribtype
|
return calendarStore.contribtype
|
||||||
else if (table === shared_consts.TABFILTRI_UTENTE)
|
else if (table === shared_consts.TABFILTRI_UTENTE)
|
||||||
return shared_consts.RECFILTRI_UTENTE
|
return [...shared_consts.RECFILTRI_UTENTE, ...((userStore.isFacilitatore || userStore.isAdmin) ? shared_consts.RECFILTRI_UTENTE_FACIL : [])]
|
||||||
else if (table === 'disciplines') ris = state.disciplines
|
else if (table === 'disciplines') ris = state.disciplines
|
||||||
else if (table === toolsext.TABNEWSLETTER) ris = state.newstosent
|
else if (table === toolsext.TABNEWSLETTER) ris = state.newstosent
|
||||||
else if (table === toolsext.TABGALLERY) ris = state.gallery
|
else if (table === toolsext.TABGALLERY) ris = state.gallery
|
||||||
|
|||||||
@@ -107,6 +107,7 @@ export default defineComponent({
|
|||||||
'profile.mygroups': 1,
|
'profile.mygroups': 1,
|
||||||
'profile.qualifica': 1,
|
'profile.qualifica': 1,
|
||||||
'profile.note': 1,
|
'profile.note': 1,
|
||||||
|
'profile.da_contattare': 1,
|
||||||
'profile.resid_province': 1,
|
'profile.resid_province': 1,
|
||||||
'mycities.reg': 1,
|
'mycities.reg': 1,
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -204,6 +204,26 @@ export default defineComponent({
|
|||||||
userStore.userprofile = userprofile
|
userStore.userprofile = userprofile
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function saveDaContattare() {
|
||||||
|
const globalStore = useGlobalStore()
|
||||||
|
const { t } = useI18n()
|
||||||
|
|
||||||
|
const mydatatosave = {
|
||||||
|
id: userStore.userprofile._id,
|
||||||
|
table: 'users',
|
||||||
|
fieldsvalue: { 'profile.da_contattare': userStore.userprofile.profile.da_contattare }
|
||||||
|
}
|
||||||
|
|
||||||
|
globalStore.saveFieldValue(mydatatosave).then((esito) => {
|
||||||
|
if (esito) {
|
||||||
|
tools.showPositiveNotif($q, t('db.recupdated'))
|
||||||
|
} else {
|
||||||
|
tools.showNegativeNotif($q, t('db.recfailed'))
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
username,
|
username,
|
||||||
getlinkpage,
|
getlinkpage,
|
||||||
@@ -249,6 +269,7 @@ export default defineComponent({
|
|||||||
shownote,
|
shownote,
|
||||||
mostranota,
|
mostranota,
|
||||||
salvaUserProv,
|
salvaUserProv,
|
||||||
|
saveDaContattare,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -221,6 +221,16 @@
|
|||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div
|
||||||
|
v-if="
|
||||||
|
userStore.userprofile &&
|
||||||
|
userStore.userprofile.profile.da_contattare &&
|
||||||
|
(userStore.isFacilitatore || userStore.isAdmin)
|
||||||
|
"
|
||||||
|
class="col-12 text-h8 q-mt-sm bg-red text-white q-pa-md"
|
||||||
|
>
|
||||||
|
<q-icon name="fas fa-comment"></q-icon> Da Contattare
|
||||||
|
</div>
|
||||||
<div
|
<div
|
||||||
v-if="
|
v-if="
|
||||||
userStore.userprofile &&
|
userStore.userprofile &&
|
||||||
@@ -794,6 +804,26 @@
|
|||||||
:label="$t('profile.aggiungi_note')"
|
:label="$t('profile.aggiungi_note')"
|
||||||
@click="shownote = !shownote"
|
@click="shownote = !shownote"
|
||||||
/>
|
/>
|
||||||
|
<q-fab-action
|
||||||
|
label-position="right"
|
||||||
|
v-if="userStore.isFacilitatore || userStore.isAdmin"
|
||||||
|
color="green"
|
||||||
|
:icon="
|
||||||
|
userStore.userprofile.profile.da_contattare
|
||||||
|
? 'fas fa-user-slash'
|
||||||
|
: 'fas fa-comment'
|
||||||
|
"
|
||||||
|
:label="
|
||||||
|
userStore.userprofile.profile.da_contattare
|
||||||
|
? $t('profile.togli_da_contattare')
|
||||||
|
: $t('profile.da_contattare')
|
||||||
|
"
|
||||||
|
@click="
|
||||||
|
userStore.userprofile.profile.da_contattare =
|
||||||
|
!userStore.userprofile.profile.da_contattare;
|
||||||
|
saveDaContattare();
|
||||||
|
"
|
||||||
|
/>
|
||||||
</q-fab>
|
</q-fab>
|
||||||
</q-page-sticky>
|
</q-page-sticky>
|
||||||
<q-dialog v-model="showPic" full-height full-width>
|
<q-dialog v-model="showPic" full-height full-width>
|
||||||
|
|||||||
Reference in New Issue
Block a user