Identify queue items by commit hash, not id
This commit is contained in:
parent
bf08d00922
commit
e5de9ccb97
11 changed files with 42 additions and 186 deletions
|
|
@ -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 %}
|
||||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue