Show More
@@ -373,6 +373,7 b' class hgweb(object):' | |||
|
373 | 373 | "motd": motd, |
|
374 | 374 | "sessionvars": sessionvars, |
|
375 | 375 | "pathdef": makebreadcrumb(req.url), |
|
376 | "style": style, | |
|
376 | 377 | }) |
|
377 | 378 | return tmpl |
|
378 | 379 |
@@ -448,7 +448,9 b' class hgwebdir(object):' | |||
|
448 | 448 | "logourl": logourl, |
|
449 | 449 | "logoimg": logoimg, |
|
450 | 450 | "staticurl": staticurl, |
|
451 |
"sessionvars": sessionvars |
|
|
451 | "sessionvars": sessionvars, | |
|
452 | "style": style, | |
|
453 | }) | |
|
452 | 454 | return tmpl |
|
453 | 455 | |
|
454 | 456 | def updatereqenv(self, env): |
@@ -124,7 +124,7 b' graph.render(data);' | |||
|
124 | 124 | |
|
125 | 125 | <script type="text/javascript"> |
|
126 | 126 | ajaxScrollInit( |
|
127 | '{url|urlescape}graph/{rev}?revcount=%next%', | |
|
127 | '{url|urlescape}graph/{rev}?revcount=%next%&style={style}', | |
|
128 | 128 | {revcount}+60, |
|
129 | 129 | function (htmlText, previousVal) \{ return previousVal + 60; }, |
|
130 | 130 | '#wrapper', |
@@ -73,7 +73,7 b'' | |||
|
73 | 73 | |
|
74 | 74 | <script type="text/javascript"> |
|
75 | 75 | ajaxScrollInit( |
|
76 | '{url|urlescape}shortlog/%next%', | |
|
76 | '{url|urlescape}shortlog/%next%{sessionvars%urlparameter}', | |
|
77 | 77 | '{nextentry%"{node}"}', <!-- NEXTHASH |
|
78 | 78 | function (htmlText, previousVal) \{ |
|
79 | 79 | var m = htmlText.match(/'(\w+)', <!-- NEXTHASH/); |
@@ -361,7 +361,7 b' Some tests for hgweb in an empty reposit' | |||
|
361 | 361 | |
|
362 | 362 | <script type="text/javascript"> |
|
363 | 363 | ajaxScrollInit( |
|
364 | '/graph/-1?revcount=%next%', | |
|
364 | '/graph/-1?revcount=%next%&style=paper', | |
|
365 | 365 | 60+60, |
|
366 | 366 | function (htmlText, previousVal) { return previousVal + 60; }, |
|
367 | 367 | '#wrapper', |
General Comments 0
You need to be logged in to leave comments.
Login now