{# Cards for the new opt-in connectors (GitHub PAT, Google Calendar OAuth, Slack bot). Rendered by integrations/list.html below the existing provider grid. All forms POST JSON to /api/integrations/{provider}/config and refresh status via /api/integrations/{provider}/status. Tailwind + vanilla JS only. #} {% set _projects_for_connectors = projects_for_connectors|default(None) %} {% set _base_url = request.url_root.rstrip('/') %}

{{ _('Personal connectors') }}

{{ _('Opt-in, per-user integrations. Tokens stay on this account and can be revoked at any time.') }}

{# ============================= GitHub ============================= #}

{{ _('GitHub') }}

{{ _('Create tasks from issues, auto-start a timer when assigned.') }}

{{ _('Not Connected') }}

{{ _('Add this URL to your GitHub repo Settings → Webhooks.') }}

{# ========================== Google Calendar ========================== #}

{{ _('Google Calendar') }}

{{ _('Import events as time entries and (optionally) push entries back.') }}

{{ _('Not Connected') }}

{{ _('Connect your Google account to start syncing calendar events.') }}

{{ _('Connect Google Calendar') }}

{# =============================== Slack =============================== #}

{{ _('Slack') }}

{{ _('Notify a channel on timer events and run /tt slash commands.') }}

{{ _('Not Connected') }}

{{ _('Add a slash command in your Slack app pointing to this URL.') }}