Riso: Ris Italia, altre modifiche grafiche
Lista Utenti da Verificare
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
APP_VERSION="1.0.21"
|
APP_VERSION="1.0.20"
|
||||||
SERVICE_WORKER_FILE="service-worker.js"
|
SERVICE_WORKER_FILE="service-worker.js"
|
||||||
APP_ID="17"
|
APP_ID="13"
|
||||||
DIRECTORY_LOCAL="newfreeplanet"
|
DIRECTORY_LOCAL="newfreeplanet"
|
||||||
DIRECTORY_SERVER="freeplanet_serverside"
|
DIRECTORY_SERVER="freeplanet_serverside"
|
||||||
SERVERDIR_WEBSITE=""
|
SERVERDIR_WEBSITE=""
|
||||||
@@ -12,7 +12,7 @@ LANG_DEFAULT="it"
|
|||||||
PAO_APP_ID="KKPPAA5KJK435J3KSS9F9D8S9F8SD98F9SDF"
|
PAO_APP_ID="KKPPAA5KJK435J3KSS9F9D8S9F8SD98F9SDF"
|
||||||
MASTER_KEY="KKPPSS5KJK435J3KSS9F9D8S9F8SD3CR3T"
|
MASTER_KEY="KKPPSS5KJK435J3KSS9F9D8S9F8SD3CR3T"
|
||||||
MONGODB_HOST="https://localhost:3000"
|
MONGODB_HOST="https://localhost:3000"
|
||||||
LOGO_REG='piuchebuono-logo-full.png'
|
LOGO_REG='riso-logo-full.png'
|
||||||
TEST_NAME="Paolo"
|
TEST_NAME="Paolo"
|
||||||
TEST_SURNAME="Arena"
|
TEST_SURNAME="Arena"
|
||||||
TEST_EMAIL=""
|
TEST_EMAIL=""
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
APP_VERSION="1.0.21"
|
APP_VERSION="1.0.20"
|
||||||
SERVICE_WORKER_FILE="service-worker.js"
|
SERVICE_WORKER_FILE="service-worker.js"
|
||||||
APP_ID="16"
|
APP_ID="13"
|
||||||
DIRECTORY_LOCAL="newfreeplanet"
|
DIRECTORY_LOCAL="newfreeplanet"
|
||||||
DIRECTORY_SERVER="freeplanet_serverside"
|
DIRECTORY_SERVER="freeplanet_serverside"
|
||||||
SERVERDIR_WEBSITE=""
|
SERVERDIR_WEBSITE=""
|
||||||
@@ -12,7 +12,7 @@ LANG_DEFAULT="it"
|
|||||||
PAO_APP_ID="KKPPAA5KJK435J3KSS9F9D8S9F8SD98F9SDF"
|
PAO_APP_ID="KKPPAA5KJK435J3KSS9F9D8S9F8SD98F9SDF"
|
||||||
MASTER_KEY="KKPPSS5KJK435J3KSS9F9D8S9F8SD3CR3T"
|
MASTER_KEY="KKPPSS5KJK435J3KSS9F9D8S9F8SD3CR3T"
|
||||||
MONGODB_HOST="https://localhost:3000"
|
MONGODB_HOST="https://localhost:3000"
|
||||||
LOGO_REG='piuchebuono-logo-full.png'
|
LOGO_REG='riso-logo-full.png'
|
||||||
TEST_NAME="Paolo"
|
TEST_NAME="Paolo"
|
||||||
TEST_SURNAME="Arena"
|
TEST_SURNAME="Arena"
|
||||||
TEST_EMAIL=""
|
TEST_EMAIL=""
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
APP_VERSION="1.0.21"
|
APP_VERSION="1.0.21"
|
||||||
SERVICE_WORKER_FILE="service-worker.js"
|
SERVICE_WORKER_FILE="service-worker.js"
|
||||||
APP_ID="16"
|
APP_ID="17"
|
||||||
DIRECTORY_LOCAL=newfreeplanet
|
DIRECTORY_LOCAL=newfreeplanet
|
||||||
DIRECTORY_SERVER=test.freeplanet_serverside
|
DIRECTORY_SERVER=test.freeplanet_serverside
|
||||||
SERVERDIR_WEBSITE="test.piuchebuono.app"
|
SERVERDIR_WEBSITE="test.piuchebuono.app"
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
const msg_website_enUs = {
|
const msg_website_enUs = {
|
||||||
ws: {
|
ws: {
|
||||||
sitename: 'Più che Buono',
|
sitename: 'Fiore Della Vita',
|
||||||
siteshortname: 'Più che Buono',
|
siteshortname: 'Fiore Della Vita',
|
||||||
description: '',
|
description: '',
|
||||||
keywords: '',
|
keywords: '',
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -5,14 +5,6 @@ const msg_website_it = {
|
|||||||
description: '',
|
description: '',
|
||||||
keywords: '',
|
keywords: '',
|
||||||
},
|
},
|
||||||
products: {
|
|
||||||
quantity: 'Quantità',
|
|
||||||
quantityAvailable: 'Disponibili',
|
|
||||||
weight: 'Peso',
|
|
||||||
stars: 'Voto',
|
|
||||||
color: 'Colore',
|
|
||||||
theme: 'Tema',
|
|
||||||
},
|
|
||||||
hours: {
|
hours: {
|
||||||
descr: 'Descrizione',
|
descr: 'Descrizione',
|
||||||
date: 'Data',
|
date: 'Data',
|
||||||
@@ -40,6 +32,7 @@ const msg_website_it = {
|
|||||||
products: 'Prodotti',
|
products: 'Prodotti',
|
||||||
productslist: 'Lista Prodotti',
|
productslist: 'Lista Prodotti',
|
||||||
collabora: 'Collabora',
|
collabora: 'Collabora',
|
||||||
|
categories: 'Categorie',
|
||||||
storehouses: 'Magazzino',
|
storehouses: 'Magazzino',
|
||||||
departments: 'Uffici',
|
departments: 'Uffici',
|
||||||
orders: 'Ordini Ricevuti',
|
orders: 'Ordini Ricevuti',
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
APP_VERSION="1.0.21"
|
APP_VERSION="1.0.17"
|
||||||
SERVICE_WORKER_FILE="service-worker.js"
|
SERVICE_WORKER_FILE="service-worker.js"
|
||||||
APP_ID="16"
|
APP_ID="13"
|
||||||
DIRECTORY_LOCAL="newfreeplanet"
|
DIRECTORY_LOCAL="newfreeplanet"
|
||||||
DIRECTORY_SERVER="freeplanet_serverside"
|
DIRECTORY_SERVER="freeplanet_serverside"
|
||||||
SERVERDIR_WEBSITE=""
|
SERVERDIR_WEBSITE=""
|
||||||
@@ -12,7 +12,7 @@ LANG_DEFAULT="it"
|
|||||||
PAO_APP_ID="KKPPAA5KJK435J3KSS9F9D8S9F8SD98F9SDF"
|
PAO_APP_ID="KKPPAA5KJK435J3KSS9F9D8S9F8SD98F9SDF"
|
||||||
MASTER_KEY="KKPPSS5KJK435J3KSS9F9D8S9F8SD3CR3T"
|
MASTER_KEY="KKPPSS5KJK435J3KSS9F9D8S9F8SD3CR3T"
|
||||||
MONGODB_HOST="https://localhost:3000"
|
MONGODB_HOST="https://localhost:3000"
|
||||||
LOGO_REG='piuchebuono-logo-full.png'
|
LOGO_REG='riso-logo-full.png'
|
||||||
TEST_NAME="Paolo"
|
TEST_NAME="Paolo"
|
||||||
TEST_SURNAME="Arena"
|
TEST_SURNAME="Arena"
|
||||||
TEST_EMAIL=""
|
TEST_EMAIL=""
|
||||||
|
|||||||
@@ -1,17 +1,9 @@
|
|||||||
const msg_website_it = {
|
const msg_website_it = {
|
||||||
ws: {
|
ws: {
|
||||||
sitename: 'Fiore Della Vita',
|
sitename: 'Riso',
|
||||||
siteshortname: 'Fiore Della Vita',
|
siteshortname: 'RISO',
|
||||||
description: '',
|
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.',
|
||||||
keywords: '',
|
keywords: 'riso, piattaforma di scambio, rete italiana scambio orizzontale, riso app, riso piattaforma, scambio e baratto, momenta RIS',
|
||||||
},
|
|
||||||
products: {
|
|
||||||
quantity: 'Quantità',
|
|
||||||
quantityAvailable: 'Disponibili',
|
|
||||||
weight: 'Peso',
|
|
||||||
stars: 'Voto',
|
|
||||||
color: 'Colore',
|
|
||||||
theme: 'Tema',
|
|
||||||
},
|
},
|
||||||
hours: {
|
hours: {
|
||||||
descr: 'Descrizione',
|
descr: 'Descrizione',
|
||||||
@@ -131,7 +123,7 @@ const msg_website_it = {
|
|||||||
color: 'Colore',
|
color: 'Colore',
|
||||||
},
|
},
|
||||||
msg: {
|
msg: {
|
||||||
myAppName: 'Fiore della Vita',
|
myAppName: 'Riso',
|
||||||
myAppDescription: 'Il primo Vero Social Libero, Equo e Solidale, dove Vive Consapevolezza e Aiuto Comunitario. Gratuito',
|
myAppDescription: 'Il primo Vero Social Libero, Equo e Solidale, dove Vive Consapevolezza e Aiuto Comunitario. Gratuito',
|
||||||
underconstruction: 'App in costruzione...',
|
underconstruction: 'App in costruzione...',
|
||||||
myDescriz: '',
|
myDescriz: '',
|
||||||
|
|||||||
@@ -7,6 +7,30 @@ import {
|
|||||||
import { func } from '@store/Modules/fieldsTable'
|
import { func } from '@store/Modules/fieldsTable'
|
||||||
|
|
||||||
|
|
||||||
|
// const SHOW_PROJINTHEMENU = false
|
||||||
|
//
|
||||||
|
// let arrlistafavourite = []
|
||||||
|
// let arrlistaprojtutti = []
|
||||||
|
// let arrlistaprojmiei = []
|
||||||
|
// if (SHOW_PROJINTHEMENU) {
|
||||||
|
// arrlistaprojtutti = Projects.getters.listaprojects(RouteNames.projectsall)
|
||||||
|
// arrlistaprojmiei = Projects.getters.listaprojects(RouteNames.myprojects)
|
||||||
|
// arrlistafavourite = Projects.getters.listaprojects(RouteNames.favouriteprojects)
|
||||||
|
// }
|
||||||
|
// PROGETTI -> FAVORITI :
|
||||||
|
|
||||||
|
// if (arrlistafavourite.length > 0) {
|
||||||
|
// arrMenu.push({
|
||||||
|
// icon: 'favorite_border',
|
||||||
|
// nametranslate: 'pages.' + RouteNames.favouriteprojects,
|
||||||
|
// urlroute: RouteNames.favouriteprojects,
|
||||||
|
// level_parent: 0.0,
|
||||||
|
// level_child: 0.5,
|
||||||
|
// routes2: arrlistafavourite,
|
||||||
|
// idelem: ''
|
||||||
|
// })
|
||||||
|
// }
|
||||||
|
|
||||||
const firstPage = {
|
const firstPage = {
|
||||||
active: true,
|
active: true,
|
||||||
order: 5,
|
order: 5,
|
||||||
@@ -22,7 +46,7 @@ const firstPage = {
|
|||||||
function getDynamicPages(site: ISites): IListRoutes[] {
|
function getDynamicPages(site: ISites): IListRoutes[] {
|
||||||
|
|
||||||
const baseroutes: IListRoutes[] = [
|
const baseroutes: IListRoutes[] = [
|
||||||
/*{
|
{
|
||||||
active: true,
|
active: true,
|
||||||
order: 5,
|
order: 5,
|
||||||
path: '/',
|
path: '/',
|
||||||
@@ -33,6 +57,61 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
|||||||
inmenu: true,
|
inmenu: true,
|
||||||
infooter: true,
|
infooter: true,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
active: true,
|
||||||
|
order: 12,
|
||||||
|
path: '/goods',
|
||||||
|
materialIcon: 'fas fa-tshirt',
|
||||||
|
name: 'mypages.goods',
|
||||||
|
component: () => import('@/root/goods/goods.vue'),
|
||||||
|
meta: { requiresAuth: true },
|
||||||
|
inmenu: true,
|
||||||
|
infooter: true,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
active: true,
|
||||||
|
order: 15,
|
||||||
|
path: '/services',
|
||||||
|
materialIcon: 'fas fa-house-user',
|
||||||
|
name: 'mypages.services',
|
||||||
|
component: () => import('@/root/services/services.vue'),
|
||||||
|
meta: { requiresAuth: true },
|
||||||
|
inmenu: true,
|
||||||
|
infooter: true,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
active: true,
|
||||||
|
order: 15,
|
||||||
|
path: '/provapao',
|
||||||
|
materialIcon: 'fas fa-house-user',
|
||||||
|
name: 'mypages.provapao',
|
||||||
|
component: () => import('@/root/provapao/provapao.vue'),
|
||||||
|
meta: { requiresAuth: true },
|
||||||
|
inmenu: false,
|
||||||
|
infooter: false,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
active: true,
|
||||||
|
order: 15,
|
||||||
|
path: '/hosps',
|
||||||
|
materialIcon: 'fas fa-bed',
|
||||||
|
name: 'mypages.hosp',
|
||||||
|
component: () => import('@/root/hosp/hosp.vue'),
|
||||||
|
meta: { requiresAuth: true },
|
||||||
|
inmenu: true,
|
||||||
|
infooter: true,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
active: site.confpages && site.confpages.enableCircuits,
|
||||||
|
order: 16,
|
||||||
|
path: '/circuits',
|
||||||
|
materialIcon: 'fas fa-coins',
|
||||||
|
name: 'mypages.circuits',
|
||||||
|
component: () => import('@/views/user/mycircuits/mycircuits.vue'),
|
||||||
|
meta: { requiresAuth: true },
|
||||||
|
inmenu: true,
|
||||||
|
infooter: true,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
active: true,
|
active: true,
|
||||||
order: 20,
|
order: 20,
|
||||||
@@ -43,7 +122,145 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
|||||||
meta: { requiresAuth: true },
|
meta: { requiresAuth: true },
|
||||||
inmenu: true,
|
inmenu: true,
|
||||||
infooter: true,
|
infooter: true,
|
||||||
},*/
|
},
|
||||||
|
{
|
||||||
|
active: true,
|
||||||
|
order: 120,
|
||||||
|
path: '/myprofile',
|
||||||
|
materialIcon: 'fas fa-user',
|
||||||
|
name: 'pages.profile',
|
||||||
|
component: () => import('@/views/user/myprofile/myprofile.vue'),
|
||||||
|
meta: { requiresAuth: true },
|
||||||
|
inmenu: true,
|
||||||
|
infooter: true,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
active: true,
|
||||||
|
order: 120,
|
||||||
|
path: '/editprofile',
|
||||||
|
materialIcon: 'fas fa-user',
|
||||||
|
name: 'pages.profile3',
|
||||||
|
component: () => import('@/views/user/editprofile/editprofile.vue'),
|
||||||
|
meta: { requiresAuth: true },
|
||||||
|
inmenu: false,
|
||||||
|
infooter: false,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
active: true,
|
||||||
|
order: 130,
|
||||||
|
path: '/friends',
|
||||||
|
materialIcon: 'fas fa-user-friends',
|
||||||
|
name: 'mypages.iscritti',
|
||||||
|
component: () => import('@/views/user/myfriends/myfriends.vue'),
|
||||||
|
meta: { requiresAuth: true },
|
||||||
|
inmenu: true,
|
||||||
|
infooter: true,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
active: site.confpages && site.confpages.enableGroups,
|
||||||
|
order: 132,
|
||||||
|
path: '/groups',
|
||||||
|
materialIcon: 'fas fa-users',
|
||||||
|
name: 'mypages.groups',
|
||||||
|
component: () => import('@/views/user/mygroups/mygroups.vue'),
|
||||||
|
meta: { requiresAuth: true },
|
||||||
|
inmenu: true,
|
||||||
|
infooter: false,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
active: true,
|
||||||
|
order: 136,
|
||||||
|
path: '/grp/:groupname',
|
||||||
|
materialIcon: 'fas fa-user',
|
||||||
|
name: 'proj.group2',
|
||||||
|
component: () => import('@/views/user/mygroup/mygroup.vue'),
|
||||||
|
meta: { requiresAuth: true, newpage: true },
|
||||||
|
inmenu: false,
|
||||||
|
infooter: false,
|
||||||
|
}, {
|
||||||
|
active: true,
|
||||||
|
order: 137,
|
||||||
|
path: '/circuit/:path',
|
||||||
|
materialIcon: 'fas fa-user',
|
||||||
|
name: 'proj.circuit2',
|
||||||
|
component: () => import('@/views/user/mycircuit/mycircuit.vue'),
|
||||||
|
meta: { requiresAuth: true, newpage: true },
|
||||||
|
inmenu: false,
|
||||||
|
infooter: false,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
active: true,
|
||||||
|
path: '/separator',
|
||||||
|
name: 'separator',
|
||||||
|
order: 140,
|
||||||
|
isseparator: true,
|
||||||
|
inmenu: true,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
active: true,
|
||||||
|
order: 130,
|
||||||
|
path: '/mypage/:idBacheca',
|
||||||
|
materialIcon: 'fas fa-user',
|
||||||
|
name: 'pages.mypage2',
|
||||||
|
component: () => import('@/views/user/mypagebacheca/mypagebacheca.vue'),
|
||||||
|
meta: { requiresAuth: true, newpage: true },
|
||||||
|
inmenu: false,
|
||||||
|
infooter: false,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
active: true,
|
||||||
|
order: 130,
|
||||||
|
path: '/myservice/:idSkill',
|
||||||
|
materialIcon: '',
|
||||||
|
name: 'pages.myservice2',
|
||||||
|
component: () => import('@/views/user/myservice/myservice.vue'),
|
||||||
|
meta: { requiresAuth: true, newpage: true },
|
||||||
|
inmenu: false,
|
||||||
|
infooter: false,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
active: true,
|
||||||
|
order: 135,
|
||||||
|
path: '/myhosps/:idHosp',
|
||||||
|
materialIcon: '',
|
||||||
|
name: 'pages.myhosps2',
|
||||||
|
component: () => import('@/views/user/mypagehosp/mypagehosp.vue'),
|
||||||
|
meta: { requiresAuth: true, newpage: true },
|
||||||
|
inmenu: false,
|
||||||
|
infooter: false,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
active: true,
|
||||||
|
order: 132,
|
||||||
|
path: '/mygood/:idGood',
|
||||||
|
materialIcon: '',
|
||||||
|
name: 'pages.mygood2',
|
||||||
|
component: () => import('@/views/user/mypagegood/mypagegood.vue'),
|
||||||
|
meta: { requiresAuth: true, newpage: true },
|
||||||
|
inmenu: false,
|
||||||
|
infooter: false,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
active: true,
|
||||||
|
order: 150,
|
||||||
|
path: '/fundraising',
|
||||||
|
materialIcon: 'fas fa-hand-holding-heart',
|
||||||
|
name: 'pages.fundraising',
|
||||||
|
component: () => import('@src/root/fundraising/fundraising.vue'),
|
||||||
|
inmenu: false,
|
||||||
|
infooter: false,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
active: true,
|
||||||
|
order: 80,
|
||||||
|
path: '/calendario-eventi',
|
||||||
|
materialIcon: 'event',
|
||||||
|
name: 'ris.calendario_eventi_riso',
|
||||||
|
component: () => import('@/root/calendarioeventi/calendarioeventi.vue'),
|
||||||
|
extraclass: 'isCalendar',
|
||||||
|
inmenu: false,
|
||||||
|
infooter: false
|
||||||
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
return baseroutes
|
return baseroutes
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"name": "piuchebuono",
|
"name": "riso",
|
||||||
"version": "2.0.1",
|
"version": "0.6.1",
|
||||||
"description": "PiuCheBuono",
|
"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": "PiuCheBuono",
|
"productName": "Riso",
|
||||||
"author": "Paolo Arena",
|
"author": "Paolo Arena",
|
||||||
"private": true,
|
"private": true,
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
|
|||||||
@@ -147,7 +147,7 @@ module.exports = configure((ctx) => ({
|
|||||||
},
|
},
|
||||||
devServer: {
|
devServer: {
|
||||||
https: false,
|
https: false,
|
||||||
port: 8088,
|
port: 8084,
|
||||||
open: false, // opens browser window automatically
|
open: false, // opens browser window automatically
|
||||||
headers: {
|
headers: {
|
||||||
'Access-Control-Allow-Origin': '*',
|
'Access-Control-Allow-Origin': '*',
|
||||||
@@ -305,9 +305,9 @@ module.exports = configure((ctx) => ({
|
|||||||
},
|
},
|
||||||
|
|
||||||
manifest: {
|
manifest: {
|
||||||
name: 'Più che Buono',
|
name: 'Riso',
|
||||||
short_name: 'PiuCheBuono',
|
short_name: 'Riso',
|
||||||
description: 'PiuCheBuono è un GAS e Bottega',
|
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.',
|
||||||
display: 'standalone',
|
display: 'standalone',
|
||||||
orientation: 'portrait',
|
orientation: 'portrait',
|
||||||
background_color: '#fff',
|
background_color: '#fff',
|
||||||
@@ -317,54 +317,54 @@ module.exports = configure((ctx) => ({
|
|||||||
start_url: "/?homescreen=1",
|
start_url: "/?homescreen=1",
|
||||||
icons: [
|
icons: [
|
||||||
{
|
{
|
||||||
src: 'images/fv-android-icon-512x512.png',
|
src: 'images/riso-android-icon-512x512.png',
|
||||||
sizes: '512x512',
|
sizes: '512x512',
|
||||||
type: 'image/png',
|
type: 'image/png',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
src: 'images/fv-android-icon-384x384.png',
|
src: 'images/riso-android-icon-384x384.png',
|
||||||
sizes: '384x384',
|
sizes: '384x384',
|
||||||
type: 'image/png',
|
type: 'image/png',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
src: 'images/fv-android-icon-192x192.png',
|
src: 'images/riso-android-icon-192x192.png',
|
||||||
sizes: '192x192',
|
sizes: '192x192',
|
||||||
type: 'image/png',
|
type: 'image/png',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
src: 'images/fv-android-icon-144x144.png',
|
src: 'images/riso-android-icon-144x144.png',
|
||||||
sizes: '144x144',
|
sizes: '144x144',
|
||||||
type: 'image/png',
|
type: 'image/png',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
src: 'images/fv-android-icon-96x96.png',
|
src: 'images/riso-android-icon-96x96.png',
|
||||||
sizes: '96x96',
|
sizes: '96x96',
|
||||||
type: 'image/png',
|
type: 'image/png',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
src: 'images/fv-apple-icon-120x120.png',
|
src: 'images/riso-apple-icon-120x120.png',
|
||||||
sizes: '120x120',
|
sizes: '120x120',
|
||||||
type: 'image/png',
|
type: 'image/png',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
src: 'images/fv-apple-icon-144x144.png',
|
src: 'images/riso-apple-icon-144x144.png',
|
||||||
sizes: '144x144',
|
sizes: '144x144',
|
||||||
type: 'image/png',
|
type: 'image/png',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
src: 'images/fv-apple-icon-152x152.png',
|
src: 'images/riso-apple-icon-152x152.png',
|
||||||
sizes: '152x152',
|
sizes: '152x152',
|
||||||
type: 'image/png',
|
type: 'image/png',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
src: 'images/fv-apple-icon-180x180.png',
|
src: 'images/riso-apple-icon-180x180.png',
|
||||||
sizes: '180x180',
|
sizes: '180x180',
|
||||||
type: 'image/png',
|
type: 'image/png',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
related_applications: [{
|
related_applications: [{
|
||||||
"platform": "webapp",
|
"platform": "webapp",
|
||||||
"url": "https://www.piuchebuono.app/manifest.json"
|
"url": "https://www.riso.app/manifest.json"
|
||||||
}]
|
}]
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -399,7 +399,7 @@ module.exports = configure((ctx) => ({
|
|||||||
builder: {
|
builder: {
|
||||||
// https://www.electron.build/configuration/configuration
|
// https://www.electron.build/configuration/configuration
|
||||||
|
|
||||||
appId: 'PiuCheBuono',
|
appId: 'Riso',
|
||||||
},
|
},
|
||||||
|
|
||||||
// "chain" is a webpack-chain object https://github.com/neutrinojs/webpack-chain
|
// "chain" is a webpack-chain object https://github.com/neutrinojs/webpack-chain
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"name": "piuchebuono",
|
"name": "riso",
|
||||||
"version": "2.0.1",
|
"version": "0.6.1",
|
||||||
"description": "PiuCheBuono",
|
"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": "PiuCheBuono",
|
"productName": "Riso",
|
||||||
"author": "Paolo Arena",
|
"author": "Paolo Arena",
|
||||||
"private": true,
|
"private": true,
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
|
|||||||
@@ -147,7 +147,7 @@ module.exports = configure((ctx) => ({
|
|||||||
},
|
},
|
||||||
devServer: {
|
devServer: {
|
||||||
https: false,
|
https: false,
|
||||||
port: 8088,
|
port: 8084,
|
||||||
open: false, // opens browser window automatically
|
open: false, // opens browser window automatically
|
||||||
headers: {
|
headers: {
|
||||||
'Access-Control-Allow-Origin': '*',
|
'Access-Control-Allow-Origin': '*',
|
||||||
@@ -305,9 +305,9 @@ module.exports = configure((ctx) => ({
|
|||||||
},
|
},
|
||||||
|
|
||||||
manifest: {
|
manifest: {
|
||||||
name: 'Più che Buono',
|
name: 'Riso',
|
||||||
short_name: 'PiuCheBuono',
|
short_name: 'Riso',
|
||||||
description: 'PiuCheBuono è un GAS e Bottega',
|
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.',
|
||||||
display: 'standalone',
|
display: 'standalone',
|
||||||
orientation: 'portrait',
|
orientation: 'portrait',
|
||||||
background_color: '#fff',
|
background_color: '#fff',
|
||||||
@@ -317,47 +317,47 @@ module.exports = configure((ctx) => ({
|
|||||||
start_url: "/?homescreen=1",
|
start_url: "/?homescreen=1",
|
||||||
icons: [
|
icons: [
|
||||||
{
|
{
|
||||||
src: 'images/fv-android-icon-512x512.png',
|
src: 'images/riso-android-icon-512x512.png',
|
||||||
sizes: '512x512',
|
sizes: '512x512',
|
||||||
type: 'image/png',
|
type: 'image/png',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
src: 'images/fv-android-icon-384x384.png',
|
src: 'images/riso-android-icon-384x384.png',
|
||||||
sizes: '384x384',
|
sizes: '384x384',
|
||||||
type: 'image/png',
|
type: 'image/png',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
src: 'images/fv-android-icon-192x192.png',
|
src: 'images/riso-android-icon-192x192.png',
|
||||||
sizes: '192x192',
|
sizes: '192x192',
|
||||||
type: 'image/png',
|
type: 'image/png',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
src: 'images/fv-android-icon-144x144.png',
|
src: 'images/riso-android-icon-144x144.png',
|
||||||
sizes: '144x144',
|
sizes: '144x144',
|
||||||
type: 'image/png',
|
type: 'image/png',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
src: 'images/fv-android-icon-96x96.png',
|
src: 'images/riso-android-icon-96x96.png',
|
||||||
sizes: '96x96',
|
sizes: '96x96',
|
||||||
type: 'image/png',
|
type: 'image/png',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
src: 'images/fv-apple-icon-120x120.png',
|
src: 'images/riso-apple-icon-120x120.png',
|
||||||
sizes: '120x120',
|
sizes: '120x120',
|
||||||
type: 'image/png',
|
type: 'image/png',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
src: 'images/fv-apple-icon-144x144.png',
|
src: 'images/riso-apple-icon-144x144.png',
|
||||||
sizes: '144x144',
|
sizes: '144x144',
|
||||||
type: 'image/png',
|
type: 'image/png',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
src: 'images/fv-apple-icon-152x152.png',
|
src: 'images/riso-apple-icon-152x152.png',
|
||||||
sizes: '152x152',
|
sizes: '152x152',
|
||||||
type: 'image/png',
|
type: 'image/png',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
src: 'images/fv-apple-icon-180x180.png',
|
src: 'images/riso-apple-icon-180x180.png',
|
||||||
sizes: '180x180',
|
sizes: '180x180',
|
||||||
type: 'image/png',
|
type: 'image/png',
|
||||||
},
|
},
|
||||||
@@ -399,7 +399,7 @@ module.exports = configure((ctx) => ({
|
|||||||
builder: {
|
builder: {
|
||||||
// https://www.electron.build/configuration/configuration
|
// https://www.electron.build/configuration/configuration
|
||||||
|
|
||||||
appId: 'PiuCheBuono',
|
appId: 'Riso',
|
||||||
},
|
},
|
||||||
|
|
||||||
// "chain" is a webpack-chain object https://github.com/neutrinojs/webpack-chain
|
// "chain" is a webpack-chain object https://github.com/neutrinojs/webpack-chain
|
||||||
|
|||||||
@@ -1827,6 +1827,7 @@ export const shared_consts = {
|
|||||||
comune: 1,
|
comune: 1,
|
||||||
mycities: 1,
|
mycities: 1,
|
||||||
lang: 1,
|
lang: 1,
|
||||||
|
verified_by_aportador: 1,
|
||||||
'profile.img': 1,
|
'profile.img': 1,
|
||||||
'profile.mygroups': 1,
|
'profile.mygroups': 1,
|
||||||
'profile.mycircuits': 1,
|
'profile.mycircuits': 1,
|
||||||
|
|||||||
@@ -34,6 +34,11 @@ export default defineComponent({
|
|||||||
required: false,
|
required: false,
|
||||||
default: false
|
default: false
|
||||||
},
|
},
|
||||||
|
flat: {
|
||||||
|
type: Boolean,
|
||||||
|
required: false,
|
||||||
|
default: false
|
||||||
|
},
|
||||||
numcol: {
|
numcol: {
|
||||||
type: Number,
|
type: Number,
|
||||||
required: false,
|
required: false,
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="q-ma-xs">
|
<div class="q-ma-xs">
|
||||||
<div
|
<div
|
||||||
class="row q-my-sm shadow"
|
class="row q-my-xs shadow"
|
||||||
style="border-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.12)"
|
style="border-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.12)"
|
||||||
>
|
>
|
||||||
<!--<div class="col-md-3 col-lg-3 col-sm-12 col-xs-12 box_4" style="border-left: 1px solid #efefef;"
|
<!--<div class="col-md-3 col-lg-3 col-sm-12 col-xs-12 box_4" style="border-left: 1px solid #efefef;"
|
||||||
@@ -85,13 +85,8 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row" style="margin-top: 4px important; font-size: 0.75rem">
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div
|
<div
|
||||||
class="row q-my-md shadow"
|
class="row shadow"
|
||||||
style="border-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.12)"
|
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
v-for="(rec, index) of visulinks"
|
v-for="(rec, index) of visulinks"
|
||||||
|
|||||||
@@ -1,8 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div v-if="tools.isUserOk()">
|
<div v-if="tools.isUserOk()">
|
||||||
|
|
||||||
|
|
||||||
<div
|
<div
|
||||||
|
v-if="cardsbig.length > 0"
|
||||||
class="row q-ma-sm shadow justify-center"
|
class="row q-ma-sm shadow justify-center"
|
||||||
style="border-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.12)"
|
style="border-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.12)"
|
||||||
>
|
>
|
||||||
@@ -22,6 +21,7 @@
|
|||||||
</CBigBtn>
|
</CBigBtn>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
|
v-if="cardssmall.length > 0"
|
||||||
class="row shadow justify-center"
|
class="row shadow justify-center"
|
||||||
style="border-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.12)"
|
style="border-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.12)"
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -498,6 +498,7 @@ export default defineComponent({
|
|||||||
name: 1,
|
name: 1,
|
||||||
surname: 1,
|
surname: 1,
|
||||||
username: 1,
|
username: 1,
|
||||||
|
verified_by_aportador: 1,
|
||||||
'profile.handshake': 1,
|
'profile.handshake': 1,
|
||||||
'profile.img': 1,
|
'profile.img': 1,
|
||||||
'profile.mygroups': 1,
|
'profile.mygroups': 1,
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<div v-if="mypathin && !!rec">
|
<div v-if="mypathin && !!rec">
|
||||||
<q-toggle
|
<q-toggle
|
||||||
v-if="tools.isManager()"
|
v-if="tools.isManager()"
|
||||||
style=" position:absolute;"
|
|
||||||
v-model="editOn"
|
v-model="editOn"
|
||||||
|
dense
|
||||||
color="green"
|
color="green"
|
||||||
size="sm"
|
size="sm"
|
||||||
@update:model-value="changeVisuDrawer(mypathin, editOn)"
|
@update:model-value="changeVisuDrawer(mypathin, editOn)"
|
||||||
@@ -41,7 +41,7 @@
|
|||||||
</CMyEditElem>
|
</CMyEditElem>
|
||||||
</q-drawer>
|
</q-drawer>
|
||||||
|
|
||||||
<div class="q-ma-xs q-gutter-xs q-pa-xs">
|
<div class="q-gutter-xs" style="margin-left: 1px; margin-right: 1px;">
|
||||||
<div v-if="!!rec.img1" class="text-center">
|
<div v-if="!!rec.img1" class="text-center">
|
||||||
<q-img :src="`` + rec.img1" class="img"></q-img>
|
<q-img :src="`` + rec.img1" class="img"></q-img>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -148,6 +148,13 @@
|
|||||||
color="green"
|
color="green"
|
||||||
>online</q-badge
|
>online</q-badge
|
||||||
>
|
>
|
||||||
|
<q-badge
|
||||||
|
v-if="!tools.isVerifiedByUser(row)"
|
||||||
|
align="bottom"
|
||||||
|
floating
|
||||||
|
color="red"
|
||||||
|
>Da Abilitare</q-badge
|
||||||
|
>
|
||||||
</q-avatar>
|
</q-avatar>
|
||||||
</q-item-section>
|
</q-item-section>
|
||||||
<q-item-section class="">
|
<q-item-section class="">
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ import { CMyFieldDb } from '@/components/CMyFieldDb'
|
|||||||
import { CMyCircuit } from '@/components/CMyCircuit'
|
import { CMyCircuit } from '@/components/CMyCircuit'
|
||||||
import { CMySelect } from '@/components/CMySelect'
|
import { CMySelect } from '@/components/CMySelect'
|
||||||
import { CMyUserOnlyView } from '@/components/CMyUserOnlyView'
|
import { CMyUserOnlyView } from '@/components/CMyUserOnlyView'
|
||||||
|
import { CMyUser } from '@/components/CMyUser'
|
||||||
import { CUserInfoAccount } from '@/components/CUserInfoAccount'
|
import { CUserInfoAccount } from '@/components/CUserInfoAccount'
|
||||||
import { useI18n } from '@/boot/i18n'
|
import { useI18n } from '@/boot/i18n'
|
||||||
import { useRoute, useRouter } from 'vue-router'
|
import { useRoute, useRouter } from 'vue-router'
|
||||||
@@ -31,7 +32,8 @@ export default defineComponent({
|
|||||||
name: 'CMyProfileTutorial',
|
name: 'CMyProfileTutorial',
|
||||||
components: {
|
components: {
|
||||||
CSendCoins, CSaldo, CUserInfoAccount,
|
CSendCoins, CSaldo, CUserInfoAccount,
|
||||||
CMySelectCity, CMyFieldRec, CSkill, CMyUserOnlyView, CTitleBanner, CMySelect, CMyFieldDb, CMyCircuit
|
CMySelectCity, CMyFieldRec, CMyUser,
|
||||||
|
CSkill, CMyUserOnlyView, CTitleBanner, CMySelect, CMyFieldDb, CMyCircuit
|
||||||
},
|
},
|
||||||
emits: ['setCmd'],
|
emits: ['setCmd'],
|
||||||
props: {
|
props: {
|
||||||
@@ -72,6 +74,8 @@ export default defineComponent({
|
|||||||
|
|
||||||
const filtroutente = ref(<any[]>[])
|
const filtroutente = ref(<any[]>[])
|
||||||
|
|
||||||
|
const usersList = ref({ show: false, title: '', list: [] })
|
||||||
|
|
||||||
const stepTut = computed(() => userStore.my.profile.stepTutorial)
|
const stepTut = computed(() => userStore.my.profile.stepTutorial)
|
||||||
const noNameSurname = computed(() => userStore.my.profile.noNameSurname)
|
const noNameSurname = computed(() => userStore.my.profile.noNameSurname)
|
||||||
|
|
||||||
@@ -79,6 +83,10 @@ export default defineComponent({
|
|||||||
return costanti.MAINCARDS.filter((rec: any) => shared_consts.TABLES_INSERT_ALMOST_ONE_TO_ENABLE_CIRCUIT.includes(rec.table))
|
return costanti.MAINCARDS.filter((rec: any) => shared_consts.TABLES_INSERT_ALMOST_ONE_TO_ENABLE_CIRCUIT.includes(rec.table))
|
||||||
})
|
})
|
||||||
|
|
||||||
|
const userstoverify = computed(() => {
|
||||||
|
return userStore.my.profile.userstoverify
|
||||||
|
})
|
||||||
|
|
||||||
const strProv = computed(() => {
|
const strProv = computed(() => {
|
||||||
|
|
||||||
if (contact.value && contact.value.profile.resid_province) {
|
if (contact.value && contact.value.profile.resid_province) {
|
||||||
@@ -542,6 +550,8 @@ export default defineComponent({
|
|||||||
card,
|
card,
|
||||||
askToConfirmSkipItalia,
|
askToConfirmSkipItalia,
|
||||||
circuititalia,
|
circuititalia,
|
||||||
|
usersList,
|
||||||
|
userstoverify,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -206,9 +206,12 @@
|
|||||||
<q-btn
|
<q-btn
|
||||||
:flat="isSalta(recstep.step)"
|
:flat="isSalta(recstep.step)"
|
||||||
:disabled="isNextDisable()"
|
:disabled="isNextDisable()"
|
||||||
@click="(isSalta(recstep.step))
|
@click="
|
||||||
? askToConfirmSkip(recstep.step) :
|
isSalta(recstep.step)
|
||||||
((recstep.indstep === numindstep) ? clickFinish() : $refs.stepper.next())
|
? askToConfirmSkip(recstep.step)
|
||||||
|
: recstep.indstep === numindstep
|
||||||
|
? clickFinish()
|
||||||
|
: $refs.stepper.next()
|
||||||
"
|
"
|
||||||
:color="isSalta(recstep.step) ? 'negative' : 'primary'"
|
:color="isSalta(recstep.step) ? 'negative' : 'primary'"
|
||||||
:label="
|
:label="
|
||||||
@@ -239,6 +242,27 @@
|
|||||||
>
|
>
|
||||||
</q-btn>
|
</q-btn>
|
||||||
|
|
||||||
|
<q-banner
|
||||||
|
inline-actions
|
||||||
|
class="bg-blue text-white"
|
||||||
|
v-if="userstoverify.length > 0"
|
||||||
|
>
|
||||||
|
<span v-html="$t('tutorial.utenti_da_verificare')"></span>
|
||||||
|
<template v-slot:action>
|
||||||
|
<q-btn
|
||||||
|
:label="userstoverify.length + ' ' + $t('tutorial.utenti_da_verif_btn')"
|
||||||
|
class="q-my-sm"
|
||||||
|
rounded
|
||||||
|
icon="fas fa-users"
|
||||||
|
@click="
|
||||||
|
usersList.show = true;
|
||||||
|
usersList.title = $t('tutorial.utenti_da_verif_btn');
|
||||||
|
"
|
||||||
|
>
|
||||||
|
</q-btn>
|
||||||
|
</template>
|
||||||
|
</q-banner>
|
||||||
|
|
||||||
<q-banner
|
<q-banner
|
||||||
inline-actions
|
inline-actions
|
||||||
class="bg-red text-white"
|
class="bg-red text-white"
|
||||||
@@ -258,6 +282,27 @@
|
|||||||
</q-banner>
|
</q-banner>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<q-dialog v-model="usersList.show">
|
||||||
|
<q-card class="dialog_card">
|
||||||
|
<q-toolbar class="bg-primary text-white">
|
||||||
|
<q-toolbar-title>
|
||||||
|
{{ usersList.title }}
|
||||||
|
</q-toolbar-title>
|
||||||
|
<q-btn flat round color="white" icon="close" v-close-popup></q-btn>
|
||||||
|
</q-toolbar>
|
||||||
|
|
||||||
|
<q-card-section class="inset-shadow">
|
||||||
|
<div v-for="(rec, i) in userstoverify" :key="i">
|
||||||
|
<CMyUser
|
||||||
|
:mycontact="rec"
|
||||||
|
:visu="costanti.ASK_TRUST"
|
||||||
|
@setCmd="tools.setCmd"
|
||||||
|
>
|
||||||
|
</CMyUser>
|
||||||
|
</div>
|
||||||
|
</q-card-section>
|
||||||
|
</q-card>
|
||||||
|
</q-dialog>
|
||||||
<q-dialog v-model="showAccountInfo" full-height full-width>
|
<q-dialog v-model="showAccountInfo" full-height full-width>
|
||||||
<q-card v-if="true">
|
<q-card v-if="true">
|
||||||
<q-toolbar class="bg-primary">
|
<q-toolbar class="bg-primary">
|
||||||
|
|||||||
@@ -779,12 +779,14 @@
|
|||||||
v-if="contact.username !== userStore.my.username"
|
v-if="contact.username !== userStore.my.username"
|
||||||
rounded
|
rounded
|
||||||
dense
|
dense
|
||||||
:icon="
|
icon="fas fa-ellipsis-h"
|
||||||
|
:color="!contact.verified_by_aportador ? 'red' : 'white'"
|
||||||
|
>
|
||||||
|
<!-- </q-btn></q-btn>:icon="
|
||||||
userStore.IsMyFriendByUsername(contact.username)
|
userStore.IsMyFriendByUsername(contact.username)
|
||||||
? `fas fa-ellipsis-h`
|
? `fas fa-ellipsis-h`
|
||||||
: `fas fa-user`
|
: `fas fa-user`
|
||||||
"
|
"-->
|
||||||
>
|
|
||||||
<q-menu>
|
<q-menu>
|
||||||
<q-list style="min-width: 200px">
|
<q-list style="min-width: 200px">
|
||||||
<q-item
|
<q-item
|
||||||
|
|||||||
@@ -511,11 +511,7 @@
|
|||||||
<q-btn
|
<q-btn
|
||||||
v-if="contact.username !== userStore.my.username"
|
v-if="contact.username !== userStore.my.username"
|
||||||
rounded
|
rounded
|
||||||
:icon="
|
icon="fas fa-ellipsis-h"
|
||||||
userStore.IsMyFriendByUsername(contact.username)
|
|
||||||
? `fas fa-ellipsis-h`
|
|
||||||
: `fas fa-user`
|
|
||||||
"
|
|
||||||
>
|
>
|
||||||
<q-menu>
|
<q-menu>
|
||||||
<q-list style="min-width: 200px">
|
<q-list style="min-width: 200px">
|
||||||
|
|||||||
@@ -31,13 +31,23 @@ export default defineComponent({
|
|||||||
const circuitStore = useCircuitStore()
|
const circuitStore = useCircuitStore()
|
||||||
const $router = useRouter()
|
const $router = useRouter()
|
||||||
|
|
||||||
|
const shownotif = ref(false)
|
||||||
|
|
||||||
const { getImgByNotif, getNotifText, getTypeDirNotif, getTypeIdNotif } = MixinUsers()
|
const { getImgByNotif, getNotifText, getTypeDirNotif, getTypeIdNotif } = MixinUsers()
|
||||||
|
|
||||||
const lasts_notifs_req = computed(() => notifStore.getnotifs_coinsreq())
|
const lasts_notifs_req = computed(() => notifStore.getnotifs_coinsreq())
|
||||||
const num_notifs = computed(() => lasts_notifs_req.value.length)
|
const num_notifs = computed(() => lasts_notifs_req.value.length)
|
||||||
|
|
||||||
|
watch(() => num_notifs.value, (newval, oldval) => {
|
||||||
|
if (num_notifs.value === 1)
|
||||||
|
shownotif.value = true
|
||||||
|
else if (num_notifs.value === 0)
|
||||||
|
shownotif.value = false
|
||||||
|
})
|
||||||
|
|
||||||
function mounted() {
|
function mounted() {
|
||||||
//
|
//
|
||||||
|
shownotif.value = num_notifs.value === 1
|
||||||
}
|
}
|
||||||
|
|
||||||
function clickNotif(notif: INotif) {
|
function clickNotif(notif: INotif) {
|
||||||
@@ -70,6 +80,7 @@ export default defineComponent({
|
|||||||
num_notifs,
|
num_notifs,
|
||||||
clickNotif,
|
clickNotif,
|
||||||
userStore,
|
userStore,
|
||||||
|
shownotif,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -1,55 +1,102 @@
|
|||||||
<template>
|
<template>
|
||||||
<q-banner
|
<div class="q-ma-sm text-center">
|
||||||
v-if="num_notifs > 0"
|
<q-btn
|
||||||
rounded
|
v-if="num_notifs > 0"
|
||||||
dense
|
:label="t('circuit.ris_in_arrivo') + (num_notifs > 1 ? (' (' + num_notifs + ' ' + t('circuit.transaz') + ')') : '')"
|
||||||
class="bg-primary text-white"
|
@click="shownotif = true"
|
||||||
color="primary q-title"
|
icon="fas fa-coins"
|
||||||
style="text-align: center;">
|
rounded
|
||||||
<template v-slot:avatar>
|
color="primary"
|
||||||
<q-icon name="fas fa-exclamation-triangle" color="yellow" size="xs"/>
|
></q-btn>
|
||||||
</template>
|
</div>
|
||||||
<q-item v-for="(notif, index) in lasts_notifs_req" :key="index">
|
|
||||||
|
|
||||||
<!--<q-item-section avatar>
|
<q-dialog v-model="shownotif" :maximized="$q.screen.lt.sm">
|
||||||
|
<q-card class="dialog_card">
|
||||||
|
<q-bar class="bg-primary text-white">
|
||||||
|
{{ $t('circuit.receive_coins') }}
|
||||||
|
<q-space />
|
||||||
|
<q-btn flat round color="white" icon="close" v-close-popup></q-btn>
|
||||||
|
</q-bar>
|
||||||
|
<q-card-section class="q-px-xs inset-shadow">
|
||||||
|
<q-banner
|
||||||
|
v-if="num_notifs > 0"
|
||||||
|
rounded
|
||||||
|
dense
|
||||||
|
class="bg-light-blue text-black"
|
||||||
|
color="primary q-title"
|
||||||
|
style="text-align: center"
|
||||||
|
>
|
||||||
|
<q-item v-for="(notif, index) in lasts_notifs_req" :key="index">
|
||||||
|
<!--<q-item-section avatar>
|
||||||
<q-avatar>
|
<q-avatar>
|
||||||
<q-item-label lines="1">{{ getTypeDirNotif(notif) }}</q-item-label>
|
<q-item-label lines="1">{{ getTypeDirNotif(notif) }}</q-item-label>
|
||||||
</q-avatar>
|
</q-avatar>
|
||||||
</q-item-section>-->
|
</q-item-section>-->
|
||||||
|
|
||||||
<q-item-section avatar>
|
<q-item-section avatar>
|
||||||
<q-avatar>
|
<q-avatar>
|
||||||
<img :src="notif.myimgsender" :alt="notif.sender">
|
<img :src="notif.myimgsender" :alt="notif.sender" />
|
||||||
</q-avatar>
|
</q-avatar>
|
||||||
</q-item-section>
|
</q-item-section>
|
||||||
|
|
||||||
|
<q-item-section>
|
||||||
<q-item-section>
|
<q-item-label
|
||||||
<q-item-label lines="5" :class="(!notif.read) ? 'unread' : 'read'" @click="clickNotif(notif)">
|
lines="5"
|
||||||
<div v-html="getNotifText($t, notif, false)"></div>
|
:class="!notif.read ? 'unread' : 'read'"
|
||||||
</q-item-label>
|
@click="clickNotif(notif)"
|
||||||
<q-item-label caption lines="18"
|
>
|
||||||
v-if="notif.typedir === shared_consts.TypeNotifs.TYPEDIR_CIRCUITS && notif.status === shared_consts.CircuitsNotif.STATUS_NONE && notif.typeid === shared_consts.TypeNotifs.ID_CIRCUIT_SENDCOINSREQ"
|
<div v-html="getNotifText($t, notif, false)"></div>
|
||||||
>
|
</q-item-label>
|
||||||
<div class="row no-wrap justify-evenly q-pa-sm">
|
<q-item-label
|
||||||
<q-btn
|
caption
|
||||||
size="md"
|
lines="18"
|
||||||
icon="fas fa-coins"
|
v-if="
|
||||||
:disable="notif.disablecoinclick"
|
notif.typedir === shared_consts.TypeNotifs.TYPEDIR_CIRCUITS &&
|
||||||
color="positive" :label="$t('circuit.accept_coins_qty', {qty: notif.extrarec.qty, symbol: notif.extrarec.symbol})"
|
notif.status === shared_consts.CircuitsNotif.STATUS_NONE &&
|
||||||
@click="notif.disablecoinclick = true; tools.acceptCoins(q, notif.sender, notif)"
|
notif.typeid ===
|
||||||
/>
|
shared_consts.TypeNotifs.ID_CIRCUIT_SENDCOINSREQ
|
||||||
<q-btn
|
"
|
||||||
size="md"
|
>
|
||||||
:disable="notif.disablecoinclick"
|
<div class="row no-wrap justify-evenly q-pa-sm">
|
||||||
color="negative" :label="$t('circuit.refuse_coins_qty', {qty: notif.extrarec.qty, symbol: notif.extrarec.symbol})"
|
<q-btn
|
||||||
@click="notif.disablecoinclick = true; tools.refuseCoins(q, notif.sender, notif)"
|
size="md"
|
||||||
/>
|
icon="fas fa-coins"
|
||||||
</div>
|
:disable="notif.disablecoinclick"
|
||||||
</q-item-label>
|
color="positive"
|
||||||
</q-item-section>
|
:label="
|
||||||
</q-item>
|
$t('circuit.accept_coins_qty', {
|
||||||
</q-banner>
|
qty: notif.extrarec.qty,
|
||||||
|
symbol: notif.extrarec.symbol,
|
||||||
|
})
|
||||||
|
"
|
||||||
|
@click="
|
||||||
|
notif.disablecoinclick = true;
|
||||||
|
tools.acceptCoins(q, notif.sender, notif);
|
||||||
|
"
|
||||||
|
/>
|
||||||
|
<q-btn
|
||||||
|
size="md"
|
||||||
|
:disable="notif.disablecoinclick"
|
||||||
|
color="negative"
|
||||||
|
:label="
|
||||||
|
$t('circuit.refuse_coins_qty', {
|
||||||
|
qty: notif.extrarec.qty,
|
||||||
|
symbol: notif.extrarec.symbol,
|
||||||
|
})
|
||||||
|
"
|
||||||
|
@click="
|
||||||
|
notif.disablecoinclick = true;
|
||||||
|
tools.refuseCoins(q, notif.sender, notif);
|
||||||
|
"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</q-item-label>
|
||||||
|
</q-item-section>
|
||||||
|
</q-item>
|
||||||
|
</q-banner>
|
||||||
|
</q-card-section>
|
||||||
|
</q-card>
|
||||||
|
</q-dialog>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts" src="./CNotifAtTop.ts">
|
<script lang="ts" src="./CNotifAtTop.ts">
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ import { ICalcStat, IOperators } from '../../model'
|
|||||||
import { useUserStore } from '../../store/UserStore'
|
import { useUserStore } from '../../store/UserStore'
|
||||||
import { useRouter } from 'vue-router'
|
import { useRouter } from 'vue-router'
|
||||||
import { useGlobalStore } from '../../store/globalStore'
|
import { useGlobalStore } from '../../store/globalStore'
|
||||||
|
import { useCircuitStore } from '../../store/CircuitStore'
|
||||||
import { useI18n } from '../../boot/i18n'
|
import { useI18n } from '../../boot/i18n'
|
||||||
|
|
||||||
import { shared_consts } from '@src/common/shared_vuejs'
|
import { shared_consts } from '@src/common/shared_vuejs'
|
||||||
@@ -23,6 +24,7 @@ export default defineComponent({
|
|||||||
|
|
||||||
const userStore = useUserStore()
|
const userStore = useUserStore()
|
||||||
const globalStore = useGlobalStore()
|
const globalStore = useGlobalStore()
|
||||||
|
const circuitStore = useCircuitStore()
|
||||||
const { t } = useI18n()
|
const { t } = useI18n()
|
||||||
const $q = useQuasar()
|
const $q = useQuasar()
|
||||||
const $router = useRouter()
|
const $router = useRouter()
|
||||||
@@ -34,7 +36,10 @@ export default defineComponent({
|
|||||||
|
|
||||||
const tipoConto = ref(costanti.AccountType.USER)
|
const tipoConto = ref(costanti.AccountType.USER)
|
||||||
const loading = ref(false)
|
const loading = ref(false)
|
||||||
const circuitpath = computed(() => userStore.my.profile.last_circuitpath)
|
const circuitpath = computed(() => {
|
||||||
|
const circ = circuitStore.getCircuitByProvinceAndCard(userStore.my.profile.resid_province, userStore.my.profile.resid_card)
|
||||||
|
return circ && circ.path ? circ.path : ''
|
||||||
|
})
|
||||||
|
|
||||||
const contact = computed(() => userStore.my)
|
const contact = computed(() => userStore.my)
|
||||||
|
|
||||||
|
|||||||
@@ -1,15 +1,9 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="row text-center justify-evenly items-center">
|
<div class="row text-center justify-evenly items-center">
|
||||||
<CUserInfoAccount
|
|
||||||
:user="contact"
|
|
||||||
:circuitpath="circuitpath"
|
|
||||||
:admin="false"
|
|
||||||
:onlysaldo="true"
|
|
||||||
/>
|
|
||||||
<div class="q-mb-sm">
|
<div class="q-mb-sm">
|
||||||
<q-btn
|
<q-btn
|
||||||
icon="fas fa-upload"
|
icon="fas fa-upload"
|
||||||
color="primary"
|
color="positive"
|
||||||
size="md"
|
size="md"
|
||||||
rounded
|
rounded
|
||||||
:label="$t('circuit.sendcoins_toso')"
|
:label="$t('circuit.sendcoins_toso')"
|
||||||
@@ -19,13 +13,21 @@
|
|||||||
|
|
||||||
<q-btn
|
<q-btn
|
||||||
icon="fas fa-download"
|
icon="fas fa-download"
|
||||||
color="primary"
|
color="accent"
|
||||||
size="md"
|
size="md"
|
||||||
rounded
|
rounded
|
||||||
:label="$t('circuit.receive_coins')"
|
:label="$t('circuit.receive_coins')"
|
||||||
@click="tools.receiveRis($q, $t)"
|
@click="tools.receiveRis($q, $t)"
|
||||||
>
|
>
|
||||||
</q-btn>
|
</q-btn>
|
||||||
|
<div class="q-mb-sm"></div>
|
||||||
|
|
||||||
|
<CUserInfoAccount
|
||||||
|
:user="contact"
|
||||||
|
:circuitpath="circuitpath"
|
||||||
|
:admin="false"
|
||||||
|
:onlysaldo="true"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<q-dialog v-model="usersList.show">
|
<q-dialog v-model="usersList.show">
|
||||||
@@ -83,7 +85,6 @@
|
|||||||
<div
|
<div
|
||||||
v-else-if="tipoConto === costanti.AccountType.COLLECTIVE_ACCOUNT"
|
v-else-if="tipoConto === costanti.AccountType.COLLECTIVE_ACCOUNT"
|
||||||
>
|
>
|
||||||
|
|
||||||
<div v-for="(grp, i) in usersList.listgroup" :key="i">
|
<div v-for="(grp, i) in usersList.listgroup" :key="i">
|
||||||
<CMyGroup :mygrp="grp" :visu="costanti.USER_GROUPS" :noaut="true">
|
<CMyGroup :mygrp="grp" :visu="costanti.USER_GROUPS" :noaut="true">
|
||||||
</CMyGroup>
|
</CMyGroup>
|
||||||
|
|||||||
@@ -64,6 +64,8 @@ export default defineComponent({
|
|||||||
|
|
||||||
const table = ref(toolsext.TABMYGROUPS)
|
const table = ref(toolsext.TABMYGROUPS)
|
||||||
|
|
||||||
|
const circuitsnational = ref(<any[]>[])
|
||||||
|
|
||||||
const circuit = ref(<ICircuit | null | undefined>null)
|
const circuit = ref(<ICircuit | null | undefined>null)
|
||||||
|
|
||||||
watch(() => props.user, (newval, oldval) => {
|
watch(() => props.user, (newval, oldval) => {
|
||||||
@@ -83,6 +85,8 @@ export default defineComponent({
|
|||||||
circuit.value = circuitStore.getCircuitByPath(props.circuitpath)
|
circuit.value = circuitStore.getCircuitByPath(props.circuitpath)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
circuitsnational.value = circuitStore.getCircuitsNational()
|
||||||
|
|
||||||
if (props.account) {
|
if (props.account) {
|
||||||
myaccount.value = props.account
|
myaccount.value = props.account
|
||||||
} else {
|
} else {
|
||||||
@@ -138,6 +142,7 @@ export default defineComponent({
|
|||||||
myaccount,
|
myaccount,
|
||||||
save,
|
save,
|
||||||
toolsext,
|
toolsext,
|
||||||
|
circuitsnational,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -6,14 +6,22 @@
|
|||||||
|
|
||||||
<q-separator />
|
<q-separator />
|
||||||
|
|
||||||
|
<q-avatar v-if="userStore.getImgByCircuit(circuit)" size="30px">
|
||||||
|
<q-img
|
||||||
|
:src="userStore.getImgByCircuit(circuit)"
|
||||||
|
:alt="circuit.name"
|
||||||
|
img-class="imgprofile"
|
||||||
|
height="30px"
|
||||||
|
@click="
|
||||||
|
naviga(tools.getPathByTableAndRec(toolsext.TABCIRCUITS, circuit))
|
||||||
|
"
|
||||||
|
/>
|
||||||
|
</q-avatar>
|
||||||
<q-btn
|
<q-btn
|
||||||
text-color="blue"
|
class="shadow-1 q-mb-xs q-mt-xs"
|
||||||
color="white"
|
color="primary"
|
||||||
class="shadow-5 q-mb-xs"
|
|
||||||
dense
|
|
||||||
flat
|
|
||||||
rounded
|
rounded
|
||||||
size="md"
|
size="sm"
|
||||||
@click="naviga(tools.getPathByTableAndRec(toolsext.TABCIRCUITS, circuit))"
|
@click="naviga(tools.getPathByTableAndRec(toolsext.TABCIRCUITS, circuit))"
|
||||||
>
|
>
|
||||||
{{ circuit.name }}
|
{{ circuit.name }}
|
||||||
@@ -29,6 +37,47 @@
|
|||||||
>
|
>
|
||||||
</CSaldo>
|
</CSaldo>
|
||||||
|
|
||||||
|
<div v-if="onlysaldo">
|
||||||
|
<div v-for="(circnaz, ind) of circuitsnational" :key="ind">
|
||||||
|
<q-avatar v-if="userStore.getImgByCircuit(circnaz)" size="30px">
|
||||||
|
<q-img
|
||||||
|
:src="userStore.getImgByCircuit(circnaz)"
|
||||||
|
:alt="circuit.name"
|
||||||
|
img-class="imgprofile"
|
||||||
|
height="30px"
|
||||||
|
@click="
|
||||||
|
naviga(tools.getPathByTableAndRec(toolsext.TABCIRCUITS, circnaz))
|
||||||
|
"
|
||||||
|
/>
|
||||||
|
</q-avatar>
|
||||||
|
<q-btn
|
||||||
|
class="shadow-1 q-mb-xs q-mt-xs"
|
||||||
|
color="primary"
|
||||||
|
rounded
|
||||||
|
size="sm"
|
||||||
|
@click="
|
||||||
|
naviga(tools.getPathByTableAndRec(toolsext.TABCIRCUITS, circnaz))
|
||||||
|
"
|
||||||
|
>
|
||||||
|
{{ circnaz.name }}
|
||||||
|
</q-btn>
|
||||||
|
|
||||||
|
<CSaldo
|
||||||
|
v-if="tools.isUserOk() && circnaz.account"
|
||||||
|
:account="circnaz.account"
|
||||||
|
:symbol="circnaz.symbol"
|
||||||
|
:color="circnaz.color"
|
||||||
|
:saldo="circnaz.account.saldo_pend"
|
||||||
|
:qtarem="
|
||||||
|
myaccount
|
||||||
|
? circuitStore.getRemainingCoinsToSend(circnaz.account)
|
||||||
|
: 0
|
||||||
|
"
|
||||||
|
>
|
||||||
|
</CSaldo>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<q-card-section v-if="!onlysaldo">
|
<q-card-section v-if="!onlysaldo">
|
||||||
<div v-if="myaccount.date_created" class="container">
|
<div v-if="myaccount.date_created" class="container">
|
||||||
<q-icon name="fas fa-lightbulb" class="iconcirc"></q-icon>
|
<q-icon name="fas fa-lightbulb" class="iconcirc"></q-icon>
|
||||||
|
|||||||
@@ -1219,7 +1219,7 @@ h3 {
|
|||||||
font-family: Arial, sans-serif;
|
font-family: Arial, sans-serif;
|
||||||
font-size: 0.7rem;
|
font-size: 0.7rem;
|
||||||
letter-spacing: 0.15px;
|
letter-spacing: 0.15px;
|
||||||
min-height: 40px;
|
min-height: 27px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
const msg_website_it = {
|
const msg_website_it = {
|
||||||
ws: {
|
ws: {
|
||||||
sitename: 'Più che Buono',
|
sitename: 'Riso',
|
||||||
siteshortname: 'Più che Buono',
|
siteshortname: 'RISO',
|
||||||
description: '',
|
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.',
|
||||||
keywords: '',
|
keywords: 'riso, piattaforma di scambio, rete italiana scambio orizzontale, riso app, riso piattaforma, scambio e baratto, momenta RIS',
|
||||||
},
|
},
|
||||||
hours: {
|
hours: {
|
||||||
descr: 'Descrizione',
|
descr: 'Descrizione',
|
||||||
@@ -32,7 +32,6 @@ const msg_website_it = {
|
|||||||
products: 'Prodotti',
|
products: 'Prodotti',
|
||||||
productslist: 'Lista Prodotti',
|
productslist: 'Lista Prodotti',
|
||||||
collabora: 'Collabora',
|
collabora: 'Collabora',
|
||||||
categories: 'Categorie',
|
|
||||||
storehouses: 'Magazzino',
|
storehouses: 'Magazzino',
|
||||||
departments: 'Uffici',
|
departments: 'Uffici',
|
||||||
orders: 'Ordini Ricevuti',
|
orders: 'Ordini Ricevuti',
|
||||||
@@ -124,7 +123,7 @@ const msg_website_it = {
|
|||||||
color: 'Colore',
|
color: 'Colore',
|
||||||
},
|
},
|
||||||
msg: {
|
msg: {
|
||||||
myAppName: 'Più che Buono',
|
myAppName: 'Riso',
|
||||||
myAppDescription: 'Il primo Vero Social Libero, Equo e Solidale, dove Vive Consapevolezza e Aiuto Comunitario. Gratuito',
|
myAppDescription: 'Il primo Vero Social Libero, Equo e Solidale, dove Vive Consapevolezza e Aiuto Comunitario. Gratuito',
|
||||||
underconstruction: 'App in costruzione...',
|
underconstruction: 'App in costruzione...',
|
||||||
myDescriz: '',
|
myDescriz: '',
|
||||||
|
|||||||
@@ -7,6 +7,30 @@ import {
|
|||||||
import { func } from '@store/Modules/fieldsTable'
|
import { func } from '@store/Modules/fieldsTable'
|
||||||
|
|
||||||
|
|
||||||
|
// const SHOW_PROJINTHEMENU = false
|
||||||
|
//
|
||||||
|
// let arrlistafavourite = []
|
||||||
|
// let arrlistaprojtutti = []
|
||||||
|
// let arrlistaprojmiei = []
|
||||||
|
// if (SHOW_PROJINTHEMENU) {
|
||||||
|
// arrlistaprojtutti = Projects.getters.listaprojects(RouteNames.projectsall)
|
||||||
|
// arrlistaprojmiei = Projects.getters.listaprojects(RouteNames.myprojects)
|
||||||
|
// arrlistafavourite = Projects.getters.listaprojects(RouteNames.favouriteprojects)
|
||||||
|
// }
|
||||||
|
// PROGETTI -> FAVORITI :
|
||||||
|
|
||||||
|
// if (arrlistafavourite.length > 0) {
|
||||||
|
// arrMenu.push({
|
||||||
|
// icon: 'favorite_border',
|
||||||
|
// nametranslate: 'pages.' + RouteNames.favouriteprojects,
|
||||||
|
// urlroute: RouteNames.favouriteprojects,
|
||||||
|
// level_parent: 0.0,
|
||||||
|
// level_child: 0.5,
|
||||||
|
// routes2: arrlistafavourite,
|
||||||
|
// idelem: ''
|
||||||
|
// })
|
||||||
|
// }
|
||||||
|
|
||||||
const firstPage = {
|
const firstPage = {
|
||||||
active: true,
|
active: true,
|
||||||
order: 5,
|
order: 5,
|
||||||
@@ -22,7 +46,7 @@ const firstPage = {
|
|||||||
function getDynamicPages(site: ISites): IListRoutes[] {
|
function getDynamicPages(site: ISites): IListRoutes[] {
|
||||||
|
|
||||||
const baseroutes: IListRoutes[] = [
|
const baseroutes: IListRoutes[] = [
|
||||||
/*{
|
{
|
||||||
active: true,
|
active: true,
|
||||||
order: 5,
|
order: 5,
|
||||||
path: '/',
|
path: '/',
|
||||||
@@ -33,6 +57,61 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
|||||||
inmenu: true,
|
inmenu: true,
|
||||||
infooter: true,
|
infooter: true,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
active: true,
|
||||||
|
order: 12,
|
||||||
|
path: '/goods',
|
||||||
|
materialIcon: 'fas fa-tshirt',
|
||||||
|
name: 'mypages.goods',
|
||||||
|
component: () => import('@/root/goods/goods.vue'),
|
||||||
|
meta: { requiresAuth: true },
|
||||||
|
inmenu: true,
|
||||||
|
infooter: true,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
active: true,
|
||||||
|
order: 15,
|
||||||
|
path: '/services',
|
||||||
|
materialIcon: 'fas fa-house-user',
|
||||||
|
name: 'mypages.services',
|
||||||
|
component: () => import('@/root/services/services.vue'),
|
||||||
|
meta: { requiresAuth: true },
|
||||||
|
inmenu: true,
|
||||||
|
infooter: true,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
active: true,
|
||||||
|
order: 15,
|
||||||
|
path: '/provapao',
|
||||||
|
materialIcon: 'fas fa-house-user',
|
||||||
|
name: 'mypages.provapao',
|
||||||
|
component: () => import('@/root/provapao/provapao.vue'),
|
||||||
|
meta: { requiresAuth: true },
|
||||||
|
inmenu: false,
|
||||||
|
infooter: false,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
active: true,
|
||||||
|
order: 15,
|
||||||
|
path: '/hosps',
|
||||||
|
materialIcon: 'fas fa-bed',
|
||||||
|
name: 'mypages.hosp',
|
||||||
|
component: () => import('@/root/hosp/hosp.vue'),
|
||||||
|
meta: { requiresAuth: true },
|
||||||
|
inmenu: true,
|
||||||
|
infooter: true,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
active: site.confpages && site.confpages.enableCircuits,
|
||||||
|
order: 16,
|
||||||
|
path: '/circuits',
|
||||||
|
materialIcon: 'fas fa-coins',
|
||||||
|
name: 'mypages.circuits',
|
||||||
|
component: () => import('@/views/user/mycircuits/mycircuits.vue'),
|
||||||
|
meta: { requiresAuth: true },
|
||||||
|
inmenu: true,
|
||||||
|
infooter: true,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
active: true,
|
active: true,
|
||||||
order: 20,
|
order: 20,
|
||||||
@@ -43,7 +122,145 @@ function getDynamicPages(site: ISites): IListRoutes[] {
|
|||||||
meta: { requiresAuth: true },
|
meta: { requiresAuth: true },
|
||||||
inmenu: true,
|
inmenu: true,
|
||||||
infooter: true,
|
infooter: true,
|
||||||
},*/
|
},
|
||||||
|
{
|
||||||
|
active: true,
|
||||||
|
order: 120,
|
||||||
|
path: '/myprofile',
|
||||||
|
materialIcon: 'fas fa-user',
|
||||||
|
name: 'pages.profile',
|
||||||
|
component: () => import('@/views/user/myprofile/myprofile.vue'),
|
||||||
|
meta: { requiresAuth: true },
|
||||||
|
inmenu: true,
|
||||||
|
infooter: true,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
active: true,
|
||||||
|
order: 120,
|
||||||
|
path: '/editprofile',
|
||||||
|
materialIcon: 'fas fa-user',
|
||||||
|
name: 'pages.profile3',
|
||||||
|
component: () => import('@/views/user/editprofile/editprofile.vue'),
|
||||||
|
meta: { requiresAuth: true },
|
||||||
|
inmenu: false,
|
||||||
|
infooter: false,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
active: true,
|
||||||
|
order: 130,
|
||||||
|
path: '/friends',
|
||||||
|
materialIcon: 'fas fa-user-friends',
|
||||||
|
name: 'mypages.iscritti',
|
||||||
|
component: () => import('@/views/user/myfriends/myfriends.vue'),
|
||||||
|
meta: { requiresAuth: true },
|
||||||
|
inmenu: true,
|
||||||
|
infooter: true,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
active: site.confpages && site.confpages.enableGroups,
|
||||||
|
order: 132,
|
||||||
|
path: '/groups',
|
||||||
|
materialIcon: 'fas fa-users',
|
||||||
|
name: 'mypages.groups',
|
||||||
|
component: () => import('@/views/user/mygroups/mygroups.vue'),
|
||||||
|
meta: { requiresAuth: true },
|
||||||
|
inmenu: true,
|
||||||
|
infooter: false,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
active: true,
|
||||||
|
order: 136,
|
||||||
|
path: '/grp/:groupname',
|
||||||
|
materialIcon: 'fas fa-user',
|
||||||
|
name: 'proj.group2',
|
||||||
|
component: () => import('@/views/user/mygroup/mygroup.vue'),
|
||||||
|
meta: { requiresAuth: true, newpage: true },
|
||||||
|
inmenu: false,
|
||||||
|
infooter: false,
|
||||||
|
}, {
|
||||||
|
active: true,
|
||||||
|
order: 137,
|
||||||
|
path: '/circuit/:path',
|
||||||
|
materialIcon: 'fas fa-user',
|
||||||
|
name: 'proj.circuit2',
|
||||||
|
component: () => import('@/views/user/mycircuit/mycircuit.vue'),
|
||||||
|
meta: { requiresAuth: true, newpage: true },
|
||||||
|
inmenu: false,
|
||||||
|
infooter: false,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
active: true,
|
||||||
|
path: '/separator',
|
||||||
|
name: 'separator',
|
||||||
|
order: 140,
|
||||||
|
isseparator: true,
|
||||||
|
inmenu: true,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
active: true,
|
||||||
|
order: 130,
|
||||||
|
path: '/mypage/:idBacheca',
|
||||||
|
materialIcon: 'fas fa-user',
|
||||||
|
name: 'pages.mypage2',
|
||||||
|
component: () => import('@/views/user/mypagebacheca/mypagebacheca.vue'),
|
||||||
|
meta: { requiresAuth: true, newpage: true },
|
||||||
|
inmenu: false,
|
||||||
|
infooter: false,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
active: true,
|
||||||
|
order: 130,
|
||||||
|
path: '/myservice/:idSkill',
|
||||||
|
materialIcon: '',
|
||||||
|
name: 'pages.myservice2',
|
||||||
|
component: () => import('@/views/user/myservice/myservice.vue'),
|
||||||
|
meta: { requiresAuth: true, newpage: true },
|
||||||
|
inmenu: false,
|
||||||
|
infooter: false,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
active: true,
|
||||||
|
order: 135,
|
||||||
|
path: '/myhosps/:idHosp',
|
||||||
|
materialIcon: '',
|
||||||
|
name: 'pages.myhosps2',
|
||||||
|
component: () => import('@/views/user/mypagehosp/mypagehosp.vue'),
|
||||||
|
meta: { requiresAuth: true, newpage: true },
|
||||||
|
inmenu: false,
|
||||||
|
infooter: false,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
active: true,
|
||||||
|
order: 132,
|
||||||
|
path: '/mygood/:idGood',
|
||||||
|
materialIcon: '',
|
||||||
|
name: 'pages.mygood2',
|
||||||
|
component: () => import('@/views/user/mypagegood/mypagegood.vue'),
|
||||||
|
meta: { requiresAuth: true, newpage: true },
|
||||||
|
inmenu: false,
|
||||||
|
infooter: false,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
active: true,
|
||||||
|
order: 150,
|
||||||
|
path: '/fundraising',
|
||||||
|
materialIcon: 'fas fa-hand-holding-heart',
|
||||||
|
name: 'pages.fundraising',
|
||||||
|
component: () => import('@src/root/fundraising/fundraising.vue'),
|
||||||
|
inmenu: false,
|
||||||
|
infooter: false,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
active: true,
|
||||||
|
order: 80,
|
||||||
|
path: '/calendario-eventi',
|
||||||
|
materialIcon: 'event',
|
||||||
|
name: 'ris.calendario_eventi_riso',
|
||||||
|
component: () => import('@/root/calendarioeventi/calendarioeventi.vue'),
|
||||||
|
extraclass: 'isCalendar',
|
||||||
|
inmenu: false,
|
||||||
|
infooter: false
|
||||||
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
return baseroutes
|
return baseroutes
|
||||||
|
|||||||
@@ -173,7 +173,7 @@ export default function () {
|
|||||||
if (notif.typeid === shared_consts.TypeNotifs.ID_CIRCUIT_SENDCOINSREQ) {
|
if (notif.typeid === shared_consts.TypeNotifs.ID_CIRCUIT_SENDCOINSREQ) {
|
||||||
// console.log('notif.extrarec', notif.extrarec)
|
// console.log('notif.extrarec', notif.extrarec)
|
||||||
if (notif.extrarec && notif.extrarec.hasOwnProperty('causal') && notif.extrarec.causal) {
|
if (notif.extrarec && notif.extrarec.hasOwnProperty('causal') && notif.extrarec.causal) {
|
||||||
descr += '( ' + $t('movement.causal') + ': ' + notif.extrarec.causal + ')'
|
descr += '<br>' + $t('movement.causal') + ': ' + notif.extrarec.causal
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if (notif.typedir === shared_consts.TypeNotifs.TYPEDIR_HANDSHAKE) {
|
} else if (notif.typedir === shared_consts.TypeNotifs.TYPEDIR_HANDSHAKE) {
|
||||||
@@ -188,7 +188,7 @@ export default function () {
|
|||||||
if (notif.typeid === shared_consts.TypeNotifs.ID_CIRCUIT_SENDCOINSREQ) {
|
if (notif.typeid === shared_consts.TypeNotifs.ID_CIRCUIT_SENDCOINSREQ) {
|
||||||
// console.log('notif.extrarec', notif.extrarec)
|
// console.log('notif.extrarec', notif.extrarec)
|
||||||
if (notif.extrarec && notif.extrarec.hasOwnProperty('causal') && notif.extrarec.causal) {
|
if (notif.extrarec && notif.extrarec.hasOwnProperty('causal') && notif.extrarec.causal) {
|
||||||
descr += '( ' + $t('movement.causal') + ': ' + notif.extrarec.causal + ')'
|
descr += '<br>' + $t('movement.causal') + ': ' + notif.extrarec.causal
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if (notif.typedir === shared_consts.TypeNotifs.TYPEDIR_GROUPS) {
|
} else if (notif.typedir === shared_consts.TypeNotifs.TYPEDIR_GROUPS) {
|
||||||
|
|||||||
@@ -142,6 +142,7 @@ export interface IUserProfile {
|
|||||||
mycircuits: IMyCircuit[]
|
mycircuits: IMyCircuit[]
|
||||||
last_circuitpath: string
|
last_circuitpath: string
|
||||||
lastdate_reqRis?: Date
|
lastdate_reqRis?: Date
|
||||||
|
userstoverify: IFriends[]
|
||||||
manage_mygroups: IMyGroup[]
|
manage_mygroups: IMyGroup[]
|
||||||
notifs: IUserNotifType[]
|
notifs: IUserNotifType[]
|
||||||
notif_idCities: number[]
|
notif_idCities: number[]
|
||||||
|
|||||||
@@ -1128,13 +1128,13 @@ const msg_it = {
|
|||||||
follow_circuits: 'Circuiti di cui fai parte',
|
follow_circuits: 'Circuiti di cui fai parte',
|
||||||
},
|
},
|
||||||
friends: {
|
friends: {
|
||||||
accept_trust: 'Accetta Fiducia',
|
accept_trust: 'Accetta',
|
||||||
accepted: 'Amicizia Accettata',
|
accepted: 'Amicizia Accettata',
|
||||||
refused: 'Amicizia Rifiutata',
|
refused: 'Amicizia Rifiutata',
|
||||||
accept: 'Accetta',
|
accept: 'Accetta',
|
||||||
refuse: 'Rifiuta',
|
refuse: 'Rifiuta',
|
||||||
accept_friend: 'Accetta Amicizia',
|
accept_friend: 'Accetta Amicizia',
|
||||||
refuse_trust: 'Rifiuta Fiducia',
|
refuse_trust: 'Rifiuta',
|
||||||
reject_trust: 'Revoca Fiducia',
|
reject_trust: 'Revoca Fiducia',
|
||||||
remove_from_myfriends: 'Rimuovi dagli Amici',
|
remove_from_myfriends: 'Rimuovi dagli Amici',
|
||||||
block_user: 'Blocca Utente',
|
block_user: 'Blocca Utente',
|
||||||
@@ -1336,7 +1336,7 @@ const msg_it = {
|
|||||||
domanda_refuse_circuit: 'Rifiutare la richiesta di {username} per entrare nel {circuitname}?',
|
domanda_refuse_circuit: 'Rifiutare la richiesta di {username} per entrare nel {circuitname}?',
|
||||||
refusedcircuit: 'Rifiutato a {username} la richiesta di entrare nel Circuito',
|
refusedcircuit: 'Rifiutato a {username} la richiesta di entrare nel Circuito',
|
||||||
sendcoins: 'Invia RIS',
|
sendcoins: 'Invia RIS',
|
||||||
sendcoins_toso: 'Invia RIS a',
|
sendcoins_toso: 'Invia RIS',
|
||||||
receive_coins: 'Ricevi RIS',
|
receive_coins: 'Ricevi RIS',
|
||||||
info_contocom: 'Il Conto Comunitario viene gestito collettivamente dai membri del Circuito Territoriale ed utilizzato per progetti comuni, per investimenti di solidarietà o per fare fronte ad eventuali situazioni di difficoltà.',
|
info_contocom: 'Il Conto Comunitario viene gestito collettivamente dai membri del Circuito Territoriale ed utilizzato per progetti comuni, per investimenti di solidarietà o per fare fronte ad eventuali situazioni di difficoltà.',
|
||||||
sendcoins_tocom: 'Invia RIS a Conto Comunitario',
|
sendcoins_tocom: 'Invia RIS a Conto Comunitario',
|
||||||
@@ -1352,6 +1352,8 @@ const msg_it = {
|
|||||||
refuse_coins_qty: 'Rifiuta',
|
refuse_coins_qty: 'Rifiuta',
|
||||||
refuse_coins: 'Rifiuta RIS',
|
refuse_coins: 'Rifiuta RIS',
|
||||||
movements: 'Movimenti',
|
movements: 'Movimenti',
|
||||||
|
ris_in_arrivo: '👉🏻 Ci sono RIS in Arrivo !',
|
||||||
|
transaz: 'mov',
|
||||||
movements_made: 'Movimenti effettuati',
|
movements_made: 'Movimenti effettuati',
|
||||||
contocomunitario: 'Conto Comunitario',
|
contocomunitario: 'Conto Comunitario',
|
||||||
comunitario: 'Comunitario',
|
comunitario: 'Comunitario',
|
||||||
@@ -1419,7 +1421,8 @@ const msg_it = {
|
|||||||
toCCom: 'Al Conto Comunitario:',
|
toCCom: 'Al Conto Comunitario:',
|
||||||
pendingtransaction: '* Transazioni Pendenti',
|
pendingtransaction: '* Transazioni Pendenti',
|
||||||
viewpendingtransaction: 'Vedi Transazioni Pendenti',
|
viewpendingtransaction: 'Vedi Transazioni Pendenti',
|
||||||
onlymymov: 'Mostra solo i miei movimenti',
|
onlymymov: 'Vedi i tuoi movimenti',
|
||||||
|
allmov: 'Vedi i movimenti di Tutto il Circuito',
|
||||||
showsaldi: 'Mostra i Saldi dei membri',
|
showsaldi: 'Mostra i Saldi dei membri',
|
||||||
updatewallet: 'Aggiorna',
|
updatewallet: 'Aggiorna',
|
||||||
},
|
},
|
||||||
@@ -1523,7 +1526,7 @@ const msg_it = {
|
|||||||
autorizzare: 'In attesa di Abilitazione',
|
autorizzare: 'In attesa di Abilitazione',
|
||||||
passeggeri: 'Passeggeri Navi',
|
passeggeri: 'Passeggeri Navi',
|
||||||
giainlista: 'Gia in Lista',
|
giainlista: 'Gia in Lista',
|
||||||
newreg: 'Registrati',
|
newreg: 'Iscritti',
|
||||||
onlineusers: 'OnLine',
|
onlineusers: 'OnLine',
|
||||||
diffusori: 'Diffusori',
|
diffusori: 'Diffusori',
|
||||||
strettelist: 'Strette',
|
strettelist: 'Strette',
|
||||||
@@ -1564,6 +1567,8 @@ const msg_it = {
|
|||||||
step_altri_in_profilo: 'Per vedere e modificare tutte le altre informazioni di Profilo:',
|
step_altri_in_profilo: 'Per vedere e modificare tutte le altre informazioni di Profilo:',
|
||||||
step_fine_title: 'Fine',
|
step_fine_title: 'Fine',
|
||||||
step_fine: 'Hai completato l\'aggiornamento del tuo Profilo. Ricorda che potrai modificarlo, cliccando sulla prima icona in alto a destra 🙎🏻♂️ .',
|
step_fine: 'Hai completato l\'aggiornamento del tuo Profilo. Ricorda che potrai modificarlo, cliccando sulla prima icona in alto a destra 🙎🏻♂️ .',
|
||||||
|
utenti_da_verificare: 'E\' richiesta la tua autorizzazione per far entrare i tuoi Amici alla App RISO',
|
||||||
|
utenti_da_verif_btn: 'Utenti',
|
||||||
},
|
},
|
||||||
|
|
||||||
cmd: {
|
cmd: {
|
||||||
|
|||||||
@@ -89,6 +89,17 @@ export const useCircuitStore = defineStore('CircuitStore', {
|
|||||||
return this.listcircuits.findIndex((rec: ICircuit) => rec.name === circuitname && rec.showAlways) >= 0
|
return this.listcircuits.findIndex((rec: ICircuit) => rec.name === circuitname && rec.showAlways) >= 0
|
||||||
},
|
},
|
||||||
|
|
||||||
|
getCircuitsNational(): any[] {
|
||||||
|
const userStore = useUserStore()
|
||||||
|
let arrcircnaz = this.listcircuits.filter((rec: ICircuit) => rec.showAlways)
|
||||||
|
|
||||||
|
for (const circ of arrcircnaz) {
|
||||||
|
circ.account = userStore.my.profile.useraccounts.find((rec: IAccount) => rec.circuitId === circ._id)
|
||||||
|
}
|
||||||
|
|
||||||
|
return arrcircnaz
|
||||||
|
},
|
||||||
|
|
||||||
IsNationalAndNotEnterInLocal(circuitname: string): boolean {
|
IsNationalAndNotEnterInLocal(circuitname: string): boolean {
|
||||||
const userStore = useUserStore()
|
const userStore = useUserStore()
|
||||||
|
|
||||||
@@ -99,12 +110,14 @@ export const useCircuitStore = defineStore('CircuitStore', {
|
|||||||
SonoDentroAdAlmeno1CircuitoConFido() {
|
SonoDentroAdAlmeno1CircuitoConFido() {
|
||||||
const userStore = useUserStore()
|
const userStore = useUserStore()
|
||||||
|
|
||||||
const accountsConFido = userStore.my.profile.useraccounts.filter((rec: IAccount) => rec.fidoConcesso > 0)
|
if (userStore.my.profile.useraccounts) {
|
||||||
|
const accountsConFido = userStore.my.profile.useraccounts.filter((rec: IAccount) => rec.fidoConcesso > 0)
|
||||||
|
|
||||||
for (const account of accountsConFido) {
|
for (const account of accountsConFido) {
|
||||||
const mycircuit = this.listcircuits.find((circ: ICircuit) => circ._id === account.circuitId)
|
const mycircuit = this.listcircuits.find((circ: ICircuit) => circ._id === account.circuitId)
|
||||||
if (mycircuit && !mycircuit.showAlways) {
|
if (mycircuit && !mycircuit.showAlways) {
|
||||||
return mycircuit
|
return mycircuit
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -103,7 +103,7 @@ export const costanti = {
|
|||||||
{
|
{
|
||||||
visible: true,
|
visible: true,
|
||||||
title: ' Beni ',
|
title: ' Beni ',
|
||||||
subtitle: 'Autoproduzioni, artigianato, cibo, abbigliamento, attrezzature, arredamento',
|
subtitle: 'Autoproduzioni, artigianato, cibo, abbigliamento',
|
||||||
strsingolo: 'Bene',
|
strsingolo: 'Bene',
|
||||||
to: '/goods',
|
to: '/goods',
|
||||||
icon: 'fas fa-tshirt',
|
icon: 'fas fa-tshirt',
|
||||||
@@ -118,7 +118,7 @@ export const costanti = {
|
|||||||
visible: true,
|
visible: true,
|
||||||
strsingolo: 'Servizio',
|
strsingolo: 'Servizio',
|
||||||
title: 'Servizi',
|
title: 'Servizi',
|
||||||
subtitle: 'Competenze, formazione, aiuti, benessere, salute, casa, riparazioni',
|
subtitle: 'Competenze, formazione, aiuti, benessere, casa',
|
||||||
to: '/services',
|
to: '/services',
|
||||||
icon: 'fas fa-house-user',
|
icon: 'fas fa-house-user',
|
||||||
color: 'red-6',
|
color: 'red-6',
|
||||||
@@ -131,7 +131,7 @@ export const costanti = {
|
|||||||
{
|
{
|
||||||
visible: true,
|
visible: true,
|
||||||
title: 'Ospitalità',
|
title: 'Ospitalità',
|
||||||
subtitle: 'Conosci persone nuove, ospita viaggiatori o esplora tu nuovi paesi',
|
subtitle: 'Ospitare per brevi periodi, esplora altre città',
|
||||||
strsingolo: 'Ospitalità',
|
strsingolo: 'Ospitalità',
|
||||||
to: '/hosps',
|
to: '/hosps',
|
||||||
icon: 'fas fa-bed',
|
icon: 'fas fa-bed',
|
||||||
@@ -160,7 +160,7 @@ export const costanti = {
|
|||||||
visible: false,
|
visible: false,
|
||||||
title: 'Circuiti RIS',
|
title: 'Circuiti RIS',
|
||||||
strsingolo: 'Circuito',
|
strsingolo: 'Circuito',
|
||||||
subtitle: 'Unisciti al circuito della tua provincia per utilizzare <strong>i RIS come strumento di scambio</strong>',
|
subtitle: 'Strumento di scambio alternativa alle monete',
|
||||||
to: '/circuits',
|
to: '/circuits',
|
||||||
table: 'circuits',
|
table: 'circuits',
|
||||||
icon: 'fas fa-coins',
|
icon: 'fas fa-coins',
|
||||||
@@ -175,7 +175,7 @@ export const costanti = {
|
|||||||
visible: false,
|
visible: false,
|
||||||
title: 'Gruppi',
|
title: 'Gruppi',
|
||||||
strsingolo: 'Gruppo',
|
strsingolo: 'Gruppo',
|
||||||
subtitle: 'Conosci gruppi locali, associazioni, progetti, comunità',
|
subtitle: 'Associazioni, progetti, comunità, negozi',
|
||||||
to: '/groups',
|
to: '/groups',
|
||||||
table: 'mygroups',
|
table: 'mygroups',
|
||||||
icon: 'fas fa-users',
|
icon: 'fas fa-users',
|
||||||
@@ -189,7 +189,7 @@ export const costanti = {
|
|||||||
visible: true,
|
visible: true,
|
||||||
title: 'Eventi',
|
title: 'Eventi',
|
||||||
strsingolo: 'Evento',
|
strsingolo: 'Evento',
|
||||||
subtitle: 'Mercatini, incontri, conferenze, corsi formativi, feste e divertimento',
|
subtitle: 'Mercatini, incontri, conferenze, corsi',
|
||||||
to: '/events',
|
to: '/events',
|
||||||
icon: 'event',
|
icon: 'event',
|
||||||
color: 'green-6',
|
color: 'green-6',
|
||||||
|
|||||||
@@ -3719,6 +3719,14 @@ export const tools = {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
isVerifiedByUser(user: IUserFields) {
|
||||||
|
try {
|
||||||
|
return user.verified_by_aportador
|
||||||
|
} catch (e) {
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
addMinutes(mydate: Date, minutes: number) {
|
addMinutes(mydate: Date, minutes: number) {
|
||||||
return date.addToDate(mydate, { minutes })
|
return date.addToDate(mydate, { minutes })
|
||||||
},
|
},
|
||||||
@@ -5560,6 +5568,27 @@ export const tools = {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
|
addToMyTrust($q: any, username: string, usernameDest: string) {
|
||||||
|
|
||||||
|
const userStore = useUserStore()
|
||||||
|
const notifStore = useNotifStore()
|
||||||
|
$q.dialog({
|
||||||
|
message: t('db.domanda_trusted', { username: usernameDest }),
|
||||||
|
ok: { label: t('dialog.yes'), push: true },
|
||||||
|
cancel: { label: t('dialog.cancel') },
|
||||||
|
title: t('db.domanda')
|
||||||
|
}).onOk(() => {
|
||||||
|
|
||||||
|
userStore.setFriendsCmd($q, t, username, usernameDest, shared_consts.FRIENDSCMD.SETTRUST, null)
|
||||||
|
.then((res: any) => {
|
||||||
|
if (res) {
|
||||||
|
userStore.my.profile.userstoverify = userStore.my.profile.userstoverify.filter((rec: any) => rec.username !== usernameDest)
|
||||||
|
tools.showPositiveNotif($q, t('db.trusted'))
|
||||||
|
}
|
||||||
|
})
|
||||||
|
})
|
||||||
|
},
|
||||||
|
|
||||||
removeFromMyFriends($q: any, username: string, usernameDest: string) {
|
removeFromMyFriends($q: any, username: string, usernameDest: string) {
|
||||||
const userStore = useUserStore()
|
const userStore = useUserStore()
|
||||||
|
|
||||||
@@ -6437,7 +6466,7 @@ export const tools = {
|
|||||||
if (res.useraccounts && res.useraccounts.length > 0) {
|
if (res.useraccounts && res.useraccounts.length > 0) {
|
||||||
userStore.my.profile.useraccounts = res.useraccounts
|
userStore.my.profile.useraccounts = res.useraccounts
|
||||||
}
|
}
|
||||||
$router.push('/circuit')
|
$router.push('/circuits')
|
||||||
tools.showPositiveNotif($q, t('circuit.coins_sendrequest_sent'))
|
tools.showPositiveNotif($q, t('circuit.coins_sendrequest_sent'))
|
||||||
} else {
|
} else {
|
||||||
tools.showNegativeNotif($q, res.errormsg)
|
tools.showNegativeNotif($q, res.errormsg)
|
||||||
@@ -6854,6 +6883,8 @@ export const tools = {
|
|||||||
tools.blockUser($q, username, dest)
|
tools.blockUser($q, username, dest)
|
||||||
} else if (cmd === shared_consts.FRIENDSCMD.SETFRIEND) {
|
} else if (cmd === shared_consts.FRIENDSCMD.SETFRIEND) {
|
||||||
tools.addToMyFriends($q, username, dest)
|
tools.addToMyFriends($q, username, dest)
|
||||||
|
} else if (cmd === shared_consts.FRIENDSCMD.SETTRUST) {
|
||||||
|
tools.addToMyTrust($q, username, dest)
|
||||||
} else if (cmd === shared_consts.FRIENDSCMD.REQFRIEND) {
|
} else if (cmd === shared_consts.FRIENDSCMD.REQFRIEND) {
|
||||||
tools.setRequestFriendship($q, username, dest, value)
|
tools.setRequestFriendship($q, username, dest, value)
|
||||||
} else if (cmd === shared_consts.FRIENDSCMD.REMOVE_FROM_MYFRIENDS) {
|
} else if (cmd === shared_consts.FRIENDSCMD.REMOVE_FROM_MYFRIENDS) {
|
||||||
|
|||||||
@@ -81,6 +81,7 @@ export const DefaultUser: IUserFields = {
|
|||||||
last_circuitpath: '',
|
last_circuitpath: '',
|
||||||
lastdate_reqRis: tools.getLastDateReadReset(),
|
lastdate_reqRis: tools.getLastDateReadReset(),
|
||||||
manage_mygroups: [],
|
manage_mygroups: [],
|
||||||
|
userstoverify: [],
|
||||||
asked_friends: [],
|
asked_friends: [],
|
||||||
asked_groups: [],
|
asked_groups: [],
|
||||||
refused_groups: [],
|
refused_groups: [],
|
||||||
@@ -155,6 +156,7 @@ export const DefaultProfile: IUserProfile = {
|
|||||||
mycircuits: [],
|
mycircuits: [],
|
||||||
last_circuitpath: '',
|
last_circuitpath: '',
|
||||||
manage_mygroups: [],
|
manage_mygroups: [],
|
||||||
|
userstoverify: [],
|
||||||
asked_friends: [],
|
asked_friends: [],
|
||||||
asked_groups: [],
|
asked_groups: [],
|
||||||
refused_groups: [],
|
refused_groups: [],
|
||||||
@@ -315,6 +317,16 @@ export const useUserStore = defineStore('UserStore', {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
getUsersToVerify(): any[] {
|
||||||
|
try {
|
||||||
|
const arr: any = this.my.profile.userstoverify
|
||||||
|
return arr
|
||||||
|
} catch (e) {
|
||||||
|
return []
|
||||||
|
}
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
hoContiComunitariDaAmministrare(): boolean {
|
hoContiComunitariDaAmministrare(): boolean {
|
||||||
try {
|
try {
|
||||||
const arr: any = this.my.profile.manage_mygroups.filter((group: IMyGroup) => (group.mycircuits!.length > 0))
|
const arr: any = this.my.profile.manage_mygroups.filter((group: IMyGroup) => (group.mycircuits!.length > 0))
|
||||||
|
|||||||
@@ -44,7 +44,11 @@ export default defineComponent({
|
|||||||
const $q = useQuasar()
|
const $q = useQuasar()
|
||||||
const { t } = useI18n()
|
const { t } = useI18n()
|
||||||
|
|
||||||
const showonlymine = ref(true)
|
const showwhommov = ref(1)
|
||||||
|
const optionsmov = [
|
||||||
|
{ label: t('movement.onlymymov'), value: 1 },
|
||||||
|
{ label: t('movement.allmov'), value: 2 },
|
||||||
|
]
|
||||||
const tabellare = ref(false)
|
const tabellare = ref(false)
|
||||||
const groupsListAdmin = ref(<IMyGroup[]>[])
|
const groupsListAdmin = ref(<IMyGroup[]>[])
|
||||||
const groupnameSel = ref(<any>null)
|
const groupnameSel = ref(<any>null)
|
||||||
@@ -358,6 +362,7 @@ export default defineComponent({
|
|||||||
username: 1,
|
username: 1,
|
||||||
name: 1,
|
name: 1,
|
||||||
surname: 1,
|
surname: 1,
|
||||||
|
verified_by_aportador: 1,
|
||||||
lang: 1,
|
lang: 1,
|
||||||
'profile.img': 1,
|
'profile.img': 1,
|
||||||
'profile.mycircuits': 1,
|
'profile.mycircuits': 1,
|
||||||
@@ -420,7 +425,7 @@ export default defineComponent({
|
|||||||
}
|
}
|
||||||
|
|
||||||
const extraparams_movs = (() => {
|
const extraparams_movs = (() => {
|
||||||
if (showonlymine.value) {
|
if (showwhommov.value === 1) {
|
||||||
return {
|
return {
|
||||||
querytype: shared_consts.QUERYTYPE_LIST_MOVEMENTS,
|
querytype: shared_consts.QUERYTYPE_LIST_MOVEMENTS,
|
||||||
myid: circuit.value ? circuit.value._id : '',
|
myid: circuit.value ? circuit.value._id : '',
|
||||||
@@ -526,7 +531,7 @@ export default defineComponent({
|
|||||||
circuitStore,
|
circuitStore,
|
||||||
qtarem,
|
qtarem,
|
||||||
saldo,
|
saldo,
|
||||||
showonlymine,
|
showwhommov,
|
||||||
tabellare,
|
tabellare,
|
||||||
showsaldi,
|
showsaldi,
|
||||||
filterextra_group,
|
filterextra_group,
|
||||||
@@ -544,6 +549,7 @@ export default defineComponent({
|
|||||||
loadAccount,
|
loadAccount,
|
||||||
aggiornaSaldo,
|
aggiornaSaldo,
|
||||||
loadSaldo,
|
loadSaldo,
|
||||||
|
optionsmov,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -144,12 +144,13 @@
|
|||||||
v-close-popup
|
v-close-popup
|
||||||
></q-btn>
|
></q-btn>
|
||||||
</q-bar>
|
</q-bar>
|
||||||
<q-card-section class="inset-shadow">
|
<q-card-section class="q-px-xs inset-shadow">
|
||||||
<q-toggle
|
<q-option-group
|
||||||
v-model="showonlymine"
|
v-model="showwhommov"
|
||||||
:label="t('movement.onlymymov')"
|
:options="optionsmov"
|
||||||
></q-toggle>
|
color="primary"
|
||||||
<q-toggle v-model="tabellare" label="Tabella"></q-toggle>
|
/>
|
||||||
|
<q-toggle v-model="tabellare" label="Formato Tabella"></q-toggle>
|
||||||
|
|
||||||
<CGridTableRec
|
<CGridTableRec
|
||||||
v-if="tabellare && !loading"
|
v-if="tabellare && !loading"
|
||||||
@@ -334,8 +335,6 @@
|
|||||||
><br />
|
><br />
|
||||||
</q-banner>
|
</q-banner>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="centermydiv q-mt-md">
|
<div class="centermydiv q-mt-md">
|
||||||
<q-btn
|
<q-btn
|
||||||
v-if="
|
v-if="
|
||||||
@@ -946,9 +945,9 @@
|
|||||||
date: tools.getstrDateYY(circuit.date_updated),
|
date: tools.getstrDateYY(circuit.date_updated),
|
||||||
})
|
})
|
||||||
}}</span>
|
}}</span>
|
||||||
<br>
|
<br />
|
||||||
</div>
|
</div>
|
||||||
<br>
|
<br />
|
||||||
</q-card>
|
</q-card>
|
||||||
</q-tab-panel>
|
</q-tab-panel>
|
||||||
|
|
||||||
|
|||||||
@@ -82,6 +82,7 @@ export default defineComponent({
|
|||||||
username: 1,
|
username: 1,
|
||||||
name: 1,
|
name: 1,
|
||||||
surname: 1,
|
surname: 1,
|
||||||
|
verified_by_aportador: 1,
|
||||||
'profile.handshake': 1,
|
'profile.handshake': 1,
|
||||||
'profile.img': 1,
|
'profile.img': 1,
|
||||||
'profile.mygroups': 1,
|
'profile.mygroups': 1,
|
||||||
|
|||||||
Reference in New Issue
Block a user