5
5
<title metal:fill-slot="title"
6
6
tal:content="string:${branch/friendly_name} : contents of ${path}
7
7
at revision ${change/revno}">
8
${branch.friendly_name} : contents of ${path} at revision ${change.revno}
9
<metal:block fill-slot="header_extras">
10
<link rel="stylesheet" type="text/css" media="all"
11
tal:attributes="href python:branch.static_url('/static/css/annotate.css')"/>
12
<link rel="stylesheet" type="text/css" media="all"
13
tal:attributes="href python:branch.static_url('/static/css/highlight.css')"/>
19
14
<h1 metal:fill-slot="heading">
20
<tal:has-link condition="branch/branch_link">
21
<a tal:attributes="href branch/branch_link"
22
tal:content="branch/friendly_name">
26
<tal:no-link condition="not: branch/branch_link">
27
<span metal:use-macro="breadcrumbs/directory"></span>
29
<span>: <span metal:use-macro="breadcrumbs/branch" /> (revision <tal:revno content="change/revno"></tal:revno>)</span>
15
<span class="branch-name" tal:content="branch/friendly_name">
16
${branch.friendly_name}
19
<span class="annotate-path" tal:content="path">
22
(revision <tal:revno content="change/revno">${change.revno}</tal:revno>)
32
25
<div metal:fill-slot="content">
33
<tal:branch-info replace="structure python:branchinfo(branch)" />
37
<a tal:attributes="href python:url(['/files', change.revno], clear=1)">browse files</a>
40
<a tal:attributes="href python:url(['/revision', change.revno], clear=1)">view revision</a>
43
<a tal:attributes="href python:url(['/changes'], clear=1, filter_file_id=file_id)"
44
>view changes to this file</a>
47
<a tal:attributes="href python:url(['/download',
48
revno_url, file_id, filename])"
29
<a tal:attributes="href python:url(['/files', revid], clear=1)">
35
<a tal:attributes="href python:url(['/revision'], clear=1, start_revid=revid)">
41
<a tal:attributes="href python:url(['/changes'], clear=1, start_revid=revid, filter_file_id=file_id)">
42
view changes to this file
47
<a tal:attributes="href python:url(['/download', revid, file_id, filename])">
53
53
<div class="annotate">
54
<table id="logentries">
55
<tr class="logheader">
56
<td class="annoLineTit">Line</td>
57
<td class="annoRevTit">Revision</td>
58
<td class="annoContTit">Contents</td>
56
<th class="lineno"> Line# </th>
57
<th class="revision"> Revision </th>
58
<th class="text"> Contents </th>
61
<tr tal:repeat="line contents"
62
tal:attributes="class string:blueRow${line/parity}">
63
<td class="annoLine"><a tal:attributes="id string:L${line/lineno}; href string:#L${line/lineno}" tal:content="line/lineno">1</a></td>
61
<tr tal:repeat="line contents"
62
tal:attributes="class string:parity${line/parity}">
63
<td tal:attributes="class string:lineno ${line/status}">
64
<a tal:attributes="name string:L${line/lineno}"
65
tal:content="line/lineno">
69
<td tal:attributes="class string:revno ${line/status}">
65
70
<a tal:condition="python:line.status=='changed'"
66
71
tal:content="python:util.trunc(line.change.revno)"
67
tal:attributes="href python:url(['/revision', line.change.revno], clear=1);
68
title python:'%s by %s, on %s (%s)'%(line.change.revno, ', '.join(util.hide_emails(line.change.authors)), line.change.date.strftime('%d %b %Y %H:%M'), util.date_time(line.change.date))"></a>
70
<td class="annoCont"><pre tal:content="structure line/text"></pre></td>
72
tal:attributes="href python:url(['/revision'], clear=1, start_revid=line.change.revid, filter_file_id=file_id);
73
title python:'%s by %s, on %s (%s)'%(line.change.revno, util.hide_email(line.change.author), line.change.date.strftime('%d %b %Y %H:%M'), util.date_time(line.change.date))">
75
${util.trunc(line.change.revno)}
78
<td tal:attributes="class string:text ${line/status}"
79
tal:content="line/text">