@if (!name) {
{{ 'PAC.KEY_WORDS.NameRequired' | translate: { Default: 'Name is required' } }}
}
@if (integrationProvider(); as provider) { @if (provider.icon) { } @else if (provider.avatar) { } }
@if (option.avatar) { } @else if (option._icon) { }
{{ option.label | i18n }}
{{ option.description | i18n }}
@if (integrationProvider(); as provider) { @if (provider.pro && !pro) { } @else { } } @if (webhookUrl()) {

{{ 'PAC.Integration.WebhookUrl' | translate: { Default: 'Webhook url' } }}:

{{
          webhookUrl()
        }}
} @if (callbackUrl()) {

{{ 'PAC.KEY_WORDS.CallbackUrl' | translate: { Default: 'Callback URL' } }}:

{{
          callbackUrl()
        }}
} @if (authorizationUrl()) {

{{ 'PAC.KEY_WORDS.Authorization' | translate: { Default: 'Authorization' } }}

{{ (longConnectionProbe()?.connected ? 'PAC.Integration.ReconnectSlackHint' : 'PAC.Integration.ConnectSlackHint' ) | translate : { Default: longConnectionProbe()?.connected ? 'Reconnect the Slack app if you need to refresh workspace authorization.' : 'Open Slack to install the app and grant the required workspace scopes.' } }}
} @else if (authorizationRequiresSavedIntegration() && !paramId() && callbackUrl()) {
{{ 'PAC.Integration.SaveIntegrationBeforeAuthorize' | translate : { Default: 'Save this integration first, then the authorization button will appear here.' } }}
} @if (longConnectionProbe(); as probe) {

{{ 'PAC.Integration.LongConnectionStatus' | translate: { Default: 'Long connection status' } }}:

{{ 'PAC.KEY_WORDS.Connected' | translate: { Default: 'Connected' } }}: {{ probe.connected === true ? 'Yes' : probe.connected === false ? 'No' : '-' }}
{{ 'PAC.KEY_WORDS.State' | translate: { Default: 'State' } }}: {{ probe.state || '-' }}
{{ 'PAC.KEY_WORDS.Error' | translate: { Default: 'Last error' } }}: {{ probe.lastError || '-' }}
{{ 'PAC.KEY_WORDS.CheckedAt' | translate: { Default: 'Checked at' } }}: {{ formatCheckedAt(probe.checkedAt) || '-' }}
} @if (testWarnings().length) {

{{ 'PAC.KEY_WORDS.Warnings' | translate: { Default: 'Warnings' } }}:

    @for (warning of testWarnings(); track warning) {
  • {{ warning }}
  • }
}
@if (loading()) { }