MercurialWebTheme

Changeset

16:fbdb3add314a
2010-07-13 Paul Boddie raw files shortlog changelog graph Fixed the branches link in the tags view. Changed links in shortlog and branch entries to link branch indicators to changesets, not shortlog entries.
themes/mercurialweb/branchentry.tmpl (file) themes/mercurialweb/map (file) themes/mercurialweb/tags.tmpl (file)
     1.1 --- a/themes/mercurialweb/branchentry.tmpl	Tue Jul 13 21:27:56 2010 +0200
     1.2 +++ b/themes/mercurialweb/branchentry.tmpl	Tue Jul 13 21:32:08 2010 +0200
     1.3 @@ -1,6 +1,6 @@
     1.4  <tr class="parity{parity}">
     1.5    <td>{date|age}</td>
     1.6    <td class="navigation"><a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a></td>
     1.7 -  <td width="55%"><span class="branch {status}"><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{branch|escape}</a></span></td>
     1.8 +  <td width="55%"><span class="branch {status}"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{branch|escape}</a></span></td>
     1.9    <td>{node|short}</td>
    1.10  </tr>
     2.1 --- a/themes/mercurialweb/map	Tue Jul 13 21:27:56 2010 +0200
     2.2 +++ b/themes/mercurialweb/map	Tue Jul 13 21:32:08 2010 +0200
     2.3 @@ -25,11 +25,11 @@
     2.4  
     2.5  archiveentry = '<a href="{url}archive/{node|short}{extension|urlescape}">{type|escape}</a> '
     2.6  branchlabel = '<span class="branch">{name}</span> '
     2.7 -branchtag = '<span class="branch"><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}#{node|short}">{name}</a></span> '
     2.8 +branchtag = '<span class="branch"><a href="{url}rev/{node|short}{sessionvars%urlparameter}#{node|short}">{name}</a></span> '
     2.9  changesetlink = '<a href="{url}rev/{node|short}{sessionvars%urlparameter}">{rev}:{node|short}</a> '
    2.10  filerevlink = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rev}:{node|short}</a> '
    2.11  inbranchlabel = '<span class="inbranch">{name}</span> '
    2.12 -inbranchtag = '<span class="inbranch"><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}#{node|short}">{name}</a></span> '
    2.13 +inbranchtag = '<span class="inbranch"><a href="{url}rev/{node|short}{sessionvars%urlparameter}#{node|short}">{name}</a></span> '
    2.14  shortloglink = '<a href="{url}shortlog/{node|short}{sessionvars%urlparameter}#{node|short}">{label|escape}</a> '
    2.15  tagtag = '<span class="tag">{name}</span> '
    2.16  
     3.1 --- a/themes/mercurialweb/tags.tmpl	Tue Jul 13 21:27:56 2010 +0200
     3.2 +++ b/themes/mercurialweb/tags.tmpl	Tue Jul 13 21:32:08 2010 +0200
     3.3 @@ -12,7 +12,7 @@
     3.4      ><li><a href="{url}shortlog{sessionvars%urlparameter}">Shortlog</a></li
     3.5      ><li><a href="{url}changelog{sessionvars%urlparameter}">Changelog</a></li
     3.6      ><li class="current"><span>Tags</span></li
     3.7 -    ><li><a href="{url}tags{sessionvars%urlparameter}">Branches</li
     3.8 +    ><li><a href="{url}branches{sessionvars%urlparameter}">Branches</li
     3.9      ><li><a href="{url}file{sessionvars%urlparameter}">Files</a></li
    3.10      ><li><form id="searchform" action="{url}log"><span class="container">
    3.11          <span class="hint">Search</span>&nbsp;<input name="rev" id="searchinput" type="text" size="20" />