~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/templates/annotate.kid

  • Committer: Martin Albisetti
  • Date: 2008-08-05 05:12:49 UTC
  • mfrom: (193 trunk)
  • mto: This revision was merged to the branch mainline in revision 194.
  • Revision ID: argentina@gmail.com-20080805051249-u3417a8anzigqfr0
MergeĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
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'">
4
 
<head>
5
 
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type" py:replace="''"/>
6
 
    <title> ${branch.friendly_name} : contents of ${path} at revision ${change.revno} </title>
7
 
</head>
8
 
 
9
 
<body>
10
 
 
11
 
${navbar()}
12
 
 
13
 
<h1> <span class="branch-name">${branch.friendly_name}</span> : <span class="annotate-path">${path}</span> (revision ${change.revno})
14
 
        <div class="links">
15
 
            <div> <b>&#8594;</b> <a href="${branch.url([ '/files', revid ], **util.get_context(clear=1))}"> browse files </a> </div>
16
 
            <div> <b>&#8594;</b> <a href="${branch.url('/revision', **util.get_context(clear=1, start_revid=revid))}"> view revision </a> </div>
17
 
            <div> <b>&#8594;</b> <a href="${branch.url('/changes', **util.get_context(clear=1, start_revid=revid, file_id=file_id))}"> view changes to this file </a> </div>
18
 
            <div> <b>&#8594;</b> <a href="${branch.url([ '/download', revid, file_id, filename ])}"> view/download file </a> </div>
19
 
        </div>
20
 
</h1>
21
 
 
22
 
<div class="annotate">
23
 
    <table>
24
 
        <tr>
25
 
            <th class="lineno"> Line# </th>
26
 
            <th class="revision"> Revision </th>
27
 
            <th class="text"> Contents </th>
28
 
        </tr>
29
 
 
30
 
        <tr py:for="line in contents" class="parity${line.parity}">
31
 
            <td class="lineno ${line.status}"><a name="L${line.lineno}"> ${line.lineno} </a></td>
32
 
            <td class="revno ${line.status}">
33
 
                <a py:if="line.status=='changed'" href="${branch.url('/revision', **util.get_context(clear=1, start_revid=line.change.revid, file_id=file_id))}"
34
 
                    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)})">${util.trunc(line.change.revno)}</a>
35
 
            </td>
36
 
            <td class="text ${line.status}"> ${XML(line.text)} </td>
37
 
        </tr>
38
 
    </table>
39
 
</div>
40
 
 
41
 
</body>
42
 
</html>