{% extends "base.html" %} {% block content %}
{% with staff_nav_active="teams" %} {% include "partials/staff_sidebar.html" %} {% endwith %}
{% set breadcrumbs = [ {"name": "Staff", "href": "/staff"}, {"name": "Teams", "href": "/staff/teams"}, {"name": team.name, "href": "/staff/teams/" ~ team.uuid}, {"name": "Repos"} ] %} {% include "partials/breadcrumbs.html" %}

{{ team.name }}

{% with team_tabs_base="/staff/teams/" ~ team.uuid, team_tabs_active="repos" %} {% include "partials/team_tabs.html" %} {% endwith %}
Team repos
Create repo
{% with search_reset_url="/staff/teams/" ~ team.uuid ~ "/repos", search_actions_col_class="col-12 col-md-4 col-lg-4" %} {% include "partials/search_actions.html" %} {% endwith %}
{% if repos_page.results | length == 0 %}

No repositories yet.

{% 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 repos_page.results %} {% endfor %}
Name Visibility Status Created {% if order_value == "created_at" %} ↑ {% elif order_value == "-created_at" %} ↓ {% 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 }}
{% endif %}
{% with page=repos_page, query=query, per_page_id="team-repos-per-page", per_page_form="team-repos-filters" %} {% include "partials/paging_footer.html" %} {% endwith %}
{% endblock %} {% block scripts %} {% endblock %}