Use same commit link style everywhere
This commit is contained in:
parent
2b81d497bc
commit
794787a4be
10 changed files with 96 additions and 75 deletions
|
|
@ -1,4 +1,5 @@
|
|||
{% extends "base.html" %}
|
||||
{% import "util.html" as util %}
|
||||
|
||||
{% block title %}overview{% endblock %}
|
||||
|
||||
|
|
@ -9,7 +10,11 @@
|
|||
<dl>
|
||||
{% for ref in tracked_refs %}
|
||||
<dt>{{ ref.name }}</dt>
|
||||
<dd><a href="{{ base.root }}/commit/{{ ref.hash }}">{{ ref.short }}</a></dd>
|
||||
<dd>
|
||||
<a href="{{ base.root }}/commit/{{ ref.hash }}">
|
||||
{% call util::commit_short(ref.short, ref.reachable) %}
|
||||
</a>
|
||||
</dd>
|
||||
{% endfor %}
|
||||
</dl>
|
||||
</details>
|
||||
|
|
@ -18,7 +23,11 @@
|
|||
<dl>
|
||||
{% for ref in untracked_refs %}
|
||||
<dt>{{ ref.name }}</dt>
|
||||
<dd><a href="{{ base.root }}/commit/{{ ref.hash }}">{{ ref.short }}</a></dd>
|
||||
<dd>
|
||||
<a href="{{ base.root }}/commit/{{ ref.hash }}">
|
||||
{% call util::commit_short(ref.short, ref.reachable) %}
|
||||
</a>
|
||||
</dd>
|
||||
{% endfor %}
|
||||
</dl>
|
||||
</details>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue