{% extends "base.html" %} {% block content %}
{% with staff_nav_active="repos" %} {% include "partials/staff_sidebar.html" %} {% endwith %}
{% set breadcrumbs = [ {"name": "Staff", "href": "/staff"}, {"name": "Repos"} ] %} {% include "partials/breadcrumbs.html" %}
{% include "partials/flash.html" %}
Repos
{% with search_reset_url="/staff/repos", search_actions_col_class="col-12 col-md-4 col-lg-4" %} {% include "partials/search_actions.html" %} {% endwith %}
{% if page.results | length == 0 %}

No repos found.

{% else %}
{% set order_value = query.order | default('-created_at', true) %} {% if order_value == "created_at" %} {% set next_order = "-created_at" %} {% else %} {% set next_order = "created_at" %} {% endif %} {% for repo in page.results %} {% endfor %}
Name Visibility Status Created {% if order_value == "created_at" %} ↑ {% elif order_value == "-created_at" %} ↓ {% endif %} Team
{% if repo.team_uuid %} {% set team_slug = team_slugs[repo.team_uuid] %} {% if team_slug is defined %} {{ repo.slug }} {% else %} {{ repo.slug }} {% endif %} {% else %} {% set owner_username = personal_owner_usernames[repo.uuid] %} {% if owner_username is defined %} {{ repo.slug }} {% else %} {{ repo.slug }} {% endif %} {% endif %}
{% if repo.visibility == "public" %} Public {% else %} Private {% endif %} {% if repo.status == "active" %} Active {% elif repo.status == "archived" %} Archived {% else %} Deleted {% endif %} {{ repo.created_at | humantime }} {% if repo.team_uuid %} {{ repo.team_name | default('', true) }} {% else %} {% set owner = personal_owners[repo.created_by_id] %} {% if owner is defined %} {{ owner.name | display_name(owner.username) }} (Personal) {% else %} Personal {% endif %} {% endif %}
{% endif %}
{% with page=page, query=query, per_page_id="repo-per-page", per_page_form="repo-filters" %} {% include "partials/paging_footer.html" %} {% endwith %}
{% endblock %} {% block scripts %} {% endblock %}