~mwhudson/loggerhead/better-navigation

« back to all changes in this revision

Viewing changes to loggerhead/templates/changelog.kid

  • Committer: Michael Hudson
  • Date: 2008-03-11 00:41:27 UTC
  • Revision ID: michael.hudson@canonical.com-20080311004127-xjybcyts342lkimd
remove file_id from the list of url arguments passed around by magic.
this involved vetting all the callsites of branch.url and branch.context_url,
and i fixed a few more oddities while i was there.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
    </span>
12
12
 
13
13
    <span py:def="file_link(filename, file_id, revid)">
14
 
        <a href="${branch.url([ '/annotate', revid ], **util.get_context(file_id=file_id))}" title="Annotate ${filename}">${filename}</a>
 
14
        <a href="${branch.url([ '/annotate', revid ], file_id=file_id, **util.get_context())}" title="Annotate ${filename}">${filename}</a>
15
15
    </span>
16
16
    
17
17
    <span py:def="file_diff_link(revid, filename)">
18
 
        <a href="javascript:diff_url('${branch.context_url([ '/revision', revid ]) + '#' + filename}')"
 
18
        <a href="javascript:diff_url('${branch.context_url(['/revision', revid]) + '#' + filename}')"
19
19
           title="View diff for ${filename}">${filename}</a>
20
20
    </span>
21
21