{% if is_owner or current_user.is_staff %}
{% with
repo=repo,
csrf_token=form.csrf_token,
status_action_href="/profile/repos/" ~ repo.uuid ~ "/status",
delete_action_href="/profile/repos/" ~ repo.uuid ~ "/delete"
%}
{% include "partials/repo_settings_danger.html" %}
{% endwith %}
{% endif %}
{% 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 %}