fix activities
This commit is contained in:
@@ -29,7 +29,7 @@
|
|||||||
<div class="q-gutter-sm q-pa-sm q-pb-md">
|
<div class="q-gutter-sm q-pa-sm q-pb-md">
|
||||||
<div
|
<div
|
||||||
v-if="myuser && myuser.date_reg"
|
v-if="myuser && myuser.date_reg"
|
||||||
class="fit column no-wrap justify-evenly items-center content-start"
|
class="row wrap justify-evenly items-center content-start"
|
||||||
>
|
>
|
||||||
<CTitleBanner
|
<CTitleBanner
|
||||||
v-if="site.confpages.showCompetenze"
|
v-if="site.confpages.showCompetenze"
|
||||||
@@ -41,14 +41,7 @@
|
|||||||
:canopen="true"
|
:canopen="true"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="
|
class="fit column no-wrap justify-evenly items-center content-start"
|
||||||
fit
|
|
||||||
column
|
|
||||||
no-wrap
|
|
||||||
justify-evenly
|
|
||||||
items-center
|
|
||||||
content-start
|
|
||||||
"
|
|
||||||
>
|
>
|
||||||
<div v-if="site.confpages.showNameSurname">
|
<div v-if="site.confpages.showNameSurname">
|
||||||
<div class="text-h6">
|
<div class="text-h6">
|
||||||
@@ -62,74 +55,47 @@
|
|||||||
{{ myuser.username }}
|
{{ myuser.username }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<q-select
|
|
||||||
v-model="actualcard"
|
|
||||||
:options="optionsMainCards"
|
|
||||||
emit-value
|
|
||||||
borderless
|
|
||||||
map-options
|
|
||||||
:behavior="$q.platform.is.ios === true ? 'dialog' : 'menu'"
|
|
||||||
>
|
|
||||||
<template v-slot:option="scope">
|
|
||||||
<q-item v-bind="scope.itemProps">
|
|
||||||
<q-item-section avatar>
|
|
||||||
<q-icon :name="scope.opt.icon" />
|
|
||||||
</q-item-section>
|
|
||||||
<q-item-section>
|
|
||||||
<q-item-label>{{ scope.opt.label }}</q-item-label>
|
|
||||||
<!--<q-item-label caption>{{
|
|
||||||
scope.opt.description
|
|
||||||
}}</q-item-label>-->
|
|
||||||
</q-item-section>
|
|
||||||
</q-item>
|
|
||||||
</template>
|
|
||||||
</q-select>
|
|
||||||
|
|
||||||
<q-tab-panels v-model="actualcard" animated>
|
<div v-for="(card, ind) of mycards" :key="ind" :name="card.table">
|
||||||
<q-tab-panel
|
<div class="text-h6">{{card.title}}</div>
|
||||||
v-for="(card, ind) of mycards"
|
<div v-if="card.table === 'mygroups'">
|
||||||
:key="ind"
|
<q-list>
|
||||||
:name="card.table"
|
<span
|
||||||
>
|
v-for="(grp, index) in listgroupsfiltered"
|
||||||
<div v-if="card.table === 'mygroups'">
|
:key="index"
|
||||||
<q-list>
|
class="q-my-sm q-mx-none"
|
||||||
<span
|
clickable
|
||||||
v-for="(grp, index) in listgroupsfiltered"
|
|
||||||
:key="index"
|
|
||||||
class="q-my-sm q-mx-none"
|
|
||||||
clickable
|
|
||||||
>
|
>
|
||||||
<CMyGroup :mygrp="grp" :visu="costanti.USER_GROUPS">
|
<CMyGroup :mygrp="grp" :visu="costanti.USER_GROUPS">
|
||||||
</CMyGroup>
|
</CMyGroup>
|
||||||
</span>
|
</span>
|
||||||
</q-list>
|
</q-list>
|
||||||
</div>
|
</div>
|
||||||
<div v-else-if="card.table === 'circuits'">
|
<div v-else-if="card.table === 'circuits'">
|
||||||
<q-list>
|
<q-list>
|
||||||
<span
|
<span
|
||||||
v-for="(circuit, index) in listcircuitsfiltered"
|
v-for="(circuit, index) in listcircuitsfiltered"
|
||||||
:key="index"
|
:key="index"
|
||||||
class="q-my-sm q-mx-none"
|
class="q-my-sm q-mx-none"
|
||||||
clickable
|
clickable
|
||||||
|
>
|
||||||
|
<CMyCircuit
|
||||||
|
:mycircuit="circuit"
|
||||||
|
:visu="costanti.USER_CIRCUITS"
|
||||||
>
|
>
|
||||||
<CMyCircuit
|
</CMyCircuit>
|
||||||
:mycircuit="circuit"
|
</span>
|
||||||
:visu="costanti.USER_CIRCUITS"
|
</q-list>
|
||||||
>
|
</div>
|
||||||
</CMyCircuit>
|
<div v-else>
|
||||||
</span>
|
<CSkill
|
||||||
</q-list>
|
:table="card.table"
|
||||||
</div>
|
:filtercustom="filtroutente"
|
||||||
<div v-else>
|
:butt_modif_new="isMyRecord(myuser.username)"
|
||||||
<CSkill
|
visuinpage="true"
|
||||||
v-if="card.table === actualcard"
|
/>
|
||||||
:table="card.table"
|
</div>
|
||||||
:filtercustom="filtroutente"
|
</div>
|
||||||
:butt_modif_new="isMyRecord(myuser.username)"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</q-tab-panel>
|
|
||||||
</q-tab-panels>
|
|
||||||
</CTitleBanner>
|
</CTitleBanner>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -160,7 +160,7 @@
|
|||||||
size="md"
|
size="md"
|
||||||
color="orange"
|
color="orange"
|
||||||
:label="$t('profile.myactivities')"
|
:label="$t('profile.myactivities')"
|
||||||
:to="`/skills/` + myusername()"
|
:to="`/skills/` + myuser.username"
|
||||||
>
|
>
|
||||||
</q-btn>
|
</q-btn>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user