@if (place.plc_id == 0) {
{{ (isSubPlace ? 'turismo.subplace.title_new' : 'bacheca.detail.title_new') | translate }}
} @if (place.plc_id > 0) {
{{ (isSubPlace ? 'turismo.subplace.title_upd' : 'bacheca.detail.title_upd') | translate }}
}
{{'bacheca.form.general_data' | translate}}
@if (plc_name.errors && (plc_name.dirty || plc_name.touched)) {
{{'bacheca.form.title' | translate}} *
}
@if (!isSubPlace) {
}
@if (!isSubPlace) {
{{'bacheca.form.address_section' | translate}}
@if (plc_address.errors && (plc_address.dirty || plc_address.touched)) {
{{'onlineshop.address.via' | translate}} *
}
{{'onlineshop.prd.selcom' | translate}}
}
{{'onlineshop.prd.newphoto' | translate}}
@if (isEdit && pendingFiles.length == 0) {

{{'onlineshop.prd.actionph' | translate}}

}
@if (!isEdit && pendingFiles.length > 0) {

{{'onlineshop.prd.actionphp' | translate}} ({{ pendingFiles.length }})

@for (file of pendingFiles; track file; let i = $index) {
@if (file.type?.startsWith('image/')) { }
{{ file.name }}
{{ (file.size / 1024).toFixed(1) }} KB
}
} @if (place.photo.length > 0) {

{{'bacheca.form.images_list' | translate}}

@for (doc of place.photo; track doc) {
{{ doc.plm_title }}
}
}
{{'bacheca.form.add_audio' | translate}}
@if (isEdit && audioPendingFiles.length == 0) {

{{'onlineshop.prd.actionph' | translate}}

}
@if (audioPendingFiles.length > 0) {

{{'onlineshop.prd.actionphp' | translate}} ({{ audioPendingFiles.length }})

@for (file of audioPendingFiles; track file; let i = $index) {
{{ file.name }}
{{ (file.size / 1024).toFixed(1) }} KB
}
} @if (place.audio.length > 0) {

{{'bacheca.form.audio_list' | translate}}

@for (doc of place.audio; track doc; let i = $index) {
{{'bacheca.audioguide' | translate}} {{ i + 1 }}
}
}
@if (place.plc_id == 0) { } @if (place.plc_id > 0) { } @if (place.plc_id > 0 && place.pos_del == false) { }
@if (isEdit && !isSubPlace) {
{{ 'turismo.subplaces.section' | translate }}
@if (place.subPlaces?.length > 0) {
@for (sub of place.subPlaces; track sub.plc_id) {
@if (sub.photo?.length > 0) { } @else {
}
{{ sub.plc_name }}
@if (sub.audio?.length > 0) { {{ sub.audio.length }} {{ 'turismo.audioguides' | translate }} }
}
} @else {

{{ 'turismo.subplaces.zero' | translate }}

} }