{% extends 'repository/repo_layout.html' %} {% from "_custom_select.html" import custom_select %} {% block title %}Pull Requests - {{ repo_owner }}/{{ repo_name }} - {{ brand_name }}{% endblock %} {% block repo_content %}

Pull Requests

{{ pull_requests|length }}
{% if session.get('user_id') %} {% endif %}
{% if pull_requests %}
{% for pr in pull_requests %}
{% if pr.status == 'open' %} {% elif pr.status == 'merged' %} {% else %} {% endif %}
#{{ pr.id }} opened {{ pr.created_at | timesince }} by {% if pr.created_by_avatar %} {% else %}
{{ pr.created_by_username[:2] }}
{% endif %} {{ pr.created_by_username }}
{{ pr.source_branch }} {{ pr.target_branch }}
{% endfor %}
{% else %}

No pull requests found

There aren’t any open pull requests.

{% if session.get('user_id') %} {% endif %}
{% endif %}
{% endblock %}