Show More
@@ -31,6 +31,7 b' from .. import (' | |||||
31 | repoview, |
|
31 | repoview, | |
32 | templatefilters, |
|
32 | templatefilters, | |
33 | templater, |
|
33 | templater, | |
|
34 | templateutil, | |||
34 | ui as uimod, |
|
35 | ui as uimod, | |
35 | util, |
|
36 | util, | |
36 | wireprotoserver, |
|
37 | wireprotoserver, | |
@@ -80,7 +81,7 b" def makebreadcrumb(url, prefix=''):" | |||||
80 | break |
|
81 | break | |
81 | breadcrumb.append({'url': urlel, 'name': pathel}) |
|
82 | breadcrumb.append({'url': urlel, 'name': pathel}) | |
82 | urlel = os.path.dirname(urlel) |
|
83 | urlel = os.path.dirname(urlel) | |
83 | return reversed(breadcrumb) |
|
84 | return templateutil.mappinglist(reversed(breadcrumb)) | |
84 |
|
85 | |||
85 | class requestcontext(object): |
|
86 | class requestcontext(object): | |
86 | """Holds state/context for an individual request. |
|
87 | """Holds state/context for an individual request. |
General Comments 0
You need to be logged in to leave comments.
Login now