~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/templates/revisioninfo.pt

tidy up link generation

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
      <td class="children">
27
27
        <tal:merge-points repeat="child change/merge_points">
28
28
          <a tal:attributes="title string:Show revision ${child/revno};
29
 
                             href python:branch.url([ '/revision', child.revid ], **util.get_context(clear=1, start_revid=child.revid))"
30
 
             tal:content="python:'(' + child.revno + util.if_present(' %s', child.branch_nick) + ')'">
 
29
                             href python:url(['/revision', child.revid], clear=1, start_revid=child.revid)"
 
30
             tal:content="python:revno_with_nick(child)">
31
31
            text
32
32
          </a>
33
33
          <br />
41
41
      <td class="parents">
42
42
        <tal:parents repeat="parent python:change.parents[1:]">
43
43
          <a tal:attributes="title string:Show revision ${parent/revno};
44
 
                             href python:branch.url([ '/revision', parent.revid ], **util.get_context(clear=1, start_revid=parent.revid))"
45
 
             tal:content="python:'(' + parent.revno + util.if_present(' %s', parent.branch_nick) + ')'">
 
44
                             href python:url(['/revision', parent.revid], clear=1, start_revid=parent.revid)"
 
45
             tal:content="python:revno_with_nick(parent)">
46
46
            text
47
47
          </a>
48
48
        </tal:parents>