~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/webapp/filesystem/svnlog/__init__.py

  • Committer: William Grant
  • Date: 2009-05-18 12:24:26 UTC
  • Revision ID: grantw@unimelb.edu.au-20090518122426-5a2nz4wb6oi3jq24
Fix the 'diff' link in the log viewer to diff, rather than log.

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
        # No error. We must be safe.
60
60
        ctx['path'] = self.path
61
61
        ctx['url'] = req.make_path(os.path.join('svnlog', self.path))
 
62
        ctx['diffurl'] = req.make_path(os.path.join('diff', self.path))
62
63
        ctx['title'] = self.path.rsplit('/', 1)[-1]
63
64
        ctx['paths'] = make_path_segments(self.path)
64
65