1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/themes/mercurialweb/filediff.tmpl Tue Jul 13 23:04:17 2010 +0200
1.3 @@ -0,0 +1,52 @@
1.4 +{header}
1.5 +<title>{repo|escape} (diff {file|escape} in {node|short})</title>
1.6 +</head>
1.7 +
1.8 +<body>
1.9 +
1.10 +<div id="header">
1.11 + <div id="logo"><a href="{url}..{sessionvars%urlparameter}"><img src="{staticurl}mercurial-logo.png" alt="Mercurial logo" /></a></div>
1.12 + <div class="controls">
1.13 + <ul id="navibar">
1.14 + <li><a href="{url}summary{sessionvars%urlparameter}">Summary</a></li
1.15 + ><li><a href="{url}shortlog{sessionvars%urlparameter}">Shortlog</a></li
1.16 + ><li><a href="{url}changelog{sessionvars%urlparameter}">Changelog</a></li
1.17 + ><li><a href="{url}tags{sessionvars%urlparameter}">Tags</a></li
1.18 + ><li><a href="{url}file{sessionvars%urlparameter}">Files</a></li
1.19 + ><li><form id="searchform" action="{url}log"><span class="container">
1.20 + <span class="hint">Search</span> <input name="rev" id="searchinput" type="text" size="20" />
1.21 + </span>
1.22 + {sessionvars%hiddenformentry}
1.23 + </form>
1.24 + </li>
1.25 + </ul>
1.26 + </div>
1.27 + <div id="pageline"></div>
1.28 +</div>
1.29 +
1.30 +<h2>{repo|escape}</h2>
1.31 +
1.32 +<h3>Change</h3>
1.33 +
1.34 +<div class="changesetlinks"><div class="changesetchildlinks"></div>{child%changesetfiledifflink}</div>
1.35 +<div class="changeset">{rev}:{node|short}</div>
1.36 +<div class="changesetlinks"><div class="changesetparentlinks"></div>{parent%changesetfiledifflink}</div>
1.37 +
1.38 +<table>
1.39 + <tbody>
1.40 + <tr>
1.41 + <td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a></td>
1.42 + <td class="navigation">
1.43 + <a href="{url}raw-rev/{node|short}{sessionvars%urlparameter}">raw</a>
1.44 + <a href="{url}rev/{node|short}{sessionvars%urlparameter}#{node|short}">changeset</a>
1.45 + <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a>
1.46 + <a href="{url}shortlog/{node|short}{sessionvars%urlparameter}#{node|short}">shortlog</a>
1.47 + </td>
1.48 + <td>{branch%branchlabel}</td>
1.49 + </tr>
1.50 + </tbody>
1.51 +</table>
1.52 +
1.53 +<div class="diff">{diff}</div>
1.54 +
1.55 +{footer}
2.1 --- a/themes/mercurialweb/filerevision.tmpl Tue Jul 13 21:46:00 2010 +0200
2.2 +++ b/themes/mercurialweb/filerevision.tmpl Tue Jul 13 23:04:17 2010 +0200
2.3 @@ -38,7 +38,7 @@
2.4 <td>{date|age}</td>
2.5 <td>{author|person}</td>
2.6 <td class="navigation">
2.7 - <a href="{url}raw-file/{node|short}/{file|escape}{sessionvars%urlparameter}">raw</a>
2.8 + <a href="{url}raw-file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">raw</a>
2.9 <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a>
2.10 <a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a>
2.11 </td>
3.1 --- a/themes/mercurialweb/map Tue Jul 13 21:46:00 2010 +0200
3.2 +++ b/themes/mercurialweb/map Tue Jul 13 23:04:17 2010 +0200
3.3 @@ -4,6 +4,7 @@
3.4 branches = branches.tmpl
3.5 changeset = changeset.tmpl
3.6 error = error.tmpl
3.7 +filediff = filediff.tmpl
3.8 filerevision = filerevision.tmpl
3.9 header = header.tmpl
3.10 footer = footer.tmpl
3.11 @@ -27,6 +28,7 @@
3.12 branchlabel = '<span class="branch">{name}</span> '
3.13 branchtag = '<span class="branch"><a href="{url}rev/{node|short}{sessionvars%urlparameter}#{node|short}">{name}</a></span> '
3.14 changesetlink = '<a href="{url}rev/{node|short}{sessionvars%urlparameter}">{rev}:{node|short}</a> '
3.15 +changesetfiledifflink = '<a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rev}:{node|short}</a> '
3.16 filerevlink = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rev}:{node|short}</a> '
3.17 inbranchlabel = '<span class="inbranch">{name}</span> '
3.18 inbranchtag = '<span class="inbranch"><a href="{url}rev/{node|short}{sessionvars%urlparameter}#{node|short}">{name}</a></span> '