~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/controllers/directory_ui.py

  • Committer: Guillermo Gonzalez
  • Date: 2008-09-10 00:13:18 UTC
  • mfrom: (220 trunk)
  • mto: (217.1.9 logging)
  • mto: This revision was merged to the branch mainline in revision 226.
  • Revision ID: guillo.gonzo@gmail.com-20080910001318-78w16x9zl9p7f1k3
 * merge with trunk 

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
from bzrlib import branch
24
24
 
 
25
from loggerhead import util
25
26
from loggerhead.controllers import TemplatedBranchView
26
27
 
27
28
class DirEntry(object):
70
71
                b = None
71
72
            dirs.append(DirEntry(d, parity, b))
72
73
            parity = 1 - parity
 
74
        # Create breadcrumb trail
 
75
        directory_breadcrumbs = util.directory_breadcrumbs(
 
76
                self._name,
 
77
                False,
 
78
                'directory')
73
79
        return {
74
80
            'dirs': dirs,
75
81
            'name': self._name,
76
82
            'static_url': static_url,
 
83
            'directory_breadcrumbs': directory_breadcrumbs,
77
84
            }