{% extends "admin/base_site.html" %} {% load i18n %} {% block title %}{% translate "Repository work" %}{% endblock %} {% block extrahead %} {{ block.super }} {% endblock %} {% block extrastyle %} {{ block.super }} {% endblock %} {% block breadcrumbs %} {% endblock %} {% block content %}
{% if selected_repository %} {% if can_sync %}
{% csrf_token %} {% if selected_assignment_node %}{% endif %}
{% endif %}

{% blocktranslate trimmed with seconds=refresh_seconds repository=selected_repository.slug %} Showing stored work for {{ repository }}. This page refreshes every {{ seconds }} seconds. {% endblocktranslate %} {% if selected_assignment_node %} {% blocktranslate trimmed with node=selected_assignment_node.hostname %} Assignment actions target {{ node }}. {% endblocktranslate %} {% endif %}

{% else %}

{% translate "Configure a GitHub repository before viewing repository work." %}

{% endif %}

{% blocktranslate with count=issue_count %}Issues ({{ count }}){% endblocktranslate %}

{% if issue_rows %} {% for row in issue_rows %} {% endfor %}
{% translate "Issue" %} {% translate "Title" %} {% translate "Labels" %} {% translate "State" %} {% translate "Tracked" %} {% translate "Assigned" %}
{% if row.item.html_url %} #{{ row.item.number }} {% else %} #{{ row.item.number }} {% endif %} {{ row.item.title }}
{% for label in row.label_names %} {{ label }} {% if can_manage_labels %}
{% csrf_token %} {% if selected_assignment_node %}{% endif %}
{% endif %} {% empty %} {% translate "No labels" %} {% endfor %}
{% if can_manage_labels %}
{% csrf_token %} {% if selected_assignment_node %}{% endif %}
{% endif %}
{{ row.item.state }} {% if row.monitor_items %} {% if can_view_monitor_items %} {% translate "Tracked" %}: {{ row.monitor_statuses }} {% else %} {% translate "Tracked" %}: {{ row.monitor_statuses }} {% endif %} {% endif %} {% if row.assigned_to_local_node %} {% if row.local_patchwork_authorized %} {% translate "Active here" %} {% else %} {% translate "Assigned here" %} {% endif %} {% if can_authorize_patchwork and not row.local_patchwork_authorized %}
{% csrf_token %} {% if selected_assignment_node %}{% endif %}
{% endif %} {% if can_remove_assignments %}
{% csrf_token %} {% if selected_assignment_node %}{% endif %}
{% endif %} {% elif can_assign_work and selected_assignment_node %}
{% csrf_token %}
{% endif %}
{% else %}

{% translate "No stored issues for this repository." %}

{% endif %}

{% blocktranslate with count=pull_request_count %}Pull requests ({{ count }}){% endblocktranslate %}

{% if pull_request_rows %} {% for row in pull_request_rows %} {% endfor %}
{% translate "PR" %} {% translate "Title" %} {% translate "Labels" %} {% translate "State" %} {% translate "Tracked" %} {% translate "Assigned" %}
{% if row.item.html_url %} #{{ row.item.number }} {% else %} #{{ row.item.number }} {% endif %} {{ row.item.title }}
{% for label in row.label_names %} {{ label }} {% if can_manage_labels %}
{% csrf_token %} {% if selected_assignment_node %}{% endif %}
{% endif %} {% empty %} {% translate "No labels" %} {% endfor %}
{% if can_manage_labels %}
{% csrf_token %} {% if selected_assignment_node %}{% endif %}
{% endif %}
{{ row.item.state }} {% if row.monitor_items %} {% if can_view_monitor_items %} {% translate "Tracked" %}: {{ row.monitor_statuses }} {% else %} {% translate "Tracked" %}: {{ row.monitor_statuses }} {% endif %} {% endif %} {% if row.assigned_to_local_node %} {% if row.local_patchwork_authorized %} {% translate "Active here" %} {% else %} {% translate "Assigned here" %} {% endif %} {% if can_authorize_patchwork and not row.local_patchwork_authorized %}
{% csrf_token %} {% if selected_assignment_node %}{% endif %}
{% endif %} {% if can_remove_assignments %}
{% csrf_token %} {% if selected_assignment_node %}{% endif %}
{% endif %} {% elif can_assign_work and selected_assignment_node %}
{% csrf_token %}
{% endif %}
{% else %}

{% translate "No stored pull requests for this repository." %}

{% endif %}
{% endblock %}