6
6
tal:content="string:${branch/friendly_name} : contents of ${path}
7
7
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')"/>
17
13
<h1 metal:fill-slot="heading">
18
<tal:has-link condition="branch/branch_link">
19
<a tal:attributes="href branch/branch_link"
20
tal:content="branch/friendly_name">
24
<tal:no-link condition="not: branch/branch_link">
25
<span metal:use-macro="breadcrumbs/directory"></span>
27
<span>: <span metal:use-macro="breadcrumbs/branch" /> (revision <tal:revno content="change/revno"></tal:revno>)</span>
14
<span class="branch-name" tal:content="branch/friendly_name"></span>
16
<span class="annotate-path" tal:content="path"></span>
17
(revision <tal:revno content="change/revno"></tal:revno>)
30
20
<div metal:fill-slot="content">
33
<a tal:attributes="href python:url(['/files', change.revno], clear=1)">browse files</a>
36
<a tal:attributes="href python:url(['/revision'], clear=1, start_revid=change.revno)">view revision</a>
39
<a tal:attributes="href python:url(['/changes'], clear=1, start_revid=change.revno, filter_file_id=file_id)">view changes to this file</a>
42
<a tal:attributes="href python:url(['/download', change.revno, file_id, filename])">download file</a>
24
<a tal:attributes="href python:url(['/files', change.revno], clear=1)">browse files</a>
28
<a tal:attributes="href python:url(['/revision'], clear=1, start_revid=change.revno)">view revision</a>
32
<a tal:attributes="href python:url(['/changes'], clear=1, start_revid=change.revno, filter_file_id=file_id)">view changes to this file</a>
36
<a tal:attributes="href python:url(['/download', change.revno, file_id, filename])">download file</a>
46
40
<div class="annotate">
47
<table id="logentries">
48
<tr class="logheader">
49
<td class="annoLineTit">Line</td>
50
<td class="annoRevTit">Revision</td>
51
<td class="annoContTit">Contents</td>
43
<th class="lineno"> Line# </th>
44
<th class="revision"> Revision </th>
45
<th class="text"> Contents </th>
54
<tr tal:repeat="line contents"
55
tal:attributes="class string:blueRow${line/parity}">
56
<td class="annoLine" tal:content="line/lineno">1</td>
48
<tr tal:repeat="line contents"
49
tal:attributes="class string:parity${line/parity}">
50
<td tal:attributes="class string:lineno ${line/status}">
51
<a tal:attributes="name string:L${line/lineno}"
52
tal:content="line/lineno"></a>
54
<td tal:attributes="class string:revno ${line/status}">
58
55
<a tal:condition="python:line.status=='changed'"
59
56
tal:content="python:util.trunc(line.change.revno)"
60
57
tal:attributes="href python:url(['/revision'], clear=1, start_revid=line.change.revno, filter_file_id=file_id);
61
58
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))"></a>
63
<td class="annoCont" tal:content="line/text"></td>
60
<td tal:attributes="class string:text ${line/status}"
61
tal:content="line/text">