~mwhudson/loggerhead/better-navigation

« back to all changes in this revision

Viewing changes to loggerhead/templates/inventory.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:
12
12
 
13
13
<h1> files for revision ${change.revno}
14
14
        <div class="links">
15
 
            <div> <b>&#8594;</b> <a href="${branch.context_url('/revision', clear=1, start_revid=revid)}">
 
15
            <div> <b>&#8594;</b> <a href="${branch.context_url(['/revision', revid])}">
16
16
                view revision </a> </div>
17
 
            <div> <b>&#8594;</b> <a href="${branch.context_url('/changes', clear=1, start_revid=revid)}">
 
17
            <div> <b>&#8594;</b> <a href="${branch.context_url(['/changes', revid])}">
18
18
                view branch changes </a> </div>
19
19
        </div>
20
20
</h1>
38
38
    
39
39
    <tr class="parity1" py:if="updir">
40
40
        <td class="permissions">drwxr-xr-x</td>
41
 
        <td class="filename directory"><a href="${branch.context_url([ '/files', revid ], file_id=updir_file_id)}"> (up) </a></td>
 
41
        <td class="filename directory"><a href="${branch.url([ '/files', revid ], file_id=updir_file_id, **util.get_context())}"> (up) </a></td>
42
42
        <td> </td> <td> </td> <td> </td> <td> </td>
43
43
    </tr>
44
44
 
55
55
        <td class="date"> ${util.date_time(file.change.date)} </td>
56
56
        <td class="size"> <span py:if="file.kind=='file'"> ${util.human_size(file.size)} </span></td>
57
57
        <td class="changes-link"> 
58
 
            <a href="${branch.context_url('/changes', start_revid=start_revid, file_id=file.file_id)}"
 
58
            <a href="${branch.context_url('/changes', filter_file_id=file.file_id)}"
59
59
               title="Changes affecting ${file.filename}"> changes </a>
60
60
        </td>
61
61
        <td class="download-link">