summaryrefslogtreecommitdiff
path: root/foundry/views/changelog.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'foundry/views/changelog.tpl')
-rw-r--r--foundry/views/changelog.tpl42
1 files changed, 42 insertions, 0 deletions
diff --git a/foundry/views/changelog.tpl b/foundry/views/changelog.tpl
new file mode 100644
index 0000000..f6d3a75
--- /dev/null
+++ b/foundry/views/changelog.tpl
@@ -0,0 +1,42 @@
1<style type="text/css">
2.branchtag, .tagtag
3{
4 border: 1px solid;
5 padding: 2px 6px;
6}
7
8.branchtag
9{
10 background-color: #AFA;
11 border-color: #CFC #0C3 #0C3 #CFC;
12}
13
14.tagtag
15{
16 background-color: #FFA;
17 border-color: #FFC #FE0 #FE0 #FFC;
18}
19</style>
20
21<table>
22<tr>
23 <th>Changed</th>
24 <th>User</th>
25 <th>Summary</th>
26</tr>
27{% for changeset in repo %}
28<tr>
29 <td>{{ changeset.date()|nice_date_delta }}</td>
30 <td>{{ changeset.user() }}</td>
31 <td>
32 {{ changeset.description() }}
33 {% for tag in changeset.tags() %}
34 <span class="tagtag">{{ tag }}</span>
35 {% endfor %}
36 {% if changeset.branch() != 'default' %}
37 <span class="branchtag">{{ changeset.branch() }}</span>
38 {% endif %}
39 </td>
40</tr>
41{% endfor %}
42</table>