{% extends "base.html" %} {% block title %}Repositories - GitHub to Gitea Mirror{% endblock %} {% block content %}
GitHub Repository | Gitea Repository | Mirror Type | Mirror Interval | Last Mirrored | Status | Actions |
---|---|---|---|---|---|---|
{{ repo.github_repo }} | {{ repo.gitea_owner }}/{{ repo.gitea_repo }} | {% if repo.is_mirror %} Pull Mirror {% else %} Legacy {% endif %} | {{ repo.mirror_interval }} | {{ repo.last_mirror_date }} |
{% if repo.last_mirror_status == 'success' %}
Success
{% elif repo.last_mirror_status == 'warning' %}
Warning
{% if repo.last_mirror_messages and repo.last_mirror_messages|length > 0 %}
{% if repo.last_mirror_log %}
{{ repo.last_mirror_messages[0] }}
{% else %}
{{ repo.last_mirror_messages[0] }}
{% endif %}
{% if repo.last_mirror_messages|length > 1 %}
and {{ repo.last_mirror_messages|length - 1 }} more issues
{% endif %}
{% endif %}
{% elif repo.last_mirror_status == 'error' %}
Error
{% if repo.last_mirror_messages and repo.last_mirror_messages|length > 0 %}
{% if repo.last_mirror_log %}
{{ repo.last_mirror_messages[0] }}
{% else %}
{{ repo.last_mirror_messages[0] }}
{% endif %}
{% if repo.last_mirror_messages|length > 1 %}
and {{ repo.last_mirror_messages|length - 1 }} more issues
{% endif %}
{% endif %}
{% else %}
Unknown
{% endif %}
|
Configure |