circuito
This commit is contained in:
@@ -560,33 +560,22 @@
|
||||
<q-separator />
|
||||
|
||||
<q-card-section>
|
||||
<div v-if="circuit.createdBy" class="container">
|
||||
<q-icon name="fas fa-lightbulb" class="iconcirc"></q-icon>
|
||||
{{
|
||||
$t('shared.createdby', {
|
||||
username: circuit.createdBy,
|
||||
date: tools.getstrDateYY(circuit.date_created),
|
||||
})
|
||||
}}
|
||||
</div>
|
||||
<div
|
||||
v-if="
|
||||
!!circuit.date_updated &&
|
||||
tools.getstrDate(circuit.date_updated) !==
|
||||
tools.getstrDate(circuit.date_created)
|
||||
"
|
||||
class="container"
|
||||
>
|
||||
<q-icon
|
||||
name="fas fa-pencil-alt"
|
||||
class="iconcirc"
|
||||
></q-icon>
|
||||
<span class="element">{{
|
||||
$t('shared.lastmodify', {
|
||||
date: tools.getstrDateYY(circuit.date_updated),
|
||||
})
|
||||
}}</span>
|
||||
<div class="text-h7 q-mb-sm">
|
||||
<div v-html="$t('circuit.aggiuntive')"></div>
|
||||
</div>
|
||||
<q-card-section>
|
||||
<div class="text-h6">{{ t('circuit.descr') }}:</div>
|
||||
</q-card-section>
|
||||
<q-separator />
|
||||
|
||||
<q-card-section>
|
||||
<div class="col-12 text-h7">
|
||||
<span
|
||||
v-if="checkifShow('descr')"
|
||||
v-html="circuit.longdescr"
|
||||
></span>
|
||||
</div>
|
||||
</q-card-section>
|
||||
|
||||
<div class="container">
|
||||
<q-icon name="fas fa-users" class="iconcirc"></q-icon>
|
||||
@@ -597,6 +586,38 @@
|
||||
: t('shared.members')
|
||||
}}
|
||||
</div>
|
||||
<div class="container" v-if="circuit.link_group">
|
||||
<q-icon name="fab fa-telegram" class="iconcirc"></q-icon>
|
||||
<span class="element">
|
||||
{{
|
||||
$t('circuit.chat_gruppo_telegram_circuito', {
|
||||
name: circuit.name,
|
||||
})
|
||||
}}:
|
||||
<div class="row justify-center">
|
||||
<q-icon
|
||||
name="fas fa-hand-point-right"
|
||||
class="iconcirc"
|
||||
size="lg"
|
||||
></q-icon>
|
||||
|
||||
<q-btn
|
||||
v-if="circuit.link_group"
|
||||
icon="fab fa-telegram"
|
||||
color="blue"
|
||||
type="a"
|
||||
size="md"
|
||||
rounded
|
||||
:label="
|
||||
$t('circuit.link_chat', { name: circuit.name })
|
||||
"
|
||||
:href="circuit.link_group"
|
||||
target="__blank"
|
||||
>
|
||||
</q-btn>
|
||||
</div>
|
||||
</span>
|
||||
</div>
|
||||
<div class="container">
|
||||
<q-icon name="fas fa-user-cog" class="iconcirc"></q-icon>
|
||||
<span class="element">{{ numAdmins() }}</span>
|
||||
@@ -720,7 +741,7 @@
|
||||
{{
|
||||
}}</span>
|
||||
</div>
|
||||
<div
|
||||
<!--<div
|
||||
class="sezioni"
|
||||
v-if="circuit.deperimento !== undefined"
|
||||
>
|
||||
@@ -735,27 +756,12 @@
|
||||
}}
|
||||
{{
|
||||
}}</span>
|
||||
</div>
|
||||
</div>-->
|
||||
</q-card-section>
|
||||
</q-card>
|
||||
|
||||
<br />
|
||||
</div>
|
||||
<q-card v-if="circuit.name">
|
||||
<q-card-section>
|
||||
<div class="text-h6">{{ t('circuit.descr') }}:</div>
|
||||
</q-card-section>
|
||||
<q-separator />
|
||||
|
||||
<q-card-section>
|
||||
<div class="col-12 text-h7">
|
||||
<span
|
||||
v-if="checkifShow('descr')"
|
||||
v-html="circuit.longdescr"
|
||||
></span>
|
||||
</div>
|
||||
</q-card-section>
|
||||
</q-card>
|
||||
|
||||
<q-card v-if="circuit.name">
|
||||
<q-card-section>
|
||||
@@ -778,12 +784,38 @@
|
||||
></span>
|
||||
</div>
|
||||
</q-card-section>
|
||||
<div v-if="circuit.createdBy" class="container">
|
||||
<q-icon name="fas fa-lightbulb" class="iconcirc"></q-icon>
|
||||
{{
|
||||
$t('shared.createddate', {
|
||||
date: tools.getstrDateYY(circuit.date_created),
|
||||
})
|
||||
}}
|
||||
</div>
|
||||
<div
|
||||
v-if="
|
||||
!!circuit.date_updated &&
|
||||
tools.getstrDate(circuit.date_updated) !==
|
||||
tools.getstrDate(circuit.date_created)
|
||||
"
|
||||
class="container"
|
||||
>
|
||||
<q-icon name="fas fa-pencil-alt" class="iconcirc"></q-icon>
|
||||
<span class="element">{{
|
||||
$t('shared.lastmodify', {
|
||||
date: tools.getstrDateYY(circuit.date_updated),
|
||||
})
|
||||
}}</span>
|
||||
</div>
|
||||
</q-card>
|
||||
<q-card v-if="circuit.name">
|
||||
<q-card-section>
|
||||
<div class="text-h6">
|
||||
{{ t('circuit.contocomunitario') }}:
|
||||
</div>
|
||||
<div class="text-h7 q-mb-sm">
|
||||
{{ $t('circuit.info_contocom') }}
|
||||
</div>
|
||||
</q-card-section>
|
||||
<q-separator />
|
||||
|
||||
@@ -1029,7 +1061,10 @@
|
||||
</div>
|
||||
<q-btn label="vedi Regolamento" @click="showrules = !showrules">
|
||||
</q-btn>
|
||||
<div v-if="showrules && circuit" v-html="getRegulation(circuit.regulation)"></div>
|
||||
<div
|
||||
v-if="showrules && circuit"
|
||||
v-html="getRegulation(circuit.regulation)"
|
||||
></div>
|
||||
</q-card-section>
|
||||
<q-card-actions align="center">
|
||||
<q-btn
|
||||
|
||||
Reference in New Issue
Block a user