{% extends "base.html" %} {% block content %} {% set from_page = request.query_params.get("from", "") %} {% set from_labels = {"mrs": "Merge Requests", "pipelines": "Pipelines", "vulns": "Vulnerabilities", "events": "Events"} %} {% if repo %}

{{ repo.name }}

{{ repo.branch or "detached" }} {% if repo.stale %}stale{% endif %} {% if repo.ahead %}↑{{ repo.ahead }}{% endif %} {% if repo.behind %}↓{{ repo.behind }}{% endif %} {% if repo.pull_status == "conflict" %}⚠ conflict{% endif %} {% if repo.remote_url %}— GitLab ↗{% endif %}

{% if repo.default_ahead or repo.default_behind %}

{% if repo.default_ahead %}↑{{ repo.default_ahead }}{% endif %} {% if repo.default_behind %}↓{{ repo.default_behind }}{% endif %} from {{ repo.default_branch }}

{% endif %}
{% if repo.pull_status == "clean" %} {% endif %} {% if repo.stale and repo.default_branch %} {% endif %}
{% if repo.has_forge %}

Merge Requests

Pipelines

{% set gl = repo.remote_url | replace('.git', '') %} {% if gl %}GitLab ↗{% endif %}

Vulnerabilities

active ยท default branch {% if gl %}GitLab ↗{% endif %}
{% endif %} {% else %}

Repo {{ repo_name }} not found.

{% endif %} {% endblock %}