@if (loaded) {
@if (tabs.length > 1) {
@for (tab of tabs; track $index) {
{{tab}}
}
}
@if (photos.length === 0) {
{{i18n.texts.pages.trail.no_photo_message}}
} @else {
@if (canEdit) {
0 && nbSelected < photos.length" (ionChange)="setAllSelected($event.detail.checked)">
{{nbSelected}} / {{photos.length}} {{nbSelected > 1 ? i18n.texts.pages.photos_popup.selected_plural : i18n.texts.pages.photos_popup.selected_single}}
@if (nbSelected > 0) {
:
{{i18n.texts.buttons.delete}}
}
}
@for (photoWithInfo of photos; track photoWithInfo.photo.uuid + photoWithInfo.photo.owner) {
@if (canEdit) {
@if ($index > 0) {
}
@if ($index < photos.length - 1) {
}
}
@if (photoWithInfo.editing === null) {
@if (photoWithInfo.photo.description.trim().length === 0) {
{{i18n.texts.pages.trail.photo_no_description}}
} @else {
{{photoWithInfo.photo.description}}
}
} @else {
}
}
}
}