{% extends "profile_base.html" %} {% set profile_nav_active = "repos" %} {% block profile_content %}
{% set breadcrumbs = [ {"name": current_user.name | display_name(current_user.username), "href": "/profile"}, {"name": "Repos"} ] %} {% include "partials/breadcrumbs.html" %}
{% include "partials/flash.html" %}
Personal repos
{% if can_create_repo %} Create repo {% endif %}
{% with search_reset_url="/profile/repos", search_actions_col_class="col-12" %} {% include "partials/search_actions.html" %} {% endwith %}
{% if page.results | length == 0 %}

No repos found.

{% 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 page.results %} {% endfor %}
Name Visibility Created {% if order_value == "created_at" %} ↑ {% elif order_value == "-created_at" %} ↓ {% endif %}
{% if repo.visibility == "public" %} Public {% else %} Private {% endif %} {{ repo.created_at | humantime }}
{% endif %}
{% with page=page, query=query, per_page_id="profile-personal-repo-per-page", per_page_form="profile-personal-repo-filters" %} {% include "partials/paging_footer.html" %} {% endwith %}
{% endblock %} {% block scripts %} {% endblock %}