##// END OF EJS Templates
templates: export extra as a dict to templates...
Benoit Boissinot -
r18581:3490c91a default
parent child Browse files
Show More
@@ -89,6 +89,7 b' def _filerevision(web, tmpl, fctx):'
89 author=fctx.user(),
89 author=fctx.user(),
90 date=fctx.date(),
90 date=fctx.date(),
91 desc=fctx.description(),
91 desc=fctx.description(),
92 extra=fctx.extra(),
92 branch=webutil.nodebranchnodefault(fctx),
93 branch=webutil.nodebranchnodefault(fctx),
93 parent=webutil.parents(fctx),
94 parent=webutil.parents(fctx),
94 child=webutil.children(fctx),
95 child=webutil.children(fctx),
@@ -162,6 +163,7 b' def _search(web, req, tmpl):'
162 child=webutil.children(ctx),
163 child=webutil.children(ctx),
163 changelogtag=showtags,
164 changelogtag=showtags,
164 desc=ctx.description(),
165 desc=ctx.description(),
166 extra=ctx.extra(),
165 date=ctx.date(),
167 date=ctx.date(),
166 files=files,
168 files=files,
167 rev=ctx.rev(),
169 rev=ctx.rev(),
@@ -216,6 +218,7 b' def changelog(web, req, tmpl, shortlog=F'
216 "child": webutil.children(ctx, i + 1),
218 "child": webutil.children(ctx, i + 1),
217 "changelogtag": showtags,
219 "changelogtag": showtags,
218 "desc": ctx.description(),
220 "desc": ctx.description(),
221 "extra": ctx.extra(),
219 "date": ctx.date(),
222 "date": ctx.date(),
220 "files": files,
223 "files": files,
221 "rev": i,
224 "rev": i,
@@ -299,6 +302,7 b' def changeset(web, req, tmpl):'
299 changesetbranch=showbranch,
302 changesetbranch=showbranch,
300 author=ctx.user(),
303 author=ctx.user(),
301 desc=ctx.description(),
304 desc=ctx.description(),
305 extra=ctx.extra(),
302 date=ctx.date(),
306 date=ctx.date(),
303 files=files,
307 files=files,
304 diffsummary=lambda **x: webutil.diffsummary(diffstatgen),
308 diffsummary=lambda **x: webutil.diffsummary(diffstatgen),
@@ -531,6 +535,7 b' def summary(web, req, tmpl):'
531 parity=parity.next(),
535 parity=parity.next(),
532 author=ctx.user(),
536 author=ctx.user(),
533 desc=ctx.description(),
537 desc=ctx.description(),
538 extra=ctx.extra(),
534 date=ctx.date(),
539 date=ctx.date(),
535 rev=i,
540 rev=i,
536 node=hn,
541 node=hn,
@@ -590,6 +595,7 b' def filediff(web, req, tmpl):'
590 rev=ctx.rev(),
595 rev=ctx.rev(),
591 date=ctx.date(),
596 date=ctx.date(),
592 desc=ctx.description(),
597 desc=ctx.description(),
598 extra=ctx.extra(),
593 author=ctx.user(),
599 author=ctx.user(),
594 rename=rename,
600 rename=rename,
595 branch=webutil.nodebranchnodefault(ctx),
601 branch=webutil.nodebranchnodefault(ctx),
@@ -651,6 +657,7 b' def comparison(web, req, tmpl):'
651 rev=ctx.rev(),
657 rev=ctx.rev(),
652 date=ctx.date(),
658 date=ctx.date(),
653 desc=ctx.description(),
659 desc=ctx.description(),
660 extra=ctx.extra(),
654 author=ctx.user(),
661 author=ctx.user(),
655 rename=rename,
662 rename=rename,
656 branch=webutil.nodebranchnodefault(ctx),
663 branch=webutil.nodebranchnodefault(ctx),
@@ -689,6 +696,7 b' def annotate(web, req, tmpl):'
689 "rev": f.rev(),
696 "rev": f.rev(),
690 "author": f.user(),
697 "author": f.user(),
691 "desc": f.description(),
698 "desc": f.description(),
699 "extra": f.extra(),
692 "file": f.path(),
700 "file": f.path(),
693 "targetline": targetline,
701 "targetline": targetline,
694 "line": l,
702 "line": l,
@@ -705,6 +713,7 b' def annotate(web, req, tmpl):'
705 author=fctx.user(),
713 author=fctx.user(),
706 date=fctx.date(),
714 date=fctx.date(),
707 desc=fctx.description(),
715 desc=fctx.description(),
716 extra=fctx.extra(),
708 rename=webutil.renamelink(fctx),
717 rename=webutil.renamelink(fctx),
709 branch=webutil.nodebranchnodefault(fctx),
718 branch=webutil.nodebranchnodefault(fctx),
710 parent=webutil.parents(fctx),
719 parent=webutil.parents(fctx),
@@ -770,6 +779,7 b' def filelog(web, req, tmpl):'
770 "parent": webutil.parents(iterfctx),
779 "parent": webutil.parents(iterfctx),
771 "child": webutil.children(iterfctx),
780 "child": webutil.children(iterfctx),
772 "desc": iterfctx.description(),
781 "desc": iterfctx.description(),
782 "extra": iterfctx.extra(),
773 "tags": webutil.nodetagsdict(repo, iterfctx.node()),
783 "tags": webutil.nodetagsdict(repo, iterfctx.node()),
774 "bookmarks": webutil.nodebookmarksdict(
784 "bookmarks": webutil.nodebookmarksdict(
775 repo, iterfctx.node()),
785 repo, iterfctx.node()),
General Comments 0
You need to be logged in to leave comments. Login now