{% extends "base.html" %} {% block body %} {% from 'macros.html' import render_pagination %}

{{ _('Push mirrors') }}

{{ _('Add') }} {% for item in pagination.items %} {% set webhook_url = url_for('api_index.schedule_sync_push_mirror', mirror_id=item.id, token=item.hook_token, _external=True) %} {% endfor %}
# {{ _('VCS') }} {{ _('Project name') }} {{ _('Mirror') }} {{ _('Webhook') }} {{ _('Last sync') }} {{ _('Created') }}
{{item.id}} {{item.foreign_vcs_type|format_vcs}} {{item.project.name_with_namespace}} {{item.project_mirror}} {{item.last_sync|format_datetime}} {{item.created|format_datetime}} {% if item.target %} {{ _('Trigger sync') }} {% endif %}
{{render_pagination(pagination)}}
{% endblock %}