@if (config.updateCheckEnabled || channelStatus?.switcherAvailable) {

{{ 'updatesSection.title' | translate }}

{{ 'updatesSection.hint' | translate }}

@if (config.updateCheckEnabled) {

{{ 'updatesSection.stableChannel' | translate }}

@if (updateStatus && !updateStatus.enabled) {
{{ 'updatesSection.featureNotConfigured' | translate }}
} @if (updateStatus?.enabled) {
@if (updateStatus?.updateAvailable) {
{{ 'updatesSection.updateAvailable' | translate }}
} @if (updateStatus?.anyUnknown && !updateStatus?.updateAvailable) {
{{ 'updatesSection.checkImpossible' | translate }}
} @if (!updateStatus?.updateAvailable && !updateStatus?.anyUnknown) {
{{ 'updatesSection.upToDate' | translate:{ date: (updateStatus?.checkedAt | date:'short') } }}
} @if (updateStatus?.updateAvailable) {
} @if (updateMessage) {
{{ updateMessage }}
}
}
} @if (channelStatus) {

{{ 'updatesSection.betaChannelTitle' | translate }}

{{ 'updatesSection.betaChannelIntro' | translate }}

@if (channelStatus.currentChannel === 'beta') {
@if (betaChecking) {
{{ 'updatesSection.checkingBetaImages' | translate }}
} @if (!betaChecking && betaStatus?.enabled) { @if (betaStatus?.updateAvailable) {
{{ 'updatesSection.betaUpdateAvailable' | translate }}
@if (config.updateCheckEnabled) {
} } @else if (betaStatus?.anyUnknown) {
{{ 'updatesSection.betaCheckImpossible' | translate }}
} @else {
{{ 'updatesSection.betaUpToDate' | translate:{ date: (betaStatus?.checkedAt | date:'short') } }}
} }
}
{{ 'updatesSection.currentChannel' | translate }} {{ (channelStatus.currentChannel === 'beta' ? 'updatesSection.channelBeta' : 'updatesSection.channelStable') | translate }}
@if (channelStatus.switcherAvailable) { @if (channelStatus.currentChannel === 'stable') { } @if (channelStatus.currentChannel === 'beta') { } @if (switchInFlight) {
{{ 'updatesSection.switchInProgressNotice' | translate }}
} @if (switchError && !switchInFlight) {
{{ switchError }}
} } @if (!channelStatus.switcherAvailable) {
}
}
}