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} : contents of ${path} at revision ${change.revno} </title>
13
<h1> <span class="branch-name">${branch_name}</span> : <span class="annotate-path">${path}</span> (revision ${change.revno})
15
<div> <b>→</b> <a href="${tg.url([ '/files', revid ])}"> browse files </a> </div>
16
<div> <b>→</b> <a href="${tg.url('/revision', start_revid=revid)}"> view revision </a> </div>
20
<!-- !FIXME: this is just copied verbatim from revision.kid -->
21
<!--div class="revision-info">
24
<th class="author">committed by:</th>
25
<td class="author"> ${util.hide_email(change.author)} </td>
28
<th class="date">date:</th>
29
<td class="date"> ${change.date.strftime('%d %b %Y %H:%M')} </td>
32
<tr py:if="len(change.merge_points) > 0">
33
<th class="children"> merged in: </th>
35
<span py:for="child in change.merge_points">
36
${revlink_path(child.revid, child.revid, '(' + child.revno + util.if_present(' %s', child.branch_nick) + ')', None)}
40
<tr py:if="len(change.parents) > 1">
41
<th class="parents"> merged from: </th>
43
<span py:for="parent in change.parents"><span py:if="parent.revid != change.parents[0].revid">
44
${revlink_path(parent.revid, parent.revid, '(' + parent.revno + util.if_present(' %s', parent.branch_nick) + ')', None)}
50
<th class="description">description:</th>
51
<td class="description"><span py:for="line in change.comment_clean">${XML(line)} <br /></span></td>
56
<div class="annotate">
59
<th class="lineno"> Line# </th>
60
<th class="revision"> Revision </th>
61
<th class="text"> Contents </th>
64
<tr py:for="line in contents" class="parity${line.parity}">
65
<td class="lineno ${line.status}"> ${line.lineno} </td>
66
<td class="revno ${line.status}">
67
<a py:if="line.status=='changed'" href="${tg.url('/revision', start_revid=line.change.revid, path=path)}"
68
title="${line.change.revno} by ${util.hide_email(line.change.author)}, on ${line.change.date.strftime('%d %b %Y %H:%M')} (${util.ago(line.change.date)})">${line.trunc_revno}</a>
70
<!--td class="author"> ${util.hide_email(line.author)} </td-->
71
<td class="text ${line.status}"> ${XML(line.text)} </td>