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} : files for revision ${change.revno} </title>
13
<h1> <span class="branch-name">${branch_name}</span> : files for revision ${change.revno}
15
<div> <b>→</b> <a href="${tg.url('/revision', start_revid=revid)}"> view revision </a> </div>
16
<div> <b>→</b> <a href="${tg.url('/changes', start_revid=revid)}"> view branch changes </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)} <br />
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)} <br />
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="inventory-path">
57
<b>folder:</b> <span class="folder"> ${path} </span>
60
<table class="inventory" width="100%">
62
<th class="permissions"> Permissions </th>
64
<th> Last change </th>
69
<tr class="parity1" py:if="updir">
70
<td class="permissions">drwxr-xr-x</td>
71
<td class="filename directory"><a href="${tg.url([ '/files', revid ], path=updir)}"> (up) </a></td>
72
<td> </td> <td> </td> <td> </td>
75
<tr py:for="file in filelist" class="parity${file.parity}">
76
<td class="permissions"> ${util.fake_permissions(file.kind, file.executable)} </td>
77
<td class="filename ${file.kind}">
78
<a py:if="file.kind=='directory'" href="${tg.url([ '/files', revid ], path=posixpath.join(path, file.pathname))}">${file.filename}/</a>
79
<span py:if="file.kind=='symlink'">${file.filename}@</span>
80
<a py:if="file.kind=='file'" href="${tg.url([ '/annotate', revid ], path=posixpath.join(path, file.pathname))}">${file.filename}</a>
82
<td class="revision"> ${revlink_path(file.revid, file.revid, util.trunc(file.change.revno, 15), posixpath.join(path, file.pathname))} </td>
83
<td class="date"> ${file.change.date.strftime('%d %b %Y %H:%M')} </td>
84
<td class="changes-link"> <a href="${tg.url('/changes', start_revid=file.revid, path=posixpath.join(path, file.pathname))}"> → changes </a></td>