Modifiche prima di Luglio...
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
APP_VERSION="1.0.13"
|
APP_VERSION="1.0.15"
|
||||||
SERVICE_WORKER_FILE="service-worker.js"
|
SERVICE_WORKER_FILE="service-worker.js"
|
||||||
APP_ID="13"
|
APP_ID="13"
|
||||||
DIRECTORY_LOCAL="newfreeplanet"
|
DIRECTORY_LOCAL="newfreeplanet"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
APP_VERSION="1.0.13"
|
APP_VERSION="1.0.15"
|
||||||
SERVICE_WORKER_FILE="service-worker.js"
|
SERVICE_WORKER_FILE="service-worker.js"
|
||||||
APP_ID="13"
|
APP_ID="13"
|
||||||
DIRECTORY_LOCAL=newfreeplanet
|
DIRECTORY_LOCAL=newfreeplanet
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
APP_VERSION="1.0.13"
|
APP_VERSION="1.0.15"
|
||||||
SERVICE_WORKER_FILE="service-worker.js"
|
SERVICE_WORKER_FILE="service-worker.js"
|
||||||
APP_ID="13"
|
APP_ID="13"
|
||||||
DIRECTORY_LOCAL=newfreeplanet
|
DIRECTORY_LOCAL=newfreeplanet
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
APP_VERSION="1.0.13"
|
APP_VERSION="1.0.15"
|
||||||
SERVICE_WORKER_FILE="service-worker.js"
|
SERVICE_WORKER_FILE="service-worker.js"
|
||||||
APP_ID="13"
|
APP_ID="13"
|
||||||
DIRECTORY_LOCAL="newfreeplanet"
|
DIRECTORY_LOCAL="newfreeplanet"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
APP_VERSION="1.0.13"
|
APP_VERSION="1.0.15"
|
||||||
SERVICE_WORKER_FILE="service-worker.js"
|
SERVICE_WORKER_FILE="service-worker.js"
|
||||||
APP_ID="13"
|
APP_ID="13"
|
||||||
DIRECTORY_LOCAL=newfreeplanet
|
DIRECTORY_LOCAL=newfreeplanet
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
APP_VERSION="1.0.13"
|
APP_VERSION="1.0.15"
|
||||||
SERVICE_WORKER_FILE="service-worker.js"
|
SERVICE_WORKER_FILE="service-worker.js"
|
||||||
APP_ID="14"
|
APP_ID="14"
|
||||||
DIRECTORY_LOCAL="newfreeplanet"
|
DIRECTORY_LOCAL="newfreeplanet"
|
||||||
|
|||||||
@@ -116,7 +116,7 @@ export default defineComponent({
|
|||||||
function getlistimages() {
|
function getlistimages() {
|
||||||
if (gallerylist.value)
|
if (gallerylist.value)
|
||||||
// return gallerylist.value.slice().sort((a: any, b: any) => a.order! - b.order!)
|
// return gallerylist.value.slice().sort((a: any, b: any) => a.order! - b.order!)
|
||||||
return gallerylist.value
|
return gallerylist.value.filter(filename => !filename)
|
||||||
else
|
else
|
||||||
return null
|
return null
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -116,10 +116,27 @@ export default defineComponent({
|
|||||||
return userStore.my.username
|
return userStore.my.username
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function getRegulation(reg: string) {
|
||||||
|
let strreg = reg + ''
|
||||||
|
if (!reg) {
|
||||||
|
let name = ''
|
||||||
|
if (circuit.value!.hasOwnProperty('name')) {
|
||||||
|
// @ts-ignore
|
||||||
|
name = circuit.value!.name
|
||||||
|
}
|
||||||
|
const mystringa = t('circuit.regolamento', {nomecircuito: name})
|
||||||
|
return mystringa
|
||||||
|
} else {
|
||||||
|
return reg
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
onMounted(mounted)
|
onMounted(mounted)
|
||||||
|
|
||||||
return {
|
return {
|
||||||
circuit,
|
circuit,
|
||||||
|
getRegulation,
|
||||||
costanti,
|
costanti,
|
||||||
getImgCircuit,
|
getImgCircuit,
|
||||||
naviga,
|
naviga,
|
||||||
|
|||||||
@@ -441,7 +441,7 @@
|
|||||||
<div style="font-weight: bold; font-size: 1.25rem">Regolamento:</div>
|
<div style="font-weight: bold; font-size: 1.25rem">Regolamento:</div>
|
||||||
<q-btn label="vedi Regolamento" @click="showrules = !showrules">
|
<q-btn label="vedi Regolamento" @click="showrules = !showrules">
|
||||||
</q-btn>
|
</q-btn>
|
||||||
<div v-if="showrules" v-html="circuit.regulation"></div>
|
<div v-if="showrules" v-html="getRegulation(circuit.regulation)"></div>
|
||||||
</q-card-section>
|
</q-card-section>
|
||||||
<q-card-actions align="center">
|
<q-card-actions align="center">
|
||||||
<q-btn
|
<q-btn
|
||||||
|
|||||||
@@ -818,6 +818,7 @@ export interface IMsgGlobParam {
|
|||||||
typesend: number
|
typesend: number
|
||||||
sendreally?: boolean
|
sendreally?: boolean
|
||||||
textaddTelegram?: string
|
textaddTelegram?: string
|
||||||
|
linkaddTelegram?: string
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface IDataToSet {
|
export interface IDataToSet {
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -5087,6 +5087,7 @@ export const tools = {
|
|||||||
|
|
||||||
getLinkBotTelegram(aportador_solidario: string, regexpire: string): string {
|
getLinkBotTelegram(aportador_solidario: string, regexpire: string): string {
|
||||||
let mylink = ''
|
let mylink = ''
|
||||||
|
const sep = '-'
|
||||||
if (this.isTest() && !process.env.DEV) {
|
if (this.isTest() && !process.env.DEV) {
|
||||||
mylink = this.getValDb('TELEG_BOT_LINK_TEST', false)
|
mylink = this.getValDb('TELEG_BOT_LINK_TEST', false)
|
||||||
} else {
|
} else {
|
||||||
@@ -5094,7 +5095,7 @@ export const tools = {
|
|||||||
}
|
}
|
||||||
let add = ''
|
let add = ''
|
||||||
if (aportador_solidario) {
|
if (aportador_solidario) {
|
||||||
add = '?start=inv#' + aportador_solidario + '#ex#' + regexpire
|
add = '?start=inv' + sep + aportador_solidario + sep + 'ex' + sep + regexpire
|
||||||
}
|
}
|
||||||
|
|
||||||
return mylink + add
|
return mylink + add
|
||||||
|
|||||||
@@ -484,6 +484,14 @@
|
|||||||
></q-btn>
|
></q-btn>
|
||||||
<br />
|
<br />
|
||||||
</div>
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<q-btn
|
||||||
|
label="Azzera i regolamenti dei Circuiti"
|
||||||
|
color="primary"
|
||||||
|
@click="EseguiFunz('AzzeraRegolamentiTuttiCircuiti', '', '')"
|
||||||
|
></q-btn>
|
||||||
|
<br />
|
||||||
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<q-btn
|
<q-btn
|
||||||
label="Crea Tutti i Circuiti"
|
label="Crea Tutti i Circuiti"
|
||||||
|
|||||||
@@ -461,15 +461,14 @@
|
|||||||
</q-tab-panel>
|
</q-tab-panel>
|
||||||
<q-tab-panel name="circuits">
|
<q-tab-panel name="circuits">
|
||||||
<q-select
|
<q-select
|
||||||
|
v-if="circuitslistOpt.length > 0"
|
||||||
v-model="circuitIndex"
|
v-model="circuitIndex"
|
||||||
:options="circuitslistOpt"
|
:options="circuitslistOpt"
|
||||||
emit-value
|
emit-value
|
||||||
map-options
|
map-options
|
||||||
:behavior="$q.platform.is.ios === true ? 'dialog' : 'menu'"
|
:behavior="$q.platform.is.ios === true ? 'dialog' : 'menu'"
|
||||||
>
|
>
|
||||||
<template v-slot:prepend>
|
<template v-slot:prepend> </template>
|
||||||
<q-icon :name="iconsel" />
|
|
||||||
</template>
|
|
||||||
<template v-slot:option="scope">
|
<template v-slot:option="scope">
|
||||||
<q-item v-bind="scope.itemProps">
|
<q-item v-bind="scope.itemProps">
|
||||||
<q-item-section>
|
<q-item-section>
|
||||||
@@ -479,7 +478,12 @@
|
|||||||
</template>
|
</template>
|
||||||
</q-select>
|
</q-select>
|
||||||
|
|
||||||
<q-tabs v-model="tabcircuit" class="text-blue" no-caps>
|
<q-tabs
|
||||||
|
v-if="circuitslistOpt.length > 0"
|
||||||
|
v-model="tabcircuit"
|
||||||
|
class="text-blue"
|
||||||
|
no-caps
|
||||||
|
>
|
||||||
<q-tab
|
<q-tab
|
||||||
:label="t('shared.info1')"
|
:label="t('shared.info1')"
|
||||||
name="info"
|
name="info"
|
||||||
@@ -496,19 +500,19 @@
|
|||||||
</q-tab-panels>
|
</q-tab-panels>
|
||||||
|
|
||||||
<div v-if="tabgrp === 'circuits' && tabcircuit === 'info'">
|
<div v-if="tabgrp === 'circuits' && tabcircuit === 'info'">
|
||||||
<q-tab-panels v-model="tabcircuit" animated>
|
<q-tab-panels v-model="tabcircuit" animated>
|
||||||
<q-tab-panel name="info" style="max-width: 500px">
|
<q-tab-panel name="info" style="max-width: 500px">
|
||||||
<div v-for="(circuit, ind) of circuitslist" :key="ind">
|
<div v-for="(circuit, ind) of circuitslist" :key="ind">
|
||||||
<div class="circuit_name">{{ circuit.name }}:</div>
|
<div class="circuit_name">{{ circuit.name }}:</div>
|
||||||
<CInfoAccount
|
<CInfoAccount
|
||||||
:circuitname="circuit.name"
|
:circuitname="circuit.name"
|
||||||
:grp="mygrp"
|
:grp="mygrp"
|
||||||
:account="circuit.account"
|
:account="circuit.account"
|
||||||
:admin="tools.iAmAdminCircuit(circuit.name)"
|
:admin="tools.iAmAdminCircuit(circuit.name)"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</q-tab-panel>
|
</q-tab-panel>
|
||||||
</q-tab-panels>
|
</q-tab-panels>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="tabgrp === 'circuits' && tabcircuit === 'mov'">
|
<div v-if="tabgrp === 'circuits' && tabcircuit === 'mov'">
|
||||||
<div v-if="circuitslist && circuitslist.length > 0">
|
<div v-if="circuitslist && circuitslist.length > 0">
|
||||||
|
|||||||
Reference in New Issue
Block a user