{% extends "base.html" %}

{% block content %}
<p><a href="/">← 대시보드</a></p>

<section>
  <h2>{{ repo_name }} · 버전</h2>
  <div id="flash"></div>

  {% if error %}
    <p class="status-line status-bad">버전 목록을 불러오지 못했습니다: {{ error }}</p>
  {% else %}
    <div class="verify-detail">
      <span class="badge badge-{{ verification.status.level }}">{{ verification.status.label }}</span>
      <small>
        gpgcheck={{ verification.gpgcheck }} ·
        repo-gpgcheck={{ verification.repo_gpgcheck }} ·
        checksum={{ verification.checksum_type }}
      </small>
    </div>

    {% include "partials/version_list.html" %}
  {% endif %}
</section>

<!-- 배포 확인 모달이 여기에 로드된다 -->
<div id="modal"></div>
{% endblock %}
