/loggerhead/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/loggerhead/trunk

« back to all changes in this revision

Viewing changes to loggerhead/templates/annotate.pt

  • Committer: Michael Hudson
  • Date: 2008-06-18 08:42:36 UTC
  • mfrom: (128.9.1 zpt.cleaner_urls)
  • mto: This revision was merged to the branch mainline in revision 164.
  • Revision ID: michael.hudson@canonical.com-20080618084236-eoicrte7aljakon8
mergeĀ zpt.cleaner_urlsĀ again

Show diffs side-by-side

added added

removed removed

Lines of Context:
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
8
    </title>
10
9
  </head>
11
10
 
12
11
  <body>
13
12
 
14
13
    <h1 metal:fill-slot="heading">
15
 
      <span class="branch-name" tal:content="branch/friendly_name">
16
 
        ${branch.friendly_name}
17
 
      </span>
 
14
      <span class="branch-name" tal:content="branch/friendly_name"></span>
18
15
      :
19
 
      <span class="annotate-path" tal:content="path">
20
 
        ${path}
21
 
      </span>
22
 
      (revision <tal:revno content="change/revno">${change.revno}</tal:revno>)
 
16
      <span class="annotate-path" tal:content="path"></span>
 
17
      (revision <tal:revno content="change/revno"></tal:revno>)
23
18
    </h1>
24
19
 
25
20
    <div metal:fill-slot="content">
26
21
      <div class="links">
27
22
        <div>
28
23
          <b>&#8594;</b>
29
 
          <a tal:attributes="href python:url(['/files', change.revno], clear=1)">
30
 
            browse files
31
 
          </a>
32
 
        </div>
33
 
        <div>
34
 
          <b>&#8594;</b>
35
 
          <a tal:attributes="href python:url(['/revision'], clear=1, start_revid=revid)">
36
 
            view revision
37
 
          </a>
38
 
        </div>
39
 
        <div>
40
 
          <b>&#8594;</b>
41
 
          <a tal:attributes="href python:url(['/changes'], clear=1, start_revid=revid, filter_file_id=file_id)">
42
 
            view changes to this file
43
 
          </a>
44
 
        </div>
45
 
        <div>
46
 
          <b>&#8594;</b>
47
 
          <a tal:attributes="href python:url(['/download', revid, file_id, filename])">
48
 
            download file
49
 
          </a>
 
24
          <a tal:attributes="href python:url(['/files', change.revno], clear=1)">browse files</a>
 
25
        </div>
 
26
        <div>
 
27
          <b>&#8594;</b>
 
28
          <a tal:attributes="href python:url(['/revision'], clear=1, start_revid=change.revno)">view revision</a>
 
29
        </div>
 
30
        <div>
 
31
          <b>&#8594;</b>
 
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>
 
33
        </div>
 
34
        <div>
 
35
          <b>&#8594;</b>
 
36
          <a tal:attributes="href python:url(['/download', change.revno, file_id, filename])">download file</a>
50
37
        </div>
51
38
      </div>
52
39
 
62
49
              tal:attributes="class string:parity${line/parity}">
63
50
            <td tal:attributes="class string:lineno ${line/status}">
64
51
              <a tal:attributes="name string:L${line/lineno}"
65
 
                 tal:content="line/lineno">
66
 
                ${line.lineno}
67
 
              </a>
 
52
                 tal:content="line/lineno"></a>
68
53
            </td>
69
54
            <td tal:attributes="class string:revno ${line/status}">
70
55
              <a tal:condition="python:line.status=='changed'"
71
56
                 tal:content="python:util.trunc(line.change.revno)"
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))">
74
 
 
75
 
                ${util.trunc(line.change.revno)}
76
 
              </a>
 
57
                 tal:attributes="href python:url(['/revision'], clear=1, start_revid=line.change.revno, filter_file_id=file_id);
 
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>
77
59
            </td>
78
60
            <td tal:attributes="class string:text ${line/status}"
79
61
                tal:content="line/text">
80
 
              ${line.text}
81
62
            </td>
82
63
          </tr>
83
64
        </table>