summaryrefslogtreecommitdiff
path: root/foundry/views/changelog.tpl
blob: f6d3a75b74ee1e061345309740ac7b75da64a45d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<style type="text/css">
.branchtag, .tagtag
{
    border: 1px solid;
    padding: 2px 6px;
}

.branchtag
{
    background-color: #AFA;
    border-color: #CFC #0C3 #0C3 #CFC;
}

.tagtag
{
    background-color: #FFA;
    border-color: #FFC #FE0 #FE0 #FFC;
}
</style>

<table>
<tr>
    <th>Changed</th>
    <th>User</th>
    <th>Summary</th>
</tr>
{% for changeset in repo %}
<tr>
    <td>{{ changeset.date()|nice_date_delta }}</td>
    <td>{{ changeset.user() }}</td>
    <td>
        {{ changeset.description() }}
        {% for tag in changeset.tags() %}
        <span class="tagtag">{{ tag }}</span>
        {% endfor %}
        {% if changeset.branch() != 'default' %}
        <span class="branchtag">{{ changeset.branch() }}</span>
        {% endif %}
    </td>
</tr>
{% endfor %}
</table>