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} : changes </title>
7
<link rel="alternate" type="application/atom+xml" href="${tg.url('/atom')}" title="RSS feed for ${branch_name}" />
9
<span py:def="loglink(revid, text)">
10
<a title="Show history" href="${tg.url('/changes', start_revid=revid)}" class="revlink"> ${text} </a>
13
<span py:def="file_link(filename, file_id, revid)">
14
<a href="${tg.url([ '/annotate', revid ], file_id=file_id)}" title="Annotate ${filename}">${filename}</a>
17
<!-- this is totally matty's fault. i don't like javacsript. ;) -->
18
<script type="text/javascript"> // <!--
19
function displayDetails(name, hide, show) {
20
if (show == '') { show = 'inline'; }
21
var bhide = hide, ihide = hide;
22
if (hide == '') { bhide = 'block'; ihide = 'inline'; }
23
document.getElementById('details-' + name).style.display = bhide;
24
document.getElementById('hide-' + name).style.display = ihide;
25
document.getElementById('show-' + name).style.display = show;
27
function displayAll(hide, show) {
28
if (show == '') { show = 'inline'; }
29
var bhide = hide, ihide = hide;
30
if (hide == '') { bhide = 'block'; ihide = 'inline'; }
31
var nodes = document.getElementsByTagName('div');
32
for (var i = 0; i < nodes.length; i++) {
34
if ((id.length > 8) && (id.substring(0, 8) == 'details-')) {
35
nodes[i].style.display = bhide;
36
var revno = id.substring(8);
37
document.getElementById('hide-' + revno).style.display = ihide;
38
document.getElementById('show-' + revno).style.display = show;
41
document.getElementById('hide-all').style.display = ihide;
42
document.getElementById('show-all').style.display = show;
52
<h1> <span class="branch-name">${branch_name}</span> : changes
53
<span py:if="file_id"> to <span class="filename">${history.get_path(revid, file_id)}</span></span>
54
<span py:if="(last_revid != start_revid) and not search_failed"> from ${history.get_revno(start_revid)} </span>
55
<span py:if="query"> (search results)</span>
58
<span py:if="search_failed">
59
Sorry, no results found for your search.
62
<span py:if="not search_failed">
63
<a class="hide-all" id="hide-all" href="javascript:displayAll('none', '')"> (hide all) </a>
64
<a class="hide-all" id="show-all" href="javascript:displayAll('', 'none')"> (show all) </a>
67
<div class="log-entries">
68
<div py:for="entry in changes" class="revision">
69
<a name="entry-${entry.revno}" />
70
<div class="revision-header">
73
<td class="revision-number"> ${revlink(entry.revid, start_revid, file_id, util.trunc(entry.revno))} </td>
74
<td class="expand-button">
75
<a href="javascript:displayDetails('${entry.revno}', 'none', '')" id="hide-${entry.revno}" class="show-button">
76
<img src="${tg.url('/static/images/nav-small-down.gif')}" width="10" height="10" />
78
<a href="javascript:displayDetails('${entry.revno}', '', 'none')" id="show-${entry.revno}" class="hide-button">
79
<img src="${tg.url('/static/images/nav-small-right.gif')}" witdh="10" height="10" />
82
<td class="summary"> ${revlink(entry.revid, start_revid, file_id, entry.short_comment)} </td>
83
<td class="inventory-link"> <a href="${tg.url([ '/files', entry.revid ])}">→ files</a> </td>
88
<div class="revision-details-block">
89
<div class="revision-details">
92
<th class="author">committed by:</th>
93
<td class="author"> ${util.hide_email(entry.author)} </td>
96
<th class="date">date:</th>
97
<td class="date"> ${entry.date.strftime('%d %b %Y %H:%M')} (${util.ago(entry.date)}) </td>
101
<div class="revision-details hidden-details" id="details-${entry.revno}">
103
<tr py:if="len(entry.merge_points) > 0">
104
<th class="children"> merged in: </th>
105
<td class="children">
106
<span py:for="child in entry.merge_points">
107
${loglink(child.revid, '(' + child.revno + util.if_present(' %s', child.branch_nick) + ')')} <br />
111
<tr py:if="len(entry.parents) > 1">
112
<th class="parents"> merged from: </th>
114
<span py:for="parent in entry.parents"><span py:if="parent.revid != entry.parents[0].revid">
115
${loglink(parent.revid, '(' + parent.revno + util.if_present(' %s', parent.branch_nick) + ')')} <br />
120
<tr py:if="entry.changes.added">
121
<th class="files"> files added: </th>
122
<td class="files"> <span py:for="filename, file_id in entry.changes.added" class="filename">${file_link(filename, file_id, entry.revid)} <br /></span> </td>
124
<tr py:if="entry.changes.removed">
125
<th class="files"> files removed: </th>
126
<td class="files"> <span py:for="filename, file_id in entry.changes.removed" class="filename">${file_link(filename, file_id, entry.revid)} <br /></span> </td>
128
<tr py:if="entry.changes.renamed">
129
<th class="files"> files renamed: </th>
130
<td class="files"> <span py:for="old_filename, new_filename, file_id in entry.changes.renamed" class="filename">
131
${file_link(old_filename, file_id, entry.revid)} => ${file_link(new_filename, file_id, entry.revid)}<br />
134
<tr py:if="entry.changes.modified">
135
<th class="files"> files modified: </th>
136
<td class="files"> <span py:for="item in entry.changes.modified">
137
<span class="filename">${file_link(item.filename, item.file_id, entry.revid)}</span>
138
<a href="${tg.url([ '/revision', entry.revid ], start_revid=start_revid, file_id=file_id) + '#' + item.filename}" class="jump">→ diff</a>
143
<th class="description">description:</th>
144
<td class="description"><span py:for="line in entry.comment_clean">${XML(line)} <br /></span> </td>
152
<div py:if="navigation.prev_page_revid or navigation.next_page_revid" class="bar">
156
<a py:if="navigation.prev_page_revid" href="${navigation.prev_page_url}"> << page </a>
158
<td class="rbuttons" align="right">
159
<a py:if="navigation.next_page_revid" href="${navigation.next_page_url}"> page >> </a>