MercurialWebTheme

Changeset

20:73310a034def
2010-07-14 Paul Boddie raw files shortlog changelog graph Added navigation links to the manifest view. Added a changelog link to the changeset view. Tidied the presentation of changelog file lists to match that used by the changeset view.
themes/mercurialweb/changelogentry.tmpl (file) themes/mercurialweb/changeset.tmpl (file) themes/mercurialweb/manifest.tmpl (file) themes/mercurialweb/map (file)
     1.1 --- a/themes/mercurialweb/changelogentry.tmpl	Wed Jul 14 01:30:13 2010 +0200
     1.2 +++ b/themes/mercurialweb/changelogentry.tmpl	Wed Jul 14 01:41:37 2010 +0200
     1.3 @@ -17,7 +17,7 @@
     1.4    <td>{branches%branchtag}{inbranch%inbranchtag}{tags%tagtag}</td>
     1.5  </tr>
     1.6  <tr>
     1.7 -  <td colspan="5" class="changelogfiles">
     1.8 +  <td colspan="5" class="files changelogfiles">
     1.9      {files}
    1.10    </td>
    1.11  </tr>
     2.1 --- a/themes/mercurialweb/changeset.tmpl	Wed Jul 14 01:30:13 2010 +0200
     2.2 +++ b/themes/mercurialweb/changeset.tmpl	Wed Jul 14 01:41:37 2010 +0200
     2.3 @@ -41,6 +41,7 @@
     2.4          <a href="{url}raw-rev/{node|short}{sessionvars%urlparameter}">raw</a>
     2.5          <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a>
     2.6          <a href="{url}shortlog/{node|short}{sessionvars%urlparameter}#{node|short}">shortlog</a>
     2.7 +        <a href="{url}changelog/{node|short}{sessionvars%urlparameter}#{node|short}">changelog</a>
     2.8        </td>
     2.9        <td width="50%">{desc|strip|escape}</td>
    2.10        <td>{branches%branchtag}{inbranch%inbranchtag}{tags%tagtag}</td>
     3.1 --- a/themes/mercurialweb/manifest.tmpl	Wed Jul 14 01:30:13 2010 +0200
     3.2 +++ b/themes/mercurialweb/manifest.tmpl	Wed Jul 14 01:41:37 2010 +0200
     3.3 @@ -26,7 +26,19 @@
     3.4  
     3.5  <h2>{repo|escape}</h2>
     3.6  
     3.7 -<p>{rev}:{node|short} <span>{branches%branchtag}{inbranch%inbranchtag}{tags%tagtag}</span></p>
     3.8 +<table>
     3.9 +  <tbody>
    3.10 +    <tr>
    3.11 +      <td>{rev}:{node|short}</td>
    3.12 +      <td class="navigation">
    3.13 +        <a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a>
    3.14 +        <a href="{url}shortlog/{node|short}{sessionvars%urlparameter}#{node|short}">shortlog</a>
    3.15 +        <a href="{url}changelog/{node|short}{sessionvars%urlparameter}#{node|short}">changelog</a>
    3.16 +      </td>
    3.17 +      <td class="branchinfo">{branches%branchtag}{inbranch%inbranchtag}{tags%tagtag}</td>
    3.18 +    </tr>
    3.19 +  </tbody>
    3.20 +</table>
    3.21  
    3.22  <h3>Files in {path|escape}</h3>
    3.23  
     4.1 --- a/themes/mercurialweb/map	Wed Jul 14 01:30:13 2010 +0200
     4.2 +++ b/themes/mercurialweb/map	Wed Jul 14 01:41:37 2010 +0200
     4.3 @@ -47,7 +47,7 @@
     4.4  difflineat = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> <span class="atline">{line|escape}</span>'
     4.5  diffline = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}'
     4.6  
     4.7 -filedifflink = '<a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> '
     4.8 +filedifflink = '<span><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a></span> '
     4.9  fileellipses = '...'
    4.10  
    4.11  fileline = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}'