From ab7650193aa0a32c8e8f83c733e0b08543736809 Mon Sep 17 00:00:00 2001 From: paoloar77 Date: Mon, 28 Feb 2022 00:07:32 +0100 Subject: [PATCH] Aggiungere Sito internet anche ai gruppi Pare che quando creo un gruppo compaia il mio username tra gli amministratori ! Il filtro per Categoria in Servizi non filtra bene ! --- src/common/shared_vuejs.ts | 2 +- src/components/CFinder/CFinder.ts | 3 + src/components/CGridTableRec/CGridTableRec.ts | 43 ++- .../CGridTableRec/CGridTableRec.vue | 10 +- src/components/CMyPopupEdit/CMyPopupEdit.vue | 3 +- src/db/lang/ws_enUs.js | 83 +++++ src/db/lang/ws_es.js | 81 +++++ src/statics/lang/enUs.js | 303 +++++++++++++++++- src/statics/lang/es.js | 214 ++++++++++++- src/statics/lang/it.js | 1 + src/store/Modules/fieldsTable.ts | 15 +- src/store/Modules/tools.ts | 6 +- src/views/user/mygroup/mygroup.ts | 2 +- src/views/user/mygroup/mygroup.vue | 1 + 14 files changed, 726 insertions(+), 41 deletions(-) diff --git a/src/common/shared_vuejs.ts b/src/common/shared_vuejs.ts index b0896d9d..da55d0ff 100755 --- a/src/common/shared_vuejs.ts +++ b/src/common/shared_vuejs.ts @@ -769,7 +769,7 @@ export const shared_consts = { ], ConfSite: { - Notif_Reg_Bot: 1, + Notif_Reg_Bot_ToManagers: 1, Notif_Reg_Push_Admin: 2, Need_Aportador_On_DataReg_To_Verify_Reg: 4, }, diff --git a/src/components/CFinder/CFinder.ts b/src/components/CFinder/CFinder.ts index 22d309e5..c58ed0ce 100755 --- a/src/components/CFinder/CFinder.ts +++ b/src/components/CFinder/CFinder.ts @@ -727,6 +727,7 @@ export default defineComponent({ photos: 1, idCity: 1, note: 1, + link_telegram: 1, website: 1, comune: 1, mycities: 1, @@ -750,6 +751,7 @@ export default defineComponent({ idCity: 1, note: 1, website: 1, + link_telegram: 1, comune: 1, mycities: 1, sector: 1, @@ -774,6 +776,7 @@ export default defineComponent({ note: 1, //**ADDFIELD_MYGROUPS website: 1, + link_telegram: 1, comune: 1, mycities: 1, recCatGrp: 1, diff --git a/src/components/CGridTableRec/CGridTableRec.ts b/src/components/CGridTableRec/CGridTableRec.ts index e4fa69bf..7dc2a8e2 100755 --- a/src/components/CGridTableRec/CGridTableRec.ts +++ b/src/components/CGridTableRec/CGridTableRec.ts @@ -245,7 +245,7 @@ export default defineComponent({ const serverData: any = ref([]) const spinner_visible = ref(false) - const searchList = toRef(props, 'prop_searchList') + const searchList = ref( []) let actual = '' @@ -307,24 +307,29 @@ export default defineComponent({ }) function setCategBySector(tablecat: string, tabsector: string, newval: any) { + const recSector = searchList.value.find((rec) => rec.table === tabsector) if (recSector) - tools.setCookie(tools.COOK_SEARCH + tablecat + '_' + recSector.value, newval) + tools.setCookie(tools.COOK_SEARCH + tabsector, newval) for (const item of searchList.value) { if (item.table === tablecat) { const valsaved = tools.getCookie(tools.COOK_SEARCH + tablecat + '_' + newval, costanti.FILTER_TUTTI) const rec = searchList.value.find((rec) => rec.table === tablecat) // check if exist let trovato = false + let arrvalues = [] if (rec) { - const arrvalues = valoriopt.value(rec.value, false) + arrvalues = valoriopt.value(rec.value, false) if (arrvalues) trovato = arrvalues.find((rec: any) => rec[rec.key] === valsaved) } if (valsaved && trovato) item.value = valsaved - else - item.value = costanti.FILTER_TUTTI + else { + if (arrvalues) { + item.value = costanti.FILTER_TUTTI + } + } } } @@ -334,10 +339,10 @@ export default defineComponent({ // console.log('searchval', newval, table) tools.setCookie(tools.COOK_SEARCH + table, newval) - if (table === 'skills') { - setCategBySector(table, 'sectors', newval) + if (table === 'sectors') { + setCategBySector('skills', table, newval) }else if (table === 'goods') { - setCategBySector(table, 'sectorgoods', newval) + setCategBySector('sectorgoods', table, newval) } refresh() @@ -417,8 +422,10 @@ export default defineComponent({ if (searchList.value) { recSkill = searchList.value.find((item: ISearchList) => item.table === 'skills') idSkill = recSkill ? recSkill.value : 0 + console.log('recSkill', idSkill) } + let arrfilter_cities: any = [] let arrfilter_provices: any = [] @@ -480,6 +487,8 @@ export default defineComponent({ filtersearch.push(objitem) } else if (item.arrvalue.length > 0) { + + const myarr = item.arrvalue.filter((value: any) => { if (typeof value === 'number') { return value > 0 @@ -507,21 +516,25 @@ export default defineComponent({ } else { if ((item.table === 'skills') && item.value === costanti.FILTER_TUTTI) { let obj2: any = {} + if (idSector > 0) { // idSector obj2['sector._id'] = idSector filtersearch2.push(obj2) } - } - if ((item.table === 'goods') && item.value === costanti.FILTER_TUTTI) { + if (idSkill > 0) { + // idSector + obj2['idSkill'] = idSkill + filtersearch2.push(obj2) + } + } else if ((item.table === 'goods') && item.value === costanti.FILTER_TUTTI) { let obj2: any = {} if (idSectorGood > 0) { // idSectorGood obj2['sectorgood._id'] = idSectorGood filtersearch2.push(obj2) } - } - if ((item.table === 'subskills') && item.value === costanti.FILTER_TUTTI) { + } else if ((item.table === 'subskills') && item.value === costanti.FILTER_TUTTI) { let obj2: any = {} // idSector if (idSkill > 0) { @@ -977,6 +990,8 @@ export default defineComponent({ } function mounted() { + searchList.value = props.prop_searchList + // console.log('GridTable mounted', tablesel.value) // console.log('props.filtercustom', props.filtercustom) @@ -1454,8 +1469,8 @@ export default defineComponent({ function showColCheck(col: IColGridTable, tipovis: number, visulabel:boolean, value: any = '', record: any = null){ - if (col.isadvanced_field && !showfilteradv.value) - return false + //if (col.isadvanced_field && !showfilteradv.value) + // return false const check = tools.checkIfShowField(col, tipovis, visulabel, value) diff --git a/src/components/CGridTableRec/CGridTableRec.vue b/src/components/CGridTableRec/CGridTableRec.vue index 9deb2cb3..1c837623 100755 --- a/src/components/CGridTableRec/CGridTableRec.vue +++ b/src/components/CGridTableRec/CGridTableRec.vue @@ -556,10 +556,10 @@
-
+
@@ -602,12 +602,12 @@
-
+
+ v-if="showColCheck(col, tools.TIPOVIS_EDIT_RECORD, false) && col.foredit">
2) go back to {botname} by clicking on 👇 and paste (or write) the code', teleg_checkcode: 'Telegram code', @@ -357,14 +436,22 @@ const msg_enUs = { date_reg: 'Reg. Date', requirement: 'Requirements', perm: 'Permissions', - username_login: 'Username or email', - username: 'Username (Pseudonym)', + elimina: 'Elimina', + deleted: 'Nascosto', + sospeso: 'Sospeso', + username: 'Username', + username_reg: 'Scegli il tuo Username', + username_hint: 'caratteri consentiti: tratteggio (_), meno (-) e il punto (.)', + username_pseudonimo: 'Username (Pseudonimo)', username_short: 'Username', name: 'Name', surname: 'Surname', + username_login: 'Username o email', password: 'Password', + password_reg: 'Scegli una nuova Password', repeatPassword: 'Repeat password', terms: 'I agree with the terms and privacy', + metodopagamento: 'Metodo di Pagamento', onlyadult: "I confirm that I'm at least 18 years old", submit: 'Submit', title_verif_reg: 'Verify Registration', @@ -373,6 +460,48 @@ const msg_enUs = { non_verificato: 'Not Verified', forgetpassword: 'Forget Password?', modificapassword: 'Modify Password', + resplist: 'Possibile Responsabile', + workerslist: 'Lavoratore Attivo', + resp: 'Responsabile', + viceResp: 'Vice Rrsponsabile', + userslist: 'Lista Persone', + fiscalcode: 'Codice Fiscale', + annoTesseramento: 'Anno', + numTesseraInterna: 'Tess', + codiceConacreis: 'Conacreis', + residency_address: 'Indirizzo di Residenza', + residency_city: 'Comune di Residenza', + residency_province: 'Provincia', + residency_zipcode: 'CAP', + residency_country: 'Paese', + born_country: 'Paese Nascita', + cell_phone: 'Telefono', + dateofreg: 'Registrato', + dateofapproved: 'Approvato', + dateofbirth: 'Data di Nascita', + born_city: 'Comune di Nascita', + born_province: 'Provincia di Nascita', + nationality_born: 'Paese di Nascita', + iscrizione_compilata: 'Iscritto', + metodo_pagamento: 'Pagam', + ha_pagato: 'Quota Versata', + newsletter_on: 'Aggiungimi alla Newsletter', + accetta_carta_costituzionale_on: 'Ho letto ed Approvo il Progetto', + iscriviti: 'Iscriviti', + motivazioni: 'Motivazioni sul perchè intendi iscriverti alla CNM:', + biografia: 'Biografia', + competenze_professionalita: 'Descrivi le tue competenze e professionalità', + cosa_potrei_offrire: 'Cosa potresti offrire?', + cosa_vorrei_ricevere: 'Cosa vorresti ricevere? (cosa ti aspetti?)', + altre_comunicazioni: 'Scrivi altre eventuali informazioni o comunicazioni:', + come_ci_hai_conosciuto: 'Come ci hai conosciuto?', + photo: 'Foto', + images: 'Immagini', + image: 'Immagine', + date: 'Data', + date_created: 'Creato il', + options: 'Opzioni', + link_telegram: 'Link al Canale/Gruppo Telegram', err: { required: 'is required', email: 'must be a valid email', @@ -385,6 +514,7 @@ const msg_enUs = { terms: 'You need to agree with the terms & conditions.', email_not_exist: 'Email is not present in the archive, check if it is correct', duplicate_email: 'Email was already registered', + invalid_email: 'l\'Email non è valida', user_already_exist: 'Registration with these data (name, surname and mobile phone) has already been created. To access the site, click on the LOGIN button from the HomePage.', user_extralist_not_found: 'User in archive not found, insert the Name, Surname and mobile phone sent previously', user_aportador_not_valid: 'Il link di registrazione non sembra risultare valido.', @@ -393,6 +523,7 @@ const msg_enUs = { aportador_not_exist: 'The username of the person who invited you is not present. Contact us.', aportador_regalare_not_exist: 'Inserire l\'Username della persona che si vuole regalare l\'invitato', sameaspassword: 'Passwords must be identical', + accetta_carta_costituzionale_on: 'Occorre accettare la sintesi della Carta Costituzionale', }, tips: { email: 'inserisci la tua email', @@ -414,6 +545,7 @@ const msg_enUs = { facebook: 'Facebook Page', }, login: { + page_title: 'Login', incorso: 'Login...', enter: 'Login', esci: 'Logout', @@ -453,6 +585,8 @@ const msg_enUs = { completed_at: 'Completition Date', expiring_at: 'Expiring Date', phase: 'Phase', + assigned_to_userId: 'Assegnato a', + workers: 'Partecipanti Attivi', }, notification: { status: 'Status', @@ -467,12 +601,17 @@ const msg_enUs = { subscribed: 'You can now receive Notification and Messages.', newVersionAvailable: 'Upgrade', }, - connection: 'Conexión', + connection: { + conn: 'Connessione', + online: 'Attiva', + offline: 'Disattiva', + }, proj: { newproj: 'Project Title', newsubproj: 'SubProject Title', insertbottom: 'Insert New Project', longdescr: 'Description', + note: 'Note', hoursplanned: 'Estimated Hours', hoursleft: 'Left Hours', hoursadded: 'Additional Hours', @@ -485,9 +624,16 @@ const msg_enUs = { endwork_estimate: 'Estimated completion date', privacyread: 'Who can see it:', privacywrite: 'Who can modify if:', + createdby: 'Creato da:', + tipovisu: 'Visualizzazione:', totalphases: 'Total Phase', themecolor: 'Theme Color', themebgcolor: 'Theme Color Background', + group: 'Gruppo', + group2: 'Gruppo2', + respUsername: 'Responsabile', + viceRespUsername: 'Vice Responsabile', + vice2RespUsername: 'Vice 2 Responsabile', }, where: { code: 'Id', @@ -526,13 +672,21 @@ const msg_enUs = { teacher: 'Led by', enterdate: 'Enter date', details: 'Details', + open_details: 'Apri Pagina', infoextra: 'Extra Info DateTime', alldayevent: 'All-Day myevent', eventstartdatetime: 'Start', enterEndDateTime: 'End', selnumpeople: 'Participants', selnumpeople_short: 'Num', + Lunch: 'Pranzo', + Dinner: 'Cena', + DinnerShared: 'Cena Condivisa', + selnumpeopleLunch: 'Prenotati per il Pranzo', + selnumpeopleDinner: 'Prenotati per la Cena', + selnumpeopleDinnerShared: 'Cena Condivisa', msgbooking: 'Message to send', + writemsg: 'Scrivi qui se vuoi lasciare un messaggio', showpdf: 'Show PDF', bookingtextdefault: 'I book for', bookingtextdefault_of: 'of', @@ -542,6 +696,7 @@ const msg_enUs = { showlastschedule: 'See Full Schedule', }, msgs: { + telegrammsg: 'Telegram', message: 'Messaggio', messages: 'Messaggi', nomessage: 'Nessun Messaggio', @@ -553,6 +708,7 @@ const msg_enUs = { title: 'Title', details: 'Details', bodytext: 'Event Text', + dateCreated: 'Data Inserimento', dateTimeStart: 'Date Start', dateTimeEnd: 'Date End', bgcolor: 'Background color', @@ -568,10 +724,24 @@ const msg_enUs = { infoafterprice: 'Info after Price', teacher: 'Teacher', // teacherid teacher2: 'Teacher2', // teacherid2 + teacher3: 'Insegnante 3', // teacherid2 + teacher4: 'Insegnante 4', // teacherid2 infoextra: 'Extra Info', linkpage: 'WebSite', + facebook: 'Facebook', + pagefooter: 'Pagina di Footer', + pagefooter2: 'Pagina di Footer 2', + pagefooter3: 'Pagina di Footer 3', linkpdf: 'PDF Link', nobookable: 'No Bookable', + internal: 'Evento Interno', + lunchAvailable: 'Disponibilità di Pranzare', + dinnerAvailable: 'Disponibilità di Cenare', + dinnerSharedAvailable: 'Disponibilità di Cenare Condivisa', + lunchType: 'Tipo di Pranzo', + dinnerType: 'Tipo di Cena', + lunchPrezzo: 'Contributo Pranzo', + dinnerPrezzo: 'Contributo Cena', news: 'News', dupId: 'Id Duplicate', canceled: 'Canceled', @@ -582,6 +752,7 @@ const msg_enUs = { showinhome: 'Show in Home', showinnewsletter: 'Show in the Newsletter', color: 'Title Color', + testo_di_spiegazione: 'Testo di Spiegazione', }, disc: { typol_code: 'Tipology Code', @@ -625,7 +796,129 @@ const msg_enUs = { wrongerr: 'Invalid Email', }, privacy_policy: 'Privacy Policy', - cookies: 'We use cookies for better web performance.', + cookies: 'Usiamo i Cookie per una migliore prestazione web.', + sites: { + active: 'Attivo', + idapp: 'IdApp', + name: 'Nome Sito', + adminemail: 'Email Admin', + manageremail: 'Email Gestione', + replyTo: 'Reply To', + host: 'Host', + host_test: 'Host Test', + portapp: 'Porta', + dir: 'Dir', + dir_test: 'Dir Test', + email_from: 'Email From', + email_pwd: 'Email Pwd', + telegram_key: 'Chiave Bot', + telegram_bot_name: 'BotName', + telegram_key_test: 'Chiave Bot Test', + telegram_bot_name_test: 'BotName Test', + telegram_support_chat: 'Telegram Support', + pathreg_add: 'Suffisso', + ask_to_verify_reg: 'Chiedi Verif. Reg', + }, + skill: { + name: 'Categoria', + city: 'Comune', + photos: 'Foto', + note: 'Note', + short_node: 'Breve Nota', + subskill: 'Specializzazione', + }, + level: { + name: 'Livello', + }, + statusSkill: { + name: 'Di Persona / On Line', + }, + store: { + description: 'Descrizione', + main: 'Principale', + img: 'Immagine', + icon: 'Icona', + }, + sectors: { + name: 'Settore', + }, + catgrps: { + name: 'Categoria', + }, + contribtype: { + name: 'In Cambio di' + }, + bot: { + page: 'Pagina', + index: 'Posizione', + riga: 'Riga', + active: 'Attivo', + main: 'Menu Principale', + lang: 'Lingua', + label: 'Etichetta', + type: 'Tipo', + value: 'Contenuto', + visibility: 'Visibilità', + date_updated: 'Ult. Aggiornamento', + }, + mypages: { + find_people: 'Cerca Persone', + find_group: 'Cerca Gruppo', + manage_my_groups: 'Gruppi che Gestisco', + follow_groups: 'Gruppi che Seguo', + create_group: 'Crea Gruppo', + friends: 'Amici', + bacheca: 'Bacheca', + services: 'Servizi', + events: 'Eventi', + goods: 'Beni', + test: 'Test', + groups: 'Gruppi', + request_friends: 'Rich. Amicizia', + request_sent_friends: 'Rich. Inviate', + request_sent_groups: 'Rich. Inviate', + request_trust: 'Rich. Fiducia', + trusted: 'Fiducia Accettata', + rejected: 'Rifiutati', + }, + friends: { + accept_trust: 'Accetta Fiducia', + accept_friend: 'Accetta Amicizia', + refuse_trust: 'Rifiuta Fiducia', + reject_trust: 'Revoca Fiducia', + remove_from_myfriends: 'Rimuovi dagli Amici', + block_user: 'Blocca Utente', + ask_friend: 'Chiedi l\'Amicizia', + cancel_ask_friend: 'Annulla la richiesta di Amicizia', + cancel_ask_friend_short: 'Annulla richiesta', + reject_ask_friend: 'Rifiuta la richiesta di Amicizia', + }, + groups: { + member: 'membro', + members: 'membri', + admin: 'amministratore', + admins: 'Amministratori', + ask_group: 'Chiedi di entrare nel Gruppo', + accept_group: 'Accetta la richiesta', + remove_from_mygroups: 'Rimuovi dal Gruppo', + block_group: 'Blocca Gruppo', + cancel_ask_group: 'Annulla la richiesta', + cancel_ask_group_short: 'Annulla richiesta', + refuse_ask_group_short: 'Rifiuta la richiesta', + pwd: 'Password per accedere', + }, + finder: { + search_skill: 'Cerca una specializzazione' + }, + adTypes: { + name: 'Tipo', + }, + shipping: { + name: 'Consegna' + }, + otherfilters: { + name: 'Altri Filtri' + } }, }; diff --git a/src/statics/lang/es.js b/src/statics/lang/es.js index 20e38dbf..50407583 100755 --- a/src/statics/lang/es.js +++ b/src/statics/lang/es.js @@ -152,6 +152,35 @@ const msg_es = { recdelfailed: 'Error durante la eliminación del registro', duplicatedrecord: 'Registro Duplicado', recdupfailed: 'Error durante la duplicación de registros', + friendsadded: 'Aggiunto alla lista di Amici', + domanda_removefriend: 'Rimuovi dagli Amici {username}?', + domanda_removegroup: 'Rimuovere dal Gruppo {username} ?', + removedfriend: 'Rimosso dalla lista di Amici', + removedgroup: 'Rimosso dal Gruppo', + domanda_addtofriend: 'Aggiungere agli amici {username}?', + domanda_addtogroup: 'Aggiungi {username} al gruppo {groupname}?', + addedfriend: 'Aggiunto alla lista di Amici', + addedgroup: 'Aggiunto al Gruppo', + domanda_trusted: 'Accettare la Fiducia a {username}?', + trusted: 'Accettato la Fiducia', + domanda_ask_friend: 'Chiedere l\'Amicizia a {username}?', + domanda_ask_group: 'Chiedere l\'invito al Gruppo {groupname}?', + askedtofriend: 'Chiesto l\'Amicizia a {username}', + askedtogroup: 'Chiesto l\'invito al Gruppo {groupname}', + domanda_revoke_friend: 'Revocare la richiesta di Amicizia a {username}?', + domanda_revoke_group: 'Revocare la richiesta al gruppo {groupname}?', + revoketofriend: 'Revocato la richiesta di Amicizia a {username}', + revoketogroup: 'Revocato la richiesta d\'invito al gruppo {groupname}', + domanda_cancel_req_friend: 'Annullare la richiesta di Amicizia a {username}?', + domanda_cancel_req_group: 'Annullare la richiesta d\'invito di {username} al gruppo {groupname}?', + cancel_req_friend: 'Annullata la richiesta di Amicizia a {username}', + cancel_req_group: 'Annullata la richiesta al gruppo {groupname}', + domanda_rejectedtrust: 'Rifiutare la Fiducia a {username}?', + rejected: 'Rifiutato la Fiducia', + domanda_blockuser: 'Bloccare {username}?', + domanda_blockgroup: 'Bloccare il gruppo {groupname}?', + blockedfriend: 'Utente Bloccato', + domanda: 'Domanda', }, components: { authentication: { @@ -311,6 +340,10 @@ const msg_es = { nuove_registrazioni: 'Si se trata de un NUEVO registro, debe ponerse en contacto con la persona que le ha INVITADO, que le dejará el LINK CORRECTO para hacer el registro bajo él/ella', you: 'Tu', cancella_invitato: 'Eliminar Invitado', + cancella_account: 'Elimina Profilo', + cancellami: 'Sei sicuro di voler Eliminare completamente la tua Registrazione ed i tuoi dati su {sitename}. Non potrai piu\' accedere al sito tramite le tue credenziali.', + cancellami_2: 'ULTIMO AVVISO! Vuoi uscire Definitivamente da {sitename} ?', + account_cancellato: 'Il tuo Profilo è stato cancellato correttamente', regala_invitato: 'Dar Invitado', regala_invitante: 'Dar Invitando', messaggio_invito: 'Mensaje de invitación', @@ -320,6 +353,11 @@ const msg_es = { invitante_regalato: 'Invitando Regalato', legenda: 'Legenda', aportador_solidario: 'Aportador Solidario', + verified_by_aportador: 'Verificato dall\'Invitante', + notAsk_ToVerify: 'Non chiedere la verifica Registrazione', + trust_modified: 'Fiducia Modificata', + blocked: 'Bloccato', + username_who_block: 'Bloccato da', username_regala_invitato: 'Nombre de usuario del destinatario del regalo', aportador_solidario_nome_completo: 'A.S. Nombre', aportador_solidario_ind_order: 'A.S.Ind', @@ -341,10 +379,14 @@ const msg_es = { note_payment: 'Notas adicionales', country_pay: 'País del Pagos de destino', username_telegram: 'Usuario Telegram', + groupname: 'Codice Gruppo', + firstname_telegram: 'Nome Telegram', + lastname_telegram: 'Cognome Telegram', telegram: 'Chat Telegram \'{botname}\'', teleg_id: 'Telegram ID', teleg_auth: 'Código de autorización', click_per_copiare: 'Haz click en él para copiarlo al portapapeles', + link_reg: 'Clicca per copiare il link da condividere agli Amici', copia_messaggio: 'Copiar mensaje', teleg_torna_sul_bot: '1) Copiar el código haciendo clic en el botón de arriba
2) volver a {botname} haciendo clic en 👇 y pegar (o escribir) el código', teleg_checkcode: 'Código Telegram', @@ -360,14 +402,22 @@ const msg_es = { deleted: 'Cancellato', requirement: 'Requisitos', perm: 'Permisos', - username: 'Username (Apodo)', + elimina: 'Elimina', + deleted: 'Nascosto', + sospeso: 'Sospeso', + username: 'Username', + username_reg: 'Scegli il tuo Username', + username_hint: 'caratteri consentiti: tratteggio (_), meno (-) e il punto (.)', + username_pseudonimo: 'Username (Pseudonimo)', username_short: 'Username', name: 'Nombre', surname: 'Apellido', username_login: 'Nombre usuario o email', password: 'contraseña', + password_reg: 'Scegli una nuova Password', repeatPassword: 'Repetir contraseña', terms: 'Acepto los términos por la privacidad', + metodopagamento: 'Metodo di Pagamento', onlyadult: 'Confirmo que soy mayor de edad', submit: 'Registrarse', title_verif_reg: 'Verifica registro', @@ -376,6 +426,48 @@ const msg_es = { non_verificato: 'No Verificado', forgetpassword: '¿Olvidaste tu contraseña?', modificapassword: 'Cambiar la contraseña', + resplist: 'Possibile Responsabile', + workerslist: 'Lavoratore Attivo', + resp: 'Responsabile', + viceResp: 'Vice Rrsponsabile', + userslist: 'Lista Persone', + fiscalcode: 'Codice Fiscale', + annoTesseramento: 'Anno', + numTesseraInterna: 'Tess', + codiceConacreis: 'Conacreis', + residency_address: 'Indirizzo di Residenza', + residency_city: 'Comune di Residenza', + residency_province: 'Provincia', + residency_zipcode: 'CAP', + residency_country: 'Paese', + born_country: 'Paese Nascita', + cell_phone: 'Telefono', + dateofreg: 'Registrato', + dateofapproved: 'Approvato', + dateofbirth: 'Data di Nascita', + born_city: 'Comune di Nascita', + born_province: 'Provincia di Nascita', + nationality_born: 'Paese di Nascita', + iscrizione_compilata: 'Iscritto', + metodo_pagamento: 'Pagam', + ha_pagato: 'Quota Versata', + newsletter_on: 'Aggiungimi alla Newsletter', + accetta_carta_costituzionale_on: 'Ho letto ed Approvo il Progetto', + iscriviti: 'Iscriviti', + motivazioni: 'Motivazioni sul perchè intendi iscriverti alla CNM:', + biografia: 'Biografia', + competenze_professionalita: 'Descrivi le tue competenze e professionalità', + cosa_potrei_offrire: 'Cosa potresti offrire?', + cosa_vorrei_ricevere: 'Cosa vorresti ricevere? (cosa ti aspetti?)', + altre_comunicazioni: 'Scrivi altre eventuali informazioni o comunicazioni:', + come_ci_hai_conosciuto: 'Come ci hai conosciuto?', + photo: 'Foto', + images: 'Immagini', + image: 'Immagine', + date: 'Data', + date_created: 'Creato il', + options: 'Opzioni', + link_telegram: 'Link al Canale/Gruppo Telegram', err: { required: 'se requiere', email: 'Debe ser una email válida.', @@ -388,6 +480,7 @@ const msg_es = { terms: 'Debes aceptar las condiciones, para continuar..', email_not_exist: 'El correo electrónico no está presente en el archivo, verifique si es correcto', duplicate_email: 'La email ya ha sido registrada', + invalid_email: 'l\'Email non è valida', user_already_exist: 'El registro con estos datos (nombre, apellido y teléfono móvil) ya se ha llevado a cabo. Para acceder al sitio, haga clic en el botón INICIAR SESIÓN desde la Página de inicio.', user_extralist_not_found: 'Usuario en el archivo no encontrado, inserte el nombre, apellido y número de teléfono enviado previamente', user_aportador_not_valid: 'Il link di registrazione non sembra risultare valido.', @@ -396,6 +489,7 @@ const msg_es = { aportador_not_exist: 'El nombre de usuario de la persona que lo invitó no está presente. Contactanos.', aportador_regalare_not_exist: 'Inserire l\'Username della persona che si vuole regalare l\'invitato', sameaspassword: 'Las contraseñas deben ser idénticas', + accetta_carta_costituzionale_on: 'Occorre accettare la sintesi della Carta Costituzionale', }, tips: { email: 'inserisci la tua email', @@ -627,14 +721,88 @@ const msg_es = { statesub: 'Subscribir', wrongerr: 'Email invalide', }, - privacy_policy: 'Política de privacidad', - cookies: 'Utilizamos cookies para un mejor rendimiento web.', + privacy_policy: 'Privacy Policy', + cookies: 'Usiamo i Cookie per una migliore prestazione web.', + sites: { + active: 'Attivo', + idapp: 'IdApp', + name: 'Nome Sito', + adminemail: 'Email Admin', + manageremail: 'Email Gestione', + replyTo: 'Reply To', + host: 'Host', + host_test: 'Host Test', + portapp: 'Porta', + dir: 'Dir', + dir_test: 'Dir Test', + email_from: 'Email From', + email_pwd: 'Email Pwd', + telegram_key: 'Chiave Bot', + telegram_bot_name: 'BotName', + telegram_key_test: 'Chiave Bot Test', + telegram_bot_name_test: 'BotName Test', + telegram_support_chat: 'Telegram Support', + pathreg_add: 'Suffisso', + ask_to_verify_reg: 'Chiedi Verif. Reg', + }, + skill: { + name: 'Categoria', + city: 'Comune', + photos: 'Foto', + note: 'Note', + short_node: 'Breve Nota', + subskill: 'Specializzazione', + }, + level: { + name: 'Livello', + }, + statusSkill: { + name: 'Di Persona / On Line', + }, + store: { + description: 'Descrizione', + main: 'Principale', + img: 'Immagine', + icon: 'Icona', + }, + sectors: { + name: 'Settore', + }, + catgrps: { + name: 'Categoria', + }, + contribtype: { + name: 'In Cambio di' + }, + bot: { + page: 'Pagina', + index: 'Posizione', + riga: 'Riga', + active: 'Attivo', + main: 'Menu Principale', + lang: 'Lingua', + label: 'Etichetta', + type: 'Tipo', + value: 'Contenuto', + visibility: 'Visibilità', + date_updated: 'Ult. Aggiornamento', + }, mypages: { - find_people: 'Busca Personas', - friends: 'Amigos', - groups: 'Grupos', + find_people: 'Cerca Persone', + find_group: 'Cerca Gruppo', + manage_my_groups: 'Gruppi che Gestisco', + follow_groups: 'Gruppi che Seguo', + create_group: 'Crea Gruppo', + friends: 'Amici', + bacheca: 'Bacheca', + services: 'Servizi', + events: 'Eventi', + goods: 'Beni', + test: 'Test', + groups: 'Gruppi', request_friends: 'Rich. Amicizia', request_sent_friends: 'Rich. Inviate', + request_sent_groups: 'Rich. Inviate', request_trust: 'Rich. Fiducia', trusted: 'Fiducia Accettata', rejected: 'Rifiutati', @@ -642,13 +810,43 @@ const msg_es = { friends: { accept_trust: 'Accetta Fiducia', accept_friend: 'Accetta Amicizia', - reject_trust: 'Rifiuta Fiducia', + refuse_trust: 'Rifiuta Fiducia', + reject_trust: 'Revoca Fiducia', remove_from_myfriends: 'Rimuovi dagli Amici', block_user: 'Blocca Utente', ask_friend: 'Chiedi l\'Amicizia', cancel_ask_friend: 'Annulla la richiesta di Amicizia', + cancel_ask_friend_short: 'Annulla richiesta', reject_ask_friend: 'Rifiuta la richiesta di Amicizia', - } }, + }, + groups: { + member: 'membro', + members: 'membri', + admin: 'amministratore', + admins: 'Amministratori', + ask_group: 'Chiedi di entrare nel Gruppo', + accept_group: 'Accetta la richiesta', + remove_from_mygroups: 'Rimuovi dal Gruppo', + block_group: 'Blocca Gruppo', + cancel_ask_group: 'Annulla la richiesta', + cancel_ask_group_short: 'Annulla richiesta', + refuse_ask_group_short: 'Rifiuta la richiesta', + pwd: 'Password per accedere', + }, + finder: { + search_skill: 'Cerca una specializzazione' + }, + adTypes: { + name: 'Tipo', + }, + shipping: { + name: 'Consegna' + }, + otherfilters: { + name: 'Altri Filtri' + } + }, + }; export default msg_es; diff --git a/src/statics/lang/it.js b/src/statics/lang/it.js index 7a4acaf4..fb37b309 100755 --- a/src/statics/lang/it.js +++ b/src/statics/lang/it.js @@ -517,6 +517,7 @@ const msg_it = { date: 'Data', date_created: 'Creato il', options: 'Opzioni', + link_telegram: 'Link al Canale/Gruppo Telegram', err: { required: 'è richiesto', email: 'inserire una email valida', diff --git a/src/store/Modules/fieldsTable.ts b/src/store/Modules/fieldsTable.ts index bd0433df..ae95198b 100755 --- a/src/store/Modules/fieldsTable.ts +++ b/src/store/Modules/fieldsTable.ts @@ -584,6 +584,15 @@ export const colmyUserGroup = [ jointable: '', showWhen: costanti.showWhen.NewRec + costanti.showWhen.InPage + costanti.showWhen.InEdit + costanti.showWhen.InView, }), + AddCol({ + name: 'link_telegram', label_trans: 'reg.link_telegram', isadvanced_field: true, fieldtype: costanti.FieldType.link, + showWhen: costanti.showWhen.NewRec + costanti.showWhen.InEdit + costanti.showWhen.InView_OnlyifExist, + icon: 'fab fa-telegram' + }), + AddCol({ + name: 'website', label_trans: 'reg.website', isadvanced_field: true, fieldtype: costanti.FieldType.link, + showWhen: costanti.showWhen.NewRec + costanti.showWhen.InEdit + costanti.showWhen.InView_OnlyifExist + }), AddCol({ name: 'note', label_trans: 'proj.longdescr', fieldtype: costanti.FieldType.html, titlepopupedit: 'Dettagli', field_extra1: 'groupname', subfield_extra1: '' @@ -644,7 +653,7 @@ export const colmyGoods = [ fieldtype: costanti.FieldType.select, required: true, jointable: 'sectorgoods', - showWhen: costanti.showWhen.NewRec + costanti.showWhen.InEdit, + showWhen: costanti.showWhen.NewRec + costanti.showWhen.InEdit + costanti.showWhen.InView_OnlyifExist, visible: true, icon: 'category', }), @@ -810,7 +819,7 @@ export const colmySkills = [ fieldtype: costanti.FieldType.select, required: true, jointable: 'sectors', - showWhen: costanti.showWhen.NewRec + costanti.showWhen.InEdit, + showWhen: costanti.showWhen.NewRec + costanti.showWhen.InEdit + costanti.showWhen.InView_OnlyifExist, visible: true, icon: 'category', }), @@ -993,7 +1002,7 @@ export const colmyBachecas = [ fieldtype: costanti.FieldType.select, required: true, jointable: 'sectors', - showWhen: costanti.showWhen.NewRec + costanti.showWhen.InEdit, + showWhen: costanti.showWhen.NewRec + costanti.showWhen.InEdit + costanti.showWhen.InView_OnlyifExist, visible: true, icon: 'category', sortable: false, diff --git a/src/store/Modules/tools.ts b/src/store/Modules/tools.ts index 512cbae7..7bf3794f 100644 --- a/src/store/Modules/tools.ts +++ b/src/store/Modules/tools.ts @@ -247,11 +247,11 @@ export const tools = { value: shared_consts.ConfSite.Need_Aportador_On_DataReg_To_Verify_Reg, }, { - label: 'Notif Reg sul BOT (all\'Invitante)', - value: shared_consts.ConfSite.Notif_Reg_Bot, + label: 'Notif Reg sul BOT (ai Gestori)', + value: shared_consts.ConfSite.Notif_Reg_Bot_ToManagers, }, { - label: 'Notif Reg Push (Admin)', + label: 'Notif Reg Push (all\'Admin)', value: shared_consts.ConfSite.Notif_Reg_Push_Admin, }, diff --git a/src/views/user/mygroup/mygroup.ts b/src/views/user/mygroup/mygroup.ts index 53a65539..f197da4b 100755 --- a/src/views/user/mygroup/mygroup.ts +++ b/src/views/user/mygroup/mygroup.ts @@ -104,7 +104,7 @@ export default defineComponent({ if (mygrp.value) { if (!!mygrp.value.link_telegram) { - return 'https://t.me/' + mygrp.value.link_telegram + return (!mygrp.value.link_telegram.startsWith('http') ? 'https://' : '') + mygrp.value.link_telegram } } else { return '' diff --git a/src/views/user/mygroup/mygroup.vue b/src/views/user/mygroup/mygroup.vue index 329d3aa7..a26e8b61 100755 --- a/src/views/user/mygroup/mygroup.vue +++ b/src/views/user/mygroup/mygroup.vue @@ -84,6 +84,7 @@
+