{% extends "base.html" %} {% load i18n %} {% block breadcrumbs %} {% endblock breadcrumbs %} {% block content %}

{% blocktranslate with login=installation.target_login %}Connected GitHub account: {{ login }}{% endblocktranslate %} {% if github_app_install_url %} {% translate "Add or configure account" %} {% endif %}
{% csrf_token %}

{% include "vcs/snippets/github_account_remove_modal.html" with installation=installation csrf_token=csrf_token only %}
{% if not app_configured %}
{% blocktranslate with hostname=installation.hostname %}Weblate GitHub app credentials are not registered for {{ hostname }}. Token refresh and webhook signature checks will not work until the App credentials are registered again.{% endblocktranslate %}
{% endif %} {% if github_app_install_url %} {% include "vcs/github_install_help.html" %} {% endif %}
{% translate "GitHub installation ID" %}
{{ installation.installation_id }}
{% translate "Account" %}
{{ installation.target_login }} ({{ installation.target_type }})
{% translate "Workspace" %}
{{ installation.workspace }}
{% translate "Hostname" %}
{{ installation.hostname }}
{% translate "Status" %}
{% if installation.enabled %} {% translate "Active" %} {% else %} {% translate "Disabled" %} {% endif %}
{% if installation.repositories_updated %}
{% translate "Repositories updated" %}
{{ installation.repositories_updated }}
{% endif %}

{% translate "Available Repositories" %} {{ repositories|length }}

{% if repositories %} {% for repo in repositories %} {% endfor %}
{% translate "Repository" %} {% translate "Branch" %} {% translate "Visibility" %} {% translate "Actions" %}
{{ repo.full_name }} {% if repo.description %}
{{ repo.description }} {% endif %}
{{ repo.default_branch }} {% if repo.private %} {% translate "Private" %} {% else %} {% translate "Public" %} {% endif %} {% if repo.import_url %} {% translate "Import" %} {% else %} {% translate "Unavailable" %} {% endif %}
{% else %}

{% translate "No repositories found. Click 'Refresh repositories' to fetch the list from GitHub." %}

{% endif %}
{% endblock content %}