/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: 2009-02-23 20:33:39 UTC
  • mfrom: (273.1.9 clean-up-annotate-view)
  • Revision ID: michael.hudson@canonical.com-20090223203339-du8u3bsdw9d9h4da
clean up and improve the performance of the annotate view

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
                <a tal:attributes="href python:url(['/files', change.revno], clear=1)">browse files</a>
36
36
            </li>
37
37
            <li>
38
 
                <a tal:attributes="href python:url(['/revision'], clear=1, start_revid=change.revno)">view revision</a>
 
38
                <a tal:attributes="href python:url(['/revision', change.revno], clear=1)">view revision</a>
39
39
            </li>
40
40
            <li>
41
 
                <a tal:attributes="href python:url(['/changes'], clear=1, 
42
 
                                    start_revid=change.revno, filter_file_id=file_id)"
 
41
                <a tal:attributes="href python:url(['/changes'], clear=1, filter_file_id=file_id)"
43
42
                >view changes to this file</a>
44
43
            </li>
45
44
            <li id="last">
63
62
            <td class="annoRev">
64
63
              <a tal:condition="python:line.status=='changed'"
65
64
                 tal:content="python:util.trunc(line.change.revno)"
66
 
                 tal:attributes="href python:url(['/revision'], clear=1, start_revid=line.change.revno, filter_file_id=file_id);
 
65
                 tal:attributes="href python:url(['/revision', line.change.revno], clear=1);
67
66
                                 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>
68
67
            </td>
69
68
            <td class="annoCont" tal:content="line/text"></td>