MercurialWebTheme

Changeset

61:50b49ae8be4d
2014-02-23 Paul Boddie raw files shortlog changelog graph Removed inapplicable archive links for directories in the index view.
themes/mercurialweb/indexentry.tmpl (file)
     1.1 --- a/themes/mercurialweb/indexentry.tmpl	Sun Feb 23 02:43:17 2014 +0100
     1.2 +++ b/themes/mercurialweb/indexentry.tmpl	Sun Feb 23 02:43:51 2014 +0100
     1.3 @@ -4,5 +4,5 @@
     1.4    <td>{contact|obfuscate}</td>
     1.5    <td class="age">{lastchange|age}</td>
     1.6    <td class="archives">{archives%archiveentry}</td>
     1.7 -  <td class="feeds"><a href="{url}rss-log">RSS</a> <a href="{url}atom-log">Atom</a></td>
     1.8 +  <td class="feeds">{if(isdirectory, '', '<a href="{url}rss-log">RSS</a> <a href="{url}atom-log">Atom</a>')}</td>
     1.9  </tr>