Mercurial > hg
diff mercurial/templates/monoblue/summary.tmpl @ 37401:7d94fe3ea0ac
hgweb: fix summary {tags} and {shortlog} to not forcibly expand template
The same sort of bug as the previous patch. In this case, JSON template was
wrong.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 18 Mar 2018 21:35:43 +0900 |
parents | e397f8585953 |
children |
line wrap: on
line diff
--- a/mercurial/templates/monoblue/summary.tmpl Sun Mar 18 20:51:39 2018 +0900 +++ b/mercurial/templates/monoblue/summary.tmpl Sun Mar 18 21:35:43 2018 +0900 @@ -39,7 +39,7 @@ <h2><a href="{url|urlescape}shortlog{sessionvars%urlparameter}">Changes</a></h2> <table> -{shortlog} +{shortlog%shortlogentry} <tr class="light"> <td colspan="4"><a class="list" href="{url|urlescape}shortlog{sessionvars%urlparameter}">...</a></td> </tr> @@ -47,7 +47,7 @@ <h2><a href="{url|urlescape}tags{sessionvars%urlparameter}">Tags</a></h2> <table> -{tags} +{tags%tagentry} <tr class="light"> <td colspan="3"><a class="list" href="{url|urlescape}tags{sessionvars%urlparameter}">...</a></td> </tr>