{% extends "base.html" %} {% import "repo_tabs.html" as m %} {% block title %}Settings · {{ repo.owner }}/{{ repo.name }}{% endblock %} {% block bodyattrs %} data-repo="{{ repo.url }}"{% endblock %} {% block tabs %}{% call m::tabs(repo, "settings") %}{% endblock %} {% block content %}

Settings {{ repo.owner }}/{{ repo.name }}

{% if let Some(n) = notice %}

{{ n }}

{% endif %} {% if let Some(e) = error %}

{{ e }}

{% endif %}

General

Landing requirements

{% if role == crate::auth::Role::Admin %}

Collaborators

{% if collaborators.is_empty() %}

Nobody beyond the owner{% if !teams.is_empty() %} and the organisation's members{% endif %}.

{% else %} {% for c in collaborators %} {% endfor %}
{% if let Some(a) = c.account %}{{ a.username }}{% else if let Some(t) = c.team %}team {{ t.name }}{% endif %}{{ c.role }}
{% if let Some(a) = c.account %}{% else if let Some(t) = c.team %}{% endif %}
{% endif %}
{% if !teams.is_empty() %}
{% endif %}
Delete this repository

The repository moves to the trash and is removed after the retention period. Type {{ repo.owner }}/{{ repo.name }} to confirm.

{% endif %} {% endblock %}