Show More
@@ -72,12 +72,12 b' class _FileSizeFormat(object):' | |||||
72 | class _FilesBreadCrumbs(object): |
|
72 | class _FilesBreadCrumbs(object): | |
73 |
|
73 | |||
74 | def __call__(self, repo_name, rev, paths): |
|
74 | def __call__(self, repo_name, rev, paths): | |
75 | url_l = [link_to(repo_name, url('files_home', repo_name=repo_name, f_path=''))] |
|
75 | url_l = [link_to(repo_name, url('files_home', repo_name=repo_name, revision=rev, f_path=''))] | |
76 | paths_l = paths.split('/') |
|
76 | paths_l = paths.split('/') | |
77 |
|
77 | |||
78 | for cnt, p in enumerate(paths_l, 1): |
|
78 | for cnt, p in enumerate(paths_l, 1): | |
79 | if p != '': |
|
79 | if p != '': | |
80 | url_l.append(link_to(p, url('files_home', repo_name=repo_name, f_path='/'.join(paths_l[:cnt])))) |
|
80 | url_l.append(link_to(p, url('files_home', repo_name=repo_name, revision=rev, f_path='/'.join(paths_l[:cnt])))) | |
81 |
|
81 | |||
82 | return literal(' / '.join(url_l)) |
|
82 | return literal(' / '.join(url_l)) | |
83 |
|
83 |
General Comments 0
You need to be logged in to leave comments.
Login now