Mercurial > hg
view mercurial/templates/monoblue/index.tmpl @ 25563:69e8384a436c
fancyopts: allow all callable as default parameter value
The current fancyopts allows function as default parameter value
but not other callables.
By supporting other callables, we can have the benefits of e.g.,
custom __str__ method, which will be printed by 'hg help' as
the default value.
author | introom <i@introo.me> |
---|---|
date | Thu, 11 Jun 2015 08:54:24 -0400 |
parents | 9409aeaafdc1 |
children | 0c3c0f123a1a |
line wrap: on
line source
{header} <title>{repo|escape}: Mercurial repositories index</title> </head> <body> <div id="container"> <div class="page-header"> <h1 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h1> <ul class="page-nav"> </ul> </div> <table cellspacing="0"> <tr> <td><a href="?sort={sort_name}">Name</a></td> <td><a href="?sort={sort_description}">Description</a></td> <td><a href="?sort={sort_contact}">Contact</a></td> <td><a href="?sort={sort_lastchange}">Last modified</a></td> <td> </td> <td> </td> </tr> {entries%indexentry} </table> <div class="page-footer"> {motd} </div> <div id="powered-by"> <p><a href="{logourl}" title="Mercurial"><img src="{staticurl|urlescape}{logoimg}" width=75 height=90 border=0 alt="mercurial"></a></p> </div> <div id="corner-top-left"></div> <div id="corner-top-right"></div> <div id="corner-bottom-left"></div> <div id="corner-bottom-right"></div> </div> </body> </html>