a73x

src/server/http/templates/issues.html

Ref:   Size: 932 B

{% extends "repo_base.html" %}

{% block title %}Issues — {{ repo_name }} — {{ site_title }}{% endblock %}

{% block content %}
<h2>Issues</h2>
{% if issues.is_empty() %}
<p style="color: #666;">No issues.</p>
{% else %}
<table>
  <thead>
    <tr>
      <th>ID</th>
      <th>Status</th>
      <th>Title</th>
      <th>Author</th>
      <th>Labels</th>
      <th>Updated</th>
    </tr>
  </thead>
  <tbody>
    {% for i in issues %}
    <tr>
      <td class="mono"><a href="/{{ repo_name }}/issues/{{ i.id }}">{{ i.short_id }}</a></td>
      <td><span class="status-{{ i.status }}">{{ i.status }}</span></td>
      <td><a href="/{{ repo_name }}/issues/{{ i.id }}">{{ i.title }}</a></td>
      <td style="color: #666;">{{ i.author }}</td>
      <td style="color: #666;">{{ i.labels }}</td>
      <td class="mono" style="color: #666;">{{ i.updated }}</td>
    </tr>
    {% endfor %}
  </tbody>
</table>
{% endif %}
{% endblock %}