templates/filelog.tmpl
author Matt Mackall <mpm@selenic.com>
Sun, 10 Aug 2008 22:55:00 -0500
changeset 6880 892806b3fc0f
parent 5269 46c5e1ee8aaa
child 6693 7f58dec6aeb7
permissions -rw-r--r--
util: disinfect lookup_reg strings (issue1126) lookup_reg could return Unicode strings, which would infect other strings and generate unexpected tracebacks. Spotted by Rémy Roy. Fold in silly nested function while we're at it.

#header#
<title>#repo|escape#: #file|escape# history</title>
<link rel="alternate" type="application/atom+xml"
   href="#url#atom-log/tip/#file|urlescape#" title="Atom feed for #repo|escape#:#file#">
<link rel="alternate" type="application/rss+xml"
   href="#url#rss-log/tip/#file|urlescape#" title="RSS feed for #repo|escape#:#file#">
</head>
</head>
<body>

<div class="buttons">
<a href="#url#log{sessionvars%urlparameter}">changelog</a>
<a href="#url#shortlog{sessionvars%urlparameter}">shortlog</a>
<a href="#url#tags{sessionvars%urlparameter}">tags</a>
<a href="#url#file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">file</a>
<a href="#url#annotate/#node|short#/#file|urlescape#{sessionvars%urlparameter}">annotate</a>
<a type="application/rss+xml" href="#url#rss-log/tip/#file|urlescape#">rss</a>
<a type="application/atom+xml" href="#url#atom-log/tip/#file|urlescape#" title="Atom feed for #repo|escape#:#file#">atom</a>
</div>

<h2>#file|escape# revision history</h2>

<p>navigate: <small class="navigate">{nav%filenaventry}</small></p>

#entries%filelogentry#

#footer#