{{ "integration.googleSearchConsole.subtitle" | transloco }}

@if (errorKey(); as error) { } @if (notice(); as currentNotice) { }

{{ "integration.googleSearchConsole.title" | transloco }}

@if (stateMessageKey(); as stateMessage) {

{{ stateMessage | transloco }}

}
@if (status()?.connected_account_label; as account) {
{{ "integration.googleSearchConsole.labels.account" | transloco }}
{{ account }}
}
@if (status()?.connected) { @if (status()?.can_manage) { } } @else { }
@if (status()?.connected) {

{{ "integration.googleSearchConsole.labels.propertyMapping" | transloco }}

{{ mappingMessageKey() | transloco: { property: mapping()?.property_uri || selectedPropertyURI() } }}

@if (mappingLoading()) { } @else if (mapping()?.mapped) { } @else { }
@if (propertyErrorKey(); as propertyError) { } @if (mapping() && !canManageMapping()) { } @if (activeSite(); as site) {
{{ "integration.googleSearchConsole.labels.site" | transloco }}
{{ site.domain }}
@if (mapping()?.property_uri; as propertyURI) {
{{ "integration.googleSearchConsole.labels.property" | transloco }}
{{ propertyURI }}
} @if (mapping()?.property_permission_level; as permission) {
{{ "integration.googleSearchConsole.labels.permission" | transloco }}
{{ permission }}
}
@if (showPropertyPicker()) {
} @else if (canManageMapping() && mapping()?.mapped) {
} @if (!mappingLoading()) {

{{ "integration.googleSearchConsole.labels.syncStatus" | transloco }}

{{ syncSummaryKey() | transloco: syncSummaryParams() }}

@if (syncErrorKey(); as syncError) {
{{ "integration.googleSearchConsole.labels.lastError" | transloco }}: {{ syncError | transloco }} @if (showReconnectHint()) { {{ "integration.googleSearchConsole.states.reconnectHint" | transloco }} }
} @if (syncFeedbackKey(); as syncFeedback) { } @if (syncActionErrorKey(); as syncActionError) { }
{{ "integration.googleSearchConsole.labels.lastSuccess" | transloco }}
{{ "integration.googleSearchConsole.labels.lastAttempt" | transloco }}
{{ "integration.googleSearchConsole.labels.importedRange" | transloco }}
{{ syncImportedRangeLabel() }}
@if (syncStatus()?.next_retry_at) {
{{ "integration.googleSearchConsole.labels.nextRetry" | transloco }}
}
@if (canManageMapping() && mapping()?.mapped) {
} @else if (canManageMapping()) { }
} } @else { }
}