- Invia Ris a e Ricevi Ris
- Tutorial Guidato Passi da Compiere - Provincia in cui vivi - Policy aggiornata
This commit is contained in:
@@ -23,6 +23,14 @@
|
||||
<CCheckIfIsLogged></CCheckIfIsLogged>
|
||||
</div>
|
||||
<div v-if="circuit">
|
||||
<div style="align-self: center; vertical-align: middle">
|
||||
<q-btn
|
||||
label="Lista Circuiti"
|
||||
to="/circuits"
|
||||
rounded
|
||||
icon="fas fa-arrow-circle-left"
|
||||
/>
|
||||
</div>
|
||||
<div
|
||||
v-if="circuit.name"
|
||||
class="fit column no-wrap justify-evenly items-center content-start"
|
||||
@@ -66,7 +74,7 @@
|
||||
|
||||
<br />
|
||||
|
||||
<div>
|
||||
<div class="row text-center">
|
||||
<q-banner
|
||||
v-if="
|
||||
userStore.my.profile &&
|
||||
@@ -74,15 +82,11 @@
|
||||
userStore.IsMyCircuitByName(circuit.name)
|
||||
"
|
||||
rounded
|
||||
class="bg-orange text-white"
|
||||
class="bg-deep-purple text-white"
|
||||
style="text-align: center"
|
||||
>
|
||||
<template v-slot:avatar>
|
||||
<q-icon
|
||||
name="fas fa-info"
|
||||
color="red"
|
||||
size="sm"
|
||||
/>
|
||||
<q-icon name="fas fa-info" color="red" size="sm" />
|
||||
</template>
|
||||
|
||||
<em style="font-weight: bold">{{
|
||||
@@ -93,7 +97,7 @@
|
||||
<q-banner
|
||||
v-else-if="userStore.my.profile.calc.numGoodsAndServices <= 0"
|
||||
rounded
|
||||
class="bg-orange text-white"
|
||||
class="bg-deep-purple text-white"
|
||||
style="text-align: center"
|
||||
>
|
||||
<template v-slot:avatar>
|
||||
@@ -111,92 +115,99 @@
|
||||
><br />
|
||||
</q-banner>
|
||||
|
||||
<q-btn
|
||||
v-if="
|
||||
!userStore.IsMyCircuitByName(circuit.name) &&
|
||||
!userStore.IsAskedCircuitByName(circuit.name) &&
|
||||
!userStore.IsRefusedCircuitByName(circuit.name)
|
||||
"
|
||||
icon="fas fa-user-plus"
|
||||
color="primary"
|
||||
:label="$t('circuit.ask')"
|
||||
@click="
|
||||
requestToEnterCircuit = true;
|
||||
groupnameSel = null;
|
||||
"
|
||||
/>
|
||||
<q-btn
|
||||
v-if="userStore.IsMyCircuitByName(circuit.name)"
|
||||
rounded
|
||||
icon="fas fa-ellipsis-h"
|
||||
>
|
||||
<q-menu>
|
||||
<q-list v-if="true" style="min-width: 150px">
|
||||
<q-item
|
||||
clickable
|
||||
v-close-popup
|
||||
v-if="saldo === 0"
|
||||
@click="
|
||||
tools.removeFromMyCircuits(
|
||||
$q,
|
||||
userStore.my.username,
|
||||
circuit.name,
|
||||
'',
|
||||
$t('circuit.domanda_exit_fromcircuit', {
|
||||
circuitname: circuit.name,
|
||||
})
|
||||
)
|
||||
"
|
||||
>
|
||||
<q-item-section avatar>
|
||||
<q-icon color="negative" name="fas fa-user-minus" />
|
||||
</q-item-section>
|
||||
<q-item-section>{{
|
||||
$t('circuit.exit_circuit')
|
||||
}}</q-item-section>
|
||||
</q-item>
|
||||
|
||||
<q-list
|
||||
v-if="tools.iAmAdminCircuit(circuit.name)"
|
||||
style="min-width: 200px"
|
||||
>
|
||||
<div class="centermydiv q-mt-md">
|
||||
<q-btn
|
||||
v-if="
|
||||
!userStore.IsMyCircuitByName(circuit.name) &&
|
||||
!userStore.IsAskedCircuitByName(circuit.name) &&
|
||||
!userStore.IsRefusedCircuitByName(circuit.name)
|
||||
"
|
||||
icon="fas fa-user-plus"
|
||||
color="primary"
|
||||
:label="$t('circuit.ask')"
|
||||
@click="
|
||||
requestToEnterCircuit = true;
|
||||
groupnameSel = null;
|
||||
"
|
||||
/>
|
||||
<q-btn
|
||||
v-if="userStore.IsMyCircuitByName(circuit.name)"
|
||||
rounded
|
||||
icon="fas fa-ellipsis-h"
|
||||
>
|
||||
<q-menu>
|
||||
<q-list v-if="true" style="min-width: 150px">
|
||||
<q-item
|
||||
clickable
|
||||
v-close-popup
|
||||
v-if="saldo === 0"
|
||||
@click="
|
||||
tools.setCmd(
|
||||
tools.removeFromMyCircuits(
|
||||
$q,
|
||||
shared_consts.CIRCUITCMD.DELETE,
|
||||
userStore.my.username,
|
||||
circuit.name,
|
||||
'',
|
||||
circuit.name
|
||||
$t('circuit.domanda_exit_fromcircuit', {
|
||||
circuitname: circuit.name,
|
||||
})
|
||||
)
|
||||
"
|
||||
>
|
||||
<q-item-section avatar>
|
||||
<q-icon color="negative" name="fas fa-trash-alt" />
|
||||
<q-icon color="negative" name="fas fa-user-minus" />
|
||||
</q-item-section>
|
||||
<q-item-section>{{
|
||||
$t('circuit.delete')
|
||||
$t('circuit.exit_circuit')
|
||||
}}</q-item-section>
|
||||
</q-item>
|
||||
</q-list>
|
||||
</q-list>
|
||||
</q-menu>
|
||||
</q-btn>
|
||||
|
||||
<q-btn
|
||||
v-if="
|
||||
userStore.IsAskedCircuitByName(circuit.name) &&
|
||||
!userStore.IsMyCircuitByName(circuit.name)
|
||||
"
|
||||
icon="fas fa-user-minus"
|
||||
flat
|
||||
:label="$t('shared.cancel_ask_short')"
|
||||
@click="
|
||||
tools.cancelReqCircuit($q, userStore.my.username, circuit.name)
|
||||
"
|
||||
/>
|
||||
<q-list
|
||||
v-if="tools.iAmAdminCircuit(circuit.name)"
|
||||
style="min-width: 200px"
|
||||
>
|
||||
<q-item
|
||||
clickable
|
||||
v-close-popup
|
||||
@click="
|
||||
tools.setCmd(
|
||||
$q,
|
||||
shared_consts.CIRCUITCMD.DELETE,
|
||||
userStore.my.username,
|
||||
'',
|
||||
circuit.name
|
||||
)
|
||||
"
|
||||
>
|
||||
<q-item-section avatar>
|
||||
<q-icon color="negative" name="fas fa-trash-alt" />
|
||||
</q-item-section>
|
||||
<q-item-section>{{
|
||||
$t('circuit.delete')
|
||||
}}</q-item-section>
|
||||
</q-item>
|
||||
</q-list>
|
||||
</q-list>
|
||||
</q-menu>
|
||||
</q-btn>
|
||||
|
||||
<q-btn
|
||||
v-if="
|
||||
userStore.IsAskedCircuitByName(circuit.name) &&
|
||||
!userStore.IsMyCircuitByName(circuit.name)
|
||||
"
|
||||
icon="fas fa-user-minus"
|
||||
flat
|
||||
outline
|
||||
:label="$t('shared.cancel_ask_short')"
|
||||
@click="
|
||||
tools.cancelReqCircuit(
|
||||
$q,
|
||||
userStore.my.username,
|
||||
circuit.name
|
||||
)
|
||||
"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
@@ -262,6 +273,7 @@
|
||||
label="Rifiutati"
|
||||
name="refused"
|
||||
icon="fas fa-user-minus"
|
||||
outline
|
||||
></q-tab>
|
||||
</q-tabs>
|
||||
|
||||
@@ -320,6 +332,7 @@
|
||||
"
|
||||
icon="fas fa-user-minus"
|
||||
flat
|
||||
outline
|
||||
:label="$t('shared.cancel_ask_short')"
|
||||
@click="
|
||||
tools.cancelReqCircuit(
|
||||
@@ -371,7 +384,7 @@
|
||||
:prop_search="true"
|
||||
hint="gruppo da trovare"
|
||||
:finder="false"
|
||||
:choose_visutype="true"
|
||||
:choose_visutype="false"
|
||||
:finder_noNull="false"
|
||||
:options="shared_consts.OPTIONS_SEARCH_USER_ALL_WORDS"
|
||||
:butt_modif_new="false"
|
||||
@@ -388,7 +401,7 @@
|
||||
:visufind="
|
||||
tools.iAmAdminCircuit(circuit.name)
|
||||
? costanti.REQ_ADD_USER_TO_CIRCUIT
|
||||
: costanti.FIND_PEOPLE
|
||||
: costanti.FIND_GROUP
|
||||
"
|
||||
>
|
||||
</CGridTableRec>
|
||||
@@ -404,7 +417,7 @@
|
||||
:vertical="costanti.VISUTABLE_GROUP_CIRCUIT"
|
||||
nodataLabel="Nessuna Richiesta Collettiva in sospeso"
|
||||
:prop_search="false"
|
||||
hint="Username da trovare"
|
||||
hint="Username o nome da trovare"
|
||||
:finder="false"
|
||||
:choose_visutype="false"
|
||||
:finder_noNull="false"
|
||||
@@ -840,6 +853,7 @@
|
||||
label="Rifiutati"
|
||||
name="refused"
|
||||
icon="fas fa-user-minus"
|
||||
outline
|
||||
></q-tab>
|
||||
</q-tabs>
|
||||
|
||||
@@ -860,9 +874,9 @@
|
||||
:vertical="costanti.VISUTABLE_LISTA"
|
||||
nodataLabel="Nessun Iscritto"
|
||||
:prop_search="true"
|
||||
hint="Username da trovare"
|
||||
hint="Username o nome da trovare"
|
||||
:finder="false"
|
||||
:choose_visutype="true"
|
||||
:choose_visutype="false"
|
||||
:finder_noNull="false"
|
||||
:options="shared_consts.OPTIONS_SEARCH_USER_ALL_WORDS"
|
||||
:butt_modif_new="false"
|
||||
@@ -873,7 +887,12 @@
|
||||
:filterextra2="filterextra2"
|
||||
:prop_searchList="searchList"
|
||||
:showType="costanti.SHOW_USERINFO"
|
||||
:prop_pagination="userStore.getMypaginationMembers()"
|
||||
:prop_SortFieldsAvailable="
|
||||
userStore.getSortFieldsAvailable()
|
||||
"
|
||||
:showCol="false"
|
||||
:labelElemFind="$t('circuit.iscritti')"
|
||||
:circuitname="circuit.name"
|
||||
:extraparams="extraparams()"
|
||||
:visufind="
|
||||
@@ -895,7 +914,7 @@
|
||||
:vertical="costanti.VISUTABLE_USER_TABCIRCUIT"
|
||||
nodataLabel="Nessuna Richiesta in sospeso"
|
||||
:prop_search="false"
|
||||
hint="Username da trovare"
|
||||
hint="Username o nome da trovare"
|
||||
:finder="false"
|
||||
:choose_visutype="false"
|
||||
:finder_noNull="false"
|
||||
@@ -925,7 +944,7 @@
|
||||
:vertical="costanti.VISUTABLE_USER_TABCIRCUIT"
|
||||
nodataLabel="Nessun utente Rifiutato"
|
||||
:prop_search="false"
|
||||
hint="Username da trovare"
|
||||
hint="Username o nome da trovare"
|
||||
:finder="false"
|
||||
:choose_visutype="false"
|
||||
:finder_noNull="false"
|
||||
|
||||
Reference in New Issue
Block a user