{% extends "profile_base.html" %} {% set profile_nav_active = "repos" %} {% set profile_repo_subnav_active = "overview" %} {% block profile_content %}
{% with breadcrumbs=[ {"name": current_user.name | display_name(current_user.username), "href": "/profile"}, {"name": "Repos", "href": "/profile/repos"}, {"name": repo.name} ] %} {% include "partials/breadcrumbs.html" %} {% endwith %}
{% include "profile/personal_repo_subnav.html" %} {% include "partials/flash.html" %} {% if repo.status == "archived" %} {% endif %}
Repo details
{% set is_team_repo = false %} {% set slug_check_url = "" %} {% set slug_feedback_id = "" %} {% set slug_feedback_prefix = "" %} {% set slugify_source_id = "" %} {% set slugify_target_id = "" %} {% set slug_readonly = true %} {% set private_visibility_help_text = "Only visible to you." %}
{% include "partials/repo_form_identity.html" %} {% include "partials/repo_form_visibility.html" %}
{% if can_edit %}
{% with primary_label="Save changes", secondary_label="Reset", secondary_type="reset" %} {% include "partials/form_actions.html" %} {% endwith %}
{% endif %}
Repo metadata
{% if is_owner %} Owner {% endif %} {% if repo.status == "archived" %} Archived {% elif repo.status == "deleted" %} Deleted {% endif %} {% if repo.visibility == "public" %} Public {% else %} Private {% endif %}
{% with copy_input_id="profile-repo-uuid", copy_input_value=repo.uuid, copy_input_prefix="UUID" %} {% include "partials/copy_input.html" %} {% endwith %}
Repo page
/{{ owner.username }}/{{ repo.slug }}
{% if forked_from %}
Forked from
{{ forked_from.path }}
{% endif %}
Owner
{% with user_link_href = "/" ~ owner.username, user_link_username = owner.username, user_link_label = owner.name | display_name(owner.username), user_link_class = "" %} {% include "partials/hover_card_user_link.html" %} {% endwith %}
{% 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 %}