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

« back to all changes in this revision

Viewing changes to www/apps/browser/__init__.py

  • Committer: wagrant
  • Date: 2008-07-17 05:09:09 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:908
browser: Link breadcrumbs to the current revision.
browser.js: Disable all actions except Open, Refresh, View Log if we
            are looking at a revision.

Show diffs side-by-side

added added

removed removed

Lines of Context:
138
138
        if add_slash:
139
139
            nav_path = nav_path + '/'
140
140
        link = '<a href="%s" title="Navigate to %s">%s</a>' % (
141
 
            href_path, nav_path, path_seg)
 
141
            href_path if revno is None else href_path + '?r=%d' % revno,
 
142
            nav_path, path_seg)
142
143
        req.write(link)
143
144
        if add_slash:
144
145
            req.write('/')