List tracked refs on index page
This commit is contained in:
parent
2b4a5d4021
commit
3b4d8dab72
5 changed files with 89 additions and 8 deletions
|
|
@ -1,5 +1,21 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block body %}
|
||||
<h1>{{ repo_name }}</h1>
|
||||
<h2>Tracked refs</h2>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>ref</th>
|
||||
<th>points to</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for ref in refs %}
|
||||
<tr>
|
||||
<td>{{ ref.name }}</td>
|
||||
<td><a href="{{ base }}/commit/{{ ref.hash }}">{{ ref.short }}</a></td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
{% endblock %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue