src/server/http/templates/patches.html
Ref: Size: 952 B
{% extends "repo_base.html" %}
{% block title %}Patches — {{ repo_name }} — {{ site_title }}{% endblock %}
{% block content %}
<h2>Patches</h2>
{% if patches.is_empty() %}
<p style="color: #666;">No patches.</p>
{% else %}
<table>
<thead>
<tr>
<th>ID</th>
<th>Status</th>
<th>Title</th>
<th>Author</th>
<th>Branch</th>
<th>Updated</th>
</tr>
</thead>
<tbody>
{% for p in patches %}
<tr>
<td class="mono"><a href="/{{ repo_name }}/patches/{{ p.id }}">{{ p.short_id }}</a></td>
<td><span class="status-{{ p.status }}">{{ p.status }}</span></td>
<td><a href="/{{ repo_name }}/patches/{{ p.id }}">{{ p.title }}</a></td>
<td style="color: #666;">{{ p.author }}</td>
<td class="mono" style="color: #666;">{{ p.branch }}</td>
<td class="mono" style="color: #666;">{{ p.updated }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endif %}
{% endblock %}