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

« back to all changes in this revision

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

  • Committer: William Grant
  • Date: 2009-07-05 12:11:48 UTC
  • mto: (1294.4.2 ui-the-third)
  • mto: This revision was merged to the branch mainline in revision 1353.
  • Revision ID: grantw@unimelb.edu.au-20090705121148-9z2x7kk92ox2ncqi
Replace the breadcrumb-h1 with proper breadcrumbs throughout the filesystem views.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
from ivle.webapp.base.plugins import ViewPlugin, CookiePlugin, MediaPlugin
30
30
from ivle.webapp.base.xhtml import XHTMLView
31
31
from ivle.webapp.errors import NotFound
32
 
from ivle.webapp.filesystem import make_path_segments
 
32
from ivle.webapp.filesystem import make_path_breadcrumbs
33
33
from ivle.webapp import ApplicationRoot
34
34
 
35
35
import os.path
83
83
        ctx['isdir'] = isdir
84
84
        ctx['revno'] = revno
85
85
 
86
 
        ctx['paths'] = make_path_segments(req.path, revno)
 
86
        self.extra_breadcrumbs = make_path_breadcrumbs(req, self.subpath,revno)
87
87
 
88
88
        self.gen_actions(req, ctx)
89
89