{% extends "base.html" %} {% set staff_repo_subnav_active = "overview" %} {% block content %}
{% with staff_nav_active="repos" %} {% include "partials/staff_sidebar.html" %} {% endwith %}
{% with breadcrumbs=[ {"name": "Staff", "href": "/staff"}, {"name": "Repos", "href": "/staff/repos"}, {"name": repo.name} ] %} {% include "partials/breadcrumbs.html" %} {% endwith %}

{{ repo.name }}

{% include "staff/repo_subnav.html" %} {% include "partials/flash.html" %} {% if repo.status == "archived" %} {% elif repo.status == "deleted" %} {% endif %}
Repo details
{% set is_team_repo = team is not none %} {% set slug_check_url = "/api/v1/teams/" ~ team.uuid ~ "/check-repo-slug" if team else "" %} {% set slug_feedback_id = "staff-repo-slug-feedback" %} {% set slug_feedback_prefix = team.slug if team else "" %} {% set slugify_source_id = "" %} {% set slugify_target_id = "" %} {% set slug_readonly = false %} {% set private_visibility_help_text = ("Limited to members of " ~ team.name ~ ".") if team else "Limited to the repository owner." %}
{% include "partials/repo_form_identity.html" %} {% include "partials/repo_form_visibility.html" %}
Cap the repository size in human-readable bytes, such as 1 GB.
{% if can_edit %}
{% with primary_label="Save changes", secondary_label="Reset", secondary_type="reset" %} {% include "partials/form_actions.html" %} {% endwith %}
{% endif %}
Repo metadata
{% if repo.status == "active" %} Active {% elif repo.status == "archived" %} Archived {% else %} Deleted {% endif %} {% if repo.visibility == "public" %} Public {% else %} Private {% endif %}
{% with copy_input_id="staff-repo-uuid", copy_input_value=repo.uuid, copy_input_prefix="UUID" %} {% include "partials/copy_input.html" %} {% endwith %}
Repo page
{{ repo_path }}
Maximum repo size
{{ max_disk_bytes_display }}
Current repo size
{{ disk_bytes_display }}
{% if forked_from %}
Forked from
{{ forked_from.path }}
{% endif %}
Owner
{{ owner.name | display_name(owner.username) }}
Team
{% if team %} {{ team.name }} {% else %} Personal {% endif %}
{% with repo=repo, csrf_token=form.csrf_token, status_action_href="/staff/repos/" ~ repo.uuid ~ "/status", delete_action_href="/staff/repos/" ~ repo.uuid ~ "/delete" %} {% include "partials/repo_settings_danger.html" %} {% endwith %}
{% with modal_id="confirm-repo-public", modal_title="Make repository public", modal_body="Allow anyone with access to the server to view this repository?", modal_confirm_text="Make public", modal_desc="Making a repository public may expose its contents.", modal_manual_submit=true %} {% include "partials/confirm_modal.html" %} {% endwith %} {% endblock %} {% block scripts %} {% endblock %}