tablejohn/templates/queue_table.html
Joscha 6ed6ff1a36 Ensure base path always starts and ends with /
The base path is an absolute path, so it should always start with /.
Whenever it is used, it must also always be followed by at least one /,
so baking that into the value makes sense. Finally, we can now
deduplicate the / in case the base path is the root.
2023-08-10 21:03:25 +02:00

24 lines
623 B
HTML

{% import "util.html" as util %}
<table class="queue">
<thead>
<tr>
<th>commit</th>
<th>since</th>
<th>prio</th>
</tr>
</thead>
<tbody>
{% for task in tasks %}
<tr {% if task.odd %} class="odd" {% endif %}>
<td>
<a href="{{ base.root }}commit/{{ task.hash }}">
{% call util::commit_short(task.short, task.reachable) %}
</a>
</td>
<td>{{ task.since }}</td>
<td>{{ task.priority }}</td>
</tr>
{% endfor %}
</tbody>
</table>