view mercurial/templates/spartan/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 bebb05a7e249
children
line wrap: on
line source

{header}
<title>Mercurial repositories index</title>
</head>
<body>

<h2><a href="/">Mercurial</a> {pathdef%breadcrumb}</h2>

<table>
    <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>&nbsp;</td>
    </tr>
    {entries%indexentry}
</table>

{footer}