{% extends "base.html" %} {% from "_macros.html" import icon, lang_dot, repo_list, star_button %} {% block title %}{{ owner.username }} · Porjay{% endblock %} {% block header_context %} {{ owner.username }} {% endblock %} {% block content %}
{% if tab == 'overview' %}

{{ 'Pinned & Popular' if pinned else 'Repositories' }}

{% if is_me %}{{ icon("plus") }} New repository{% endif %}
{% if pinned %}
{% for r in pinned %}
{{ icon("lock" if not r.public else "repo") }} {{ r.name }} {{ 'Private' if not r.public else 'Public' }}

{{ r.description or 'No description provided.' }}

{% if r.primary_lang %}{{ lang_dot(r.primary_lang) }}{% endif %} {{ icon("commit") }} {{ r.checkins }} {{ icon("star") }} {{ r.stars }} {{ r.last | age }}
{% endfor %}
{% else %}

No repositories yet

{% if is_me %}Create your first repository to showcase your work here.{% else %}{{ owner.username }} hasn’t published any repositories yet.{% endif %}

{% if is_me %}

Create repository

{% endif %}
{% endif %}

{{ contributions.total }} check-in{{ '' if contributions.total == 1 else 's' }} in the last year

Hover a square for details
{% for m in contributions.months %} {{ m.label }} {% endfor %} Mon Wed Fri {% for week in contributions.weeks %} {% set widx = loop.index0 %} {% for day in week %} {{ day.date }}: {{ day.count }} check-in{{ '' if day.count == 1 else 's' }} {% endfor %} {% endfor %}
Less More
{% if contributions.per_repo %}

Contribution activity

Last 12 months
{% endif %} {% if rows %}

Recent repositories

View all {{ rows | length }} →
{{ repo_list(rows[:5], csrf=csrf, user=user, next_url="/" ~ owner.username) }} {% endif %} {% elif tab == 'repositories' %}

Repositories

{% if is_me %}{{ icon("plus") }} New{% endif %}
{% if rows %}
{% if user_langs %} {% endif %} {% if is_me %} {% endif %}
{% endif %} {{ repo_list(rows, csrf=csrf, user=user, next_url="/" ~ owner.username ~ "?tab=repositories", show_pin=is_me, filterable=True, empty=("You have no repositories yet. Create one to start." if is_me else owner.username ~ " has no public repositories yet.")) }} {% elif tab == 'stars' %}

Starred repositories

{{ repo_list(starred_rows, csrf=csrf, user=user, next_url="/" ~ owner.username ~ "?tab=stars", empty=("You haven’t starred any repositories yet." if is_me else owner.username ~ " hasn’t starred any public repositories yet.")) }} {% endif %}
{% endblock %}