{% extends "base.html" %} {% block title %}{{ username }}'s Contributions{% endblock %} {% block content %}

{% if period == "1_year" %} Past year {% elif period == "2_years" %} Past 2 years {% elif period == "5_years" %} Past 5 years {% elif period == "all_time" %} All time {% endif %} ({{ since_date }} to {{ until_date }})

1 Year 2 Years 5 Years All Time
{% if user_profile %}
{{ username }}'s avatar
{% else %}

{{ username }}'s GitHub Contributions

{% endif %} {% include "components/summary_card.html" %} {% if repositories %}

Contributions by Repository

{% for repo_full_name, repo_prs in repositories.items() %}

{{ repo_full_name }}

{{ repo_prs | length }} PR{{ "s" if (repo_prs | length) != 1 else "" }} {% if total_star_increase and repo_prs[0].star_increase and repo_prs[0].star_increase != 0 %} | {% if repo_prs[0].star_increase == -1 %}>1000{% else %}+{{ repo_prs[0].star_increase }}{% endif %} ⭐ {% endif %}
{% if repo_descriptions and repo_descriptions.get(repo_full_name) %}

{{ repo_descriptions[repo_full_name] }}

{% endif %}
{% for pr in repo_prs %} {% endfor %}
PR Title Status Created
#{{ pr.number }} {{ pr.title }} {% set display_state = pr.get_display_state() %} {% if display_state == "merged" %} Merged {% elif display_state == "open" %} Open {% else %} Closed {% endif %} {% if pr.created_at %} {{ pr.created_at.strftime("%Y-%m-%d") }} {% else %} N/A {% endif %}
{% endfor %}
{% else %}

No pull requests found for this period.

{% endif %} {% if cache_info %}

Report generated {{ cache_info.age }} {% if cache_info.is_stale %} ⚠️ Stale {% endif %}

{% if authenticated %}

Refresh this report

{% else %}

Login to refresh this report

{% endif %}
{% endif %}
{% endblock %}