~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/templates/annotate.pt

  • Committer: Michael Hudson
  • Date: 2009-02-28 06:30:29 UTC
  • Revision ID: michael.hudson@canonical.com-20090228063029-rb06oc1wghke3c34
make the line numbers in the annotate view link to the link for that line

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
 
59
59
          <tr tal:repeat="line contents" 
60
60
              tal:attributes="class string:blueRow${line/parity}">
61
 
            <td class="annoLine"><a tal:attributes="id string:L${line/lineno}" tal:content="line/lineno">1</a></td>
 
61
            <td class="annoLine"><a tal:attributes="id string:L${line/lineno}; href string:#L${line/lineno}" tal:content="line/lineno">1</a></td>
62
62
            <td class="annoRev">
63
63
              <a tal:condition="python:line.status=='changed'"
64
64
                 tal:content="python:util.trunc(line.change.revno)"