Identify queue items by commit hash, not id

This commit is contained in:
Joscha 2023-08-09 16:19:46 +02:00
parent bf08d00922
commit e5de9ccb97
11 changed files with 42 additions and 186 deletions

View file

@ -1,25 +0,0 @@
{% extends "base.html" %}
{% import "util.html" as util %}
{% block title %}{{ summary }}{% endblock %}
{% block body %}
<h2>Task</h2>
<div class="task">
<span class="id">task {{ id }}</span>
<dl>
<dt>Created:</dt>
<dd>{{ date }}</dd>
<dt>Priority:</dt>
<dd>{{ priority }}</dd>
<dt>Commit:</dt>
<dd>
<a href="{{ base.root }}/commit/{{ hash }}">
{% call util::commit_short(short, reachable) %}
</a>
</dd>
</dl>
</div>
{% endblock %}

View file

@ -12,7 +12,7 @@
{% for task in tasks %}
<tr {% if task.odd %} class="odd" {% endif %}>
<td>
<a href="{{ task.id }}">
<a href="{{ base.root }}/commit/{{ task.hash }}">
{% call util::commit_short(task.short, task.reachable) %}
</a>
</td>