My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/apps/servers/octopus/templates/repo/details.html

49 lines
918 B

{% extends "base.html" %}
{% block child_content %}
<table class="details-table">
<thead>
<tr>
<th>Branch</th>
<th>Commit message</th>
<th>Author</th>
<th>Date</th>
</tr>
</thead>
<tbody>
{% for b in branches %}
<tr>
<td>{{ b.name }}</td>
<td>{{ b.last_commit.message }}</td>
<td>{{ b.last_commit.author }}</td>
<td>{{ b.last_commit.date }}</td>
</tr>
{% endfor %}
</tbody>
</table>
<table class="details-table">
<thead>
<tr>
<th>Hash</th>
<th>Commit message</th>
<th>Author</th>
<th>Date</th>
<th>Lines</th>
</tr>
</thead>
<tbody>
{% for c in commits %}
<tr>
<td>{{ c.hash }}</td>
<td>{{ c.message }}</td>
<td>{{ c.author }}</td>
<td>{{ c.date }}</td>
<td>+{{ c.diff.0 }}/ -{{ c.diff.1 }}
</tr>
{% endfor %}
</tbody>
</table>
{% endblock %}