<ul xmlns="http://www.w3.org/1999/xhtml"
    xmlns:py="http://genshi.edgewall.org/" py:strip="True">
    <li py:for="type, alias in types" py:if="type in create_perm">
        <a href="${href('newticket', type=type)}">
           ${alias}${_('Create a new')}
        </a>
    </li>
</ul>