~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/templates/annotate.pt

  • Committer: Robey Pointer
  • Date: 2007-01-21 02:46:53 UTC
  • Revision ID: robey@lag.net-20070121024653-wmv3n4pbwbup0e60
add news, bump version to 1.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
 
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
 
<html xmlns="http://www.w3.org/1999/xhtml" metal:use-macro="macros/main">
4
 
  <head>
5
 
    <title metal:fill-slot="title"
6
 
           tal:content="string:${branch/friendly_name} : contents of ${path}
7
 
                        at revision ${change/revno}">
8
 
    </title>
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
 
    </metal:block>
13
 
  </head>
14
 
 
15
 
  <body>
16
 
 
17
 
    <h1 metal:fill-slot="heading">
18
 
        <tal:block content="branch/friendly_name"></tal:block>
19
 
        <span>: <span tal:content="path"></span> (revision <tal:revno content="change/revno"></tal:revno>)</span>
20
 
    </h1>
21
 
 
22
 
    <div metal:fill-slot="content">
23
 
        <ul id="submenuTabs">
24
 
            <li id="first">
25
 
                <a tal:attributes="href python:url(['/files', change.revno], clear=1)">browse files</a>
26
 
            </li>
27
 
            <li>
28
 
                <a tal:attributes="href python:url(['/revision'], clear=1, start_revid=change.revno)">view revision</a>
29
 
            </li>
30
 
            <li>
31
 
                <a tal:attributes="href python:url(['/changes'], clear=1, start_revid=change.revno, filter_file_id=file_id)">view changes to this file</a>
32
 
            </li>
33
 
            <li id="last">
34
 
                <a tal:attributes="href python:url(['/download', change.revno, file_id, filename])">download file</a>
35
 
            </li>
36
 
        </ul>
37
 
 
38
 
      <div class="annotate">
39
 
        <table id="logentries">
40
 
          <tr class="logheader">
41
 
            <td class="annoLineTit">Line</td>
42
 
            <td class="annoRevTit">Revision</td>            
43
 
            <td class="annoContTit">Contents</td>                    
44
 
          </tr>
45
 
 
46
 
          <tr tal:repeat="line contents" 
47
 
              tal:attributes="class string:blueRow${line/parity}">
48
 
            <td class="annoLine" tal:content="line/lineno">1</td>
49
 
            <td class="annoRev">
50
 
              <a tal:condition="python:line.status=='changed'"
51
 
                 tal:content="python:util.trunc(line.change.revno)"
52
 
                 tal:attributes="href python:url(['/revision'], clear=1, start_revid=line.change.revno, filter_file_id=file_id);
53
 
                                 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>
54
 
            </td>
55
 
            <td class="annoCont" tal:content="line/text"></td>
56
 
          </tr>
57
 
        </table>
58
 
      </div>
59
 
 
60
 
    </div>
61
 
  </body>
62
 
</html>