1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://purl.org/kid/ns#"
3
py:extends="'master.kid'">
5
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" py:replace="''"/>
6
<title> ${branch_name} : revision ${util.clean_revid(revid)} </title>
13
<h1> <span class="branch-name">${branch_name}</span> : revision ${revno} </h1>
15
<div class="info-entries">
18
<th class="revision">revision:</th>
19
<td class="revision"> ${revision_link(revid, revno)} </td>
22
<th class="revision">parents:</th>
24
<span py:for="p in parents">
25
${revision_link(p.revid, p.revno)} <br />
30
<th class="revision">children:</th>
32
<span py:for="c in children">
33
${revision_link(c.revid, c.revno)} <br />
38
<th class="author">committer:</th>
39
<td class="author"> ${util.hide_email(author)} </td>
42
<th class="date">date:</th>
43
<td class="date"> ${date.strftime('%d %b %Y %H:%M')} </td>
46
<th class="description">description:</th>
47
<td class="description"> <span py:for="line in comment">${line} <br /></span> </td>
49
<tr class="divider"> <th></th> <td></td> </tr>
50
<tr py:if="changes.added">
51
<th class="files"> files added: </th>
52
<td class="files"> <span py:for="filename in changes.added">${filename} <br /></span> </td>
54
<tr py:if="changes.removed">
55
<th class="files"> files removed: </th>
56
<td class="files"> <span py:for="filename in changes.removed">${filename} <br /></span> </td>
58
<tr py:if="changes.renamed">
59
<th class="files"> files renamed: </th>
60
<td class="files"> <span py:for="old_filename, new_filename in changes.renamed">${old_filename} => ${new_filename}<br /></span> </td>
62
<tr py:if="changes.modified">
63
<th class="files"> files modified: </th>
64
<td class="files"> <span py:for="item in changes.modified">${item.filename} <br /></span> </td>
69
<div class="diff" py:if="changes.modified">
70
<table py:for="item in changes.modified" class="diff-block">
71
<tr><th class="filename"> ${item.filename} </th></tr>
73
<table py:for="chunk in item.chunks" class="diff-chunk">
74
<tr> <th class="lineno">old</th> <th class="lineno">new</th> <th></th> </tr>
75
<tr py:for="line in chunk.diff">
76
<td class="lineno">${line.old_lineno}</td>
77
<td class="lineno">${line.new_lineno}</td>
78
<td class="${line.type}">${XML(line.line)}</td>