Mercurial > hg-stable
changeset 3273:46188b9528ca
Add {getentries} to default style
author | Brendan Cully <brendan@kublai.com> |
---|---|
date | Thu, 05 Oct 2006 15:04:15 -0700 |
parents | 10277edf7e5b |
children | e0cd1b98bf8d |
files | templates/changelog.tmpl templates/changelogentry.tmpl templates/changeset.tmpl templates/fileannotate.tmpl templates/filediff.tmpl templates/filelog.tmpl templates/filelogentry.tmpl templates/filerevision.tmpl templates/manifest.tmpl templates/map templates/search.tmpl templates/shortlog.tmpl templates/shortlogentry.tmpl templates/tags.tmpl |
diffstat | 14 files changed, 81 insertions(+), 81 deletions(-) [+] |
line wrap: on
line diff
--- a/templates/changelog.tmpl Thu Oct 05 14:45:15 2006 -0700 +++ b/templates/changelog.tmpl Thu Oct 05 15:04:15 2006 -0700 @@ -6,9 +6,9 @@ <body> <div class="buttons"> -<a href="#url#shortlog/#rev#">shortlog</a> -<a href="#url#tags">tags</a> -<a href="#url#file/#node|short#">manifest</a> +<a href="#url#shortlog/#rev#{getentries}">shortlog</a> +<a href="#url#tags{getentries}">tags</a> +<a href="#url#file/#node|short#{getentries}">manifest</a> #archives%archiveentry# <a type="application/rss+xml" href="#url#rss-log">rss</a> </div>
--- a/templates/changelogentry.tmpl Thu Oct 05 14:45:15 2006 -0700 +++ b/templates/changelogentry.tmpl Thu Oct 05 15:04:15 2006 -0700 @@ -5,7 +5,7 @@ </tr> <tr> <th class="revision">changeset #rev#:</th> - <td class="node"><a href="#url#rev/#node|short#">#node|short#</a></td> + <td class="node"><a href="#url#rev/#node|short#{getentries}">#node|short#</a></td> </tr> #parent%changelogparent# #child%changelogchild# @@ -19,7 +19,7 @@ <td class="date">#date|date#</td> </tr> <tr> - <th class="files"><a href="#url#file/#node|short#/">files</a>:</th> + <th class="files"><a href="#url#file/#node|short#{getentries}">files</a>:</th> <td class="files">#files#</td> </tr> </table>
--- a/templates/changeset.tmpl Thu Oct 05 14:45:15 2006 -0700 +++ b/templates/changeset.tmpl Thu Oct 05 15:04:15 2006 -0700 @@ -4,10 +4,10 @@ <body> <div class="buttons"> -<a href="#url#log/#rev#">changelog</a> -<a href="#url#shortlog/#rev#">shortlog</a> -<a href="#url#tags">tags</a> -<a href="#url#file/#node|short#">manifest</a> +<a href="#url#log/#rev#{getentries}">changelog</a> +<a href="#url#shortlog/#rev#{getentries}">shortlog</a> +<a href="#url#tags{getentries}">tags</a> +<a href="#url#file/#node|short#{getentries}">manifest</a> <a href="#url#raw-rev/#node|short#">raw</a> #archives%archiveentry# </div> @@ -17,7 +17,7 @@ <table id="changesetEntry"> <tr> <th class="changeset">changeset #rev#:</th> - <td class="changeset"><a href="#url#rev/#node|short#">#node|short#</a></td> + <td class="changeset"><a href="#url#rev/#node|short#{getentries}">#node|short#</a></td> </tr> #parent%changesetparent# #child%changesetchild#
--- a/templates/fileannotate.tmpl Thu Oct 05 14:45:15 2006 -0700 +++ b/templates/fileannotate.tmpl Thu Oct 05 15:04:15 2006 -0700 @@ -4,13 +4,13 @@ <body> <div class="buttons"> -<a href="#url#log/#rev#">changelog</a> -<a href="#url#shortlog/#rev#">shortlog</a> -<a href="#url#tags">tags</a> -<a href="#url#rev/#node|short#">changeset</a> -<a href="#url#file/#node|short##path|urlescape#">manifest</a> -<a href="#url#file/#node|short#/#file|urlescape#">file</a> -<a href="#url#log/#node|short#/#file|urlescape#">revisions</a> +<a href="#url#log/#rev#{getentries}">changelog</a> +<a href="#url#shortlog/#rev#{getentries}">shortlog</a> +<a href="#url#tags{getentries}">tags</a> +<a href="#url#rev/#node|short#{getentries}">changeset</a> +<a href="#url#file/#node|short##path|urlescape#{getentries}">manifest</a> +<a href="#url#file/#node|short#/#file|urlescape#{getentries}">file</a> +<a href="#url#log/#node|short#/#file|urlescape#{getentries}">revisions</a> <a href="#url#raw-annotate/#node|short#/#file|urlescape#">raw</a> </div> @@ -19,7 +19,7 @@ <table> <tr> <td class="metatag">changeset #rev#:</td> - <td><a href="#url#rev/#node|short#">#node|short#</a></td></tr> + <td><a href="#url#rev/#node|short#{getentries}">#node|short#</a></td></tr> #rename%filerename# #parent%fileannotateparent# #child%fileannotatechild#
--- a/templates/filediff.tmpl Thu Oct 05 14:45:15 2006 -0700 +++ b/templates/filediff.tmpl Thu Oct 05 15:04:15 2006 -0700 @@ -4,13 +4,13 @@ <body> <div class="buttons"> -<a href="#url#log/#rev#">changelog</a> -<a href="#url#shortlog/#rev#">shortlog</a> -<a href="#url#tags">tags</a> -<a href="#url#rev/#node|short#">changeset</a> -<a href="#url#file/#node|short#/#file|urlescape#">file</a> -<a href="#url#log/#node|short#/#file|urlescape#">revisions</a> -<a href="#url#annotate/#node|short#/#file|urlescape#">annotate</a> +<a href="#url#log/#rev#{getentries}">changelog</a> +<a href="#url#shortlog/#rev#{getentries}">shortlog</a> +<a href="#url#tags{getentries}">tags</a> +<a href="#url#rev/#node|short#{getentries}">changeset</a> +<a href="#url#file/#node|short#/#file|urlescape#{getentries}">file</a> +<a href="#url#log/#node|short#/#file|urlescape#{getentries}">revisions</a> +<a href="#url#annotate/#node|short#/#file|urlescape#{getentries}">annotate</a> <a href="#url#raw-diff/#node|short#/#file|urlescape#">raw</a> </div> @@ -19,7 +19,7 @@ <table id="filediffEntry"> <tr> <th class="revision">revision #rev#:</th> - <td class="revision"><a href="#url#rev/#node|short#">#node|short#</a></td> + <td class="revision"><a href="#url#rev/#node|short#{getentries}">#node|short#</a></td> </tr> #parent%filediffparent# #child%filediffchild#
--- a/templates/filelog.tmpl Thu Oct 05 14:45:15 2006 -0700 +++ b/templates/filelog.tmpl Thu Oct 05 15:04:15 2006 -0700 @@ -7,11 +7,11 @@ <body> <div class="buttons"> -<a href="#url#log">changelog</a> -<a href="#url#shortlog">shortlog</a> -<a href="#url#tags">tags</a> -<a href="#url#file/#node|short#/#file|urlescape#">file</a> -<a href="#url#annotate/#node|short#/#file|urlescape#">annotate</a> +<a href="#url#log{getentries}">changelog</a> +<a href="#url#shortlog{getentries}">shortlog</a> +<a href="#url#tags{getentries}">tags</a> +<a href="#url#file/#node|short#/#file|urlescape#{getentries}">file</a> +<a href="#url#annotate/#node|short#/#file|urlescape#{getentries}">annotate</a> <a type="application/rss+xml" href="#url#rss-log/tip/#file|urlescape#">rss</a> </div>
--- a/templates/filelogentry.tmpl Thu Oct 05 14:45:15 2006 -0700 +++ b/templates/filelogentry.tmpl Thu Oct 05 15:04:15 2006 -0700 @@ -1,14 +1,14 @@ <table class="logEntry parity#parity#"> <tr> <th class="age">#date|age# ago:</th> - <th class="firstline"><a href="#url#rev/#node|short#">#desc|strip|firstline|escape#</a></th> + <th class="firstline"><a href="#url#rev/#node|short#{getentries}">#desc|strip|firstline|escape#</a></th> </tr> <tr> <th class="revision">revision #filerev#:</td> <td class="node"> - <a href="#url#file/#node|short#/#file|urlescape#">#node|short#</a> - <a href="#url#diff/#node|short#/#file|urlescape#">(diff)</a> - <a href="#url#annotate/#node|short#/#file|urlescape#">(annotate)</a> + <a href="#url#file/#node|short#/#file|urlescape#{getentries}">#node|short#</a> + <a href="#url#diff/#node|short#/#file|urlescape#{getentries}">(diff)</a> + <a href="#url#annotate/#node|short#/#file|urlescape#{getentries}">(annotate)</a> </td> </tr> #rename%filelogrename#
--- a/templates/filerevision.tmpl Thu Oct 05 14:45:15 2006 -0700 +++ b/templates/filerevision.tmpl Thu Oct 05 15:04:15 2006 -0700 @@ -4,13 +4,13 @@ <body> <div class="buttons"> -<a href="#url#log/#rev#">changelog</a> -<a href="#url#shortlog/#rev#">shortlog</a> -<a href="#url#tags">tags</a> -<a href="#url#rev/#node|short#">changeset</a> -<a href="#url#file/#node|short##path|urlescape#">manifest</a> -<a href="#url#log/#node|short#/#file|urlescape#">revisions</a> -<a href="#url#annotate/#node|short#/#file|urlescape#">annotate</a> +<a href="#url#log/#rev#{getentries}">changelog</a> +<a href="#url#shortlog/#rev#{getentries}">shortlog</a> +<a href="#url#tags{getentries}">tags</a> +<a href="#url#rev/#node|short#{getentries}">changeset</a> +<a href="#url#file/#node|short##path|urlescape#{getentries}">manifest</a> +<a href="#url#log/#node|short#/#file|urlescape#{getentries}">revisions</a> +<a href="#url#annotate/#node|short#/#file|urlescape#{getentries}">annotate</a> <a href="#url#raw-file/#node|short#/#file|urlescape#">raw</a> </div> @@ -19,7 +19,7 @@ <table> <tr> <td class="metatag">changeset #rev#:</td> - <td><a href="#url#rev/#node|short#">#node|short#</a></td></tr> + <td><a href="#url#rev/#node|short#{getentries}">#node|short#</a></td></tr> #rename%filerename# #parent%filerevparent# #child%filerevchild#
--- a/templates/manifest.tmpl Thu Oct 05 14:45:15 2006 -0700 +++ b/templates/manifest.tmpl Thu Oct 05 15:04:15 2006 -0700 @@ -4,10 +4,10 @@ <body> <div class="buttons"> -<a href="#url#log/#rev#">changelog</a> -<a href="#url#shortlog/#rev#">shortlog</a> -<a href="#url#tags">tags</a> -<a href="#url#rev/#node|short#">changeset</a> +<a href="#url#log/#rev#{getentries}">changelog</a> +<a href="#url#shortlog/#rev#{getentries}">shortlog</a> +<a href="#url#tags{getentries}">tags</a> +<a href="#url#rev/#node|short#{getentries}">changeset</a> #archives%archiveentry# </div> @@ -16,7 +16,7 @@ <table cellpadding="0" cellspacing="0"> <tr class="parity1"> <td><tt>drwxr-xr-x</tt> - <td><a href="#url#file/#node|short##up|urlescape#">[up]</a> + <td><a href="#url#file/#node|short##up|urlescape#{getentries}">[up]</a> #dentries%manifestdirentry# #fentries%manifestfileentry# </table>
--- a/templates/map Thu Oct 05 14:45:15 2006 -0700 +++ b/templates/map Thu Oct 05 15:04:15 2006 -0700 @@ -5,47 +5,47 @@ changelog = changelog.tmpl shortlog = shortlog.tmpl shortlogentry = shortlogentry.tmpl -naventry = '<a href="#url#log/#rev#">#label|escape#</a> ' -navshortentry = '<a href="#url#shortlog/#rev#">#label|escape#</a> ' -filedifflink = '<a href="#url#diff/#node|short#/#file|urlescape#">#file|escape#</a> ' -filenodelink = '<a href="#url#file/#node|short#/#file|urlescape#">#file|escape#</a> ' +naventry = '<a href="#url#log/#rev#{getentries}">#label|escape#</a> ' +navshortentry = '<a href="#url#shortlog/#rev#{getentries}">#label|escape#</a> ' +filedifflink = '<a href="#url#diff/#node|short#/#file|urlescape#{getentries}">#file|escape#</a> ' +filenodelink = '<a href="#url#file/#node|short#/#file|urlescape#{getentries}">#file|escape#</a> ' fileellipses = '...' changelogentry = changelogentry.tmpl searchentry = changelogentry.tmpl changeset = changeset.tmpl manifest = manifest.tmpl -manifestdirentry = '<tr class="parity#parity#"><td><tt>drwxr-xr-x</tt> <td><a href="#url#file/#node|short##path|urlescape#">#basename|escape#/</a>' -manifestfileentry = '<tr class="parity#parity#"><td><tt>#permissions|permissions#</tt> <td><a href="#url#file/#node|short#/#file|urlescape#">#basename|escape#</a>' +manifestdirentry = '<tr class="parity#parity#"><td><tt>drwxr-xr-x</tt> <td><a href="#url#file/#node|short##path|urlescape#{getentries}">#basename|escape#/</a>' +manifestfileentry = '<tr class="parity#parity#"><td><tt>#permissions|permissions#</tt> <td><a href="#url#file/#node|short#/#file|urlescape#{getentries}">#basename|escape#</a>' filerevision = filerevision.tmpl fileannotate = fileannotate.tmpl filediff = filediff.tmpl filelog = filelog.tmpl fileline = '<div class="parity#parity#"><span class="lineno">#linenumber#</span>#line|escape#</div>' filelogentry = filelogentry.tmpl -annotateline = '<tr class="parity#parity#"><td class="annotate"><a href="#url#annotate/#node|short#/#file|urlescape#">#author|obfuscate#@#rev#</a></td><td><pre>#line|escape#</pre></td></tr>' +annotateline = '<tr class="parity#parity#"><td class="annotate"><a href="#url#annotate/#node|short#/#file|urlescape#{getentries}">#author|obfuscate#@#rev#</a></td><td><pre>#line|escape#</pre></td></tr>' difflineplus = '<span class="plusline">#line|escape#</span>' difflineminus = '<span class="minusline">#line|escape#</span>' difflineat = '<span class="atline">#line|escape#</span>' diffline = '#line|escape#' -changelogparent = '<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="#url#rev/#node|short#">#node|short#</a></td></tr>' -changesetparent = '<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="#url#rev/#node|short#">#node|short#</a></td></tr>' -filerevparent = '<tr><td class="metatag">parent:</td><td><a href="#url#file/#node|short#/#file|urlescape#">#node|short#</a></td></tr>' -filerename = '<tr><td class="metatag">parent:</td><td><a href="#url#file/#node|short#/#file|urlescape#">#file|escape#@#node|short#</a></td></tr>' -filelogrename = '<tr><th>base:</th><td><a href="#url#file/#node|short#/#file|urlescape#">#file|escape#@#node|short#</a></td></tr>' -fileannotateparent = '<tr><td class="metatag">parent:</td><td><a href="#url#annotate/#node|short#/#file|urlescape#">#node|short#</a></td></tr>' -changesetchild = '<tr><th class="child">child #rev#:</th><td class="child"><a href="#url#rev/#node|short#">#node|short#</a></td></tr>' -changelogchild = '<tr><th class="child">child #rev#:</th><td class="child"><a href="#url#rev/#node|short#">#node|short#</a></td></tr>' -filerevchild = '<tr><td class="metatag">child:</td><td><a href="#url#file/#node|short#/#file|urlescape#">#node|short#</a></td></tr>' -fileannotatechild = '<tr><td class="metatag">child:</td><td><a href="#url#annotate/#node|short#/#file|urlescape#">#node|short#</a></td></tr>' +changelogparent = '<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="#url#rev/#node|short#{getentries}">#node|short#</a></td></tr>' +changesetparent = '<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="#url#rev/#node|short#{getentries}">#node|short#</a></td></tr>' +filerevparent = '<tr><td class="metatag">parent:</td><td><a href="#url#file/#node|short#/#file|urlescape#{getentries}">#node|short#</a></td></tr>' +filerename = '<tr><td class="metatag">parent:</td><td><a href="#url#file/#node|short#/#file|urlescape#{getentries}">#file|escape#@#node|short#</a></td></tr>' +filelogrename = '<tr><th>base:</th><td><a href="#url#file/#node|short#/#file|urlescape#{getentries}">#file|escape#@#node|short#</a></td></tr>' +fileannotateparent = '<tr><td class="metatag">parent:</td><td><a href="#url#annotate/#node|short#/#file|urlescape#{getentries}">#node|short#</a></td></tr>' +changesetchild = '<tr><th class="child">child #rev#:</th><td class="child"><a href="#url#rev/#node|short#{getentries}">#node|short#</a></td></tr>' +changelogchild = '<tr><th class="child">child #rev#:</th><td class="child"><a href="#url#rev/#node|short#{getentries}">#node|short#</a></td></tr>' +filerevchild = '<tr><td class="metatag">child:</td><td><a href="#url#file/#node|short#/#file|urlescape#{getentries}">#node|short#</a></td></tr>' +fileannotatechild = '<tr><td class="metatag">child:</td><td><a href="#url#annotate/#node|short#/#file|urlescape#{getentries}">#node|short#</a></td></tr>' tags = tags.tmpl -tagentry = '<li class="tagEntry parity#parity#"><tt class="node">#node#</tt> <a href="#url#rev/#node|short#">#tag|escape#</a></li>' +tagentry = '<li class="tagEntry parity#parity#"><tt class="node">#node#</tt> <a href="#url#rev/#node|short#{getentries}">#tag|escape#</a></li>' diffblock = '<pre class="parity#parity#">#lines#</pre>' changelogtag = '<tr><th class="tag">tag:</th><td class="tag">#tag|escape#</td></tr>' changesettag = '<tr><th class="tag">tag:</th><td class="tag">#tag|escape#</td></tr>' -filediffparent = '<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="#url#rev/#node|short#">#node|short#</a></td></tr>' -filelogparent = '<tr><th>parent #rev#:</th><td><a href="#url#file/#node|short#/#file|urlescape#">#node|short#</a></td></tr>' -filediffchild = '<tr><th class="child">child #rev#:</th><td class="child"><a href="#url#rev/#node|short#">#node|short#</a></td></tr>' -filelogchild = '<tr><th>child #rev#:</th><td><a href="#url#file/#node|short#/#file|urlescape#">#node|short#</a></td></tr>' +filediffparent = '<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="#url#rev/#node|short#{getentries}">#node|short#</a></td></tr>' +filelogparent = '<tr><th>parent #rev#:</th><td><a href="#url#file/#node|short#/#file|urlescape#{getentries}">#node|short#</a></td></tr>' +filediffchild = '<tr><th class="child">child #rev#:</th><td class="child"><a href="#url#rev/#node|short#{getentries}">#node|short#</a></td></tr>' +filelogchild = '<tr><th>child #rev#:</th><td><a href="#url#file/#node|short#/#file|urlescape#{getentries}">#node|short#</a></td></tr>' indexentry = '<tr class="parity#parity#"><td><a href="#url#">#name|escape#</a></td><td>#description#</td><td>#contact|obfuscate#</td><td class="age">#lastchange|age# ago</td><td class="indexlinks"><a href="#url#rss-log">RSS</a> #archives%archiveentry#</td></tr>' index = index.tmpl archiveentry = '<a href="#url#archive/#node|short##extension|urlescape#">#type|escape#</a> '
--- a/templates/search.tmpl Thu Oct 05 14:45:15 2006 -0700 +++ b/templates/search.tmpl Thu Oct 05 15:04:15 2006 -0700 @@ -4,10 +4,10 @@ <body> <div class="buttons"> -<a href="#url#log">changelog</a> -<a href="#url#shortlog">shortlog</a> -<a href="#url#tags">tags</a> -<a href="#url#file/#node|short#">manifest</a> +<a href="#url#log{getentries}">changelog</a> +<a href="#url#shortlog{getentries}">shortlog</a> +<a href="#url#tags{getentries}">tags</a> +<a href="#url#file/#node|short#{getentries}">manifest</a> </div> <h2>searching for #query|escape#</h2>
--- a/templates/shortlog.tmpl Thu Oct 05 14:45:15 2006 -0700 +++ b/templates/shortlog.tmpl Thu Oct 05 15:04:15 2006 -0700 @@ -6,9 +6,9 @@ <body> <div class="buttons"> -<a href="#url#log/#rev#">changelog</a> -<a href="#url#tags">tags</a> -<a href="#url#file/#node|short#/">manifest</a> +<a href="#url#log/#rev#{getentries}">changelog</a> +<a href="#url#tags{getentries}">tags</a> +<a href="#url#file/#node|short#/{getentries}">manifest</a> #archives%archiveentry# <a type="application/rss+xml" href="#url#rss-log">rss</a> </div>
--- a/templates/shortlogentry.tmpl Thu Oct 05 14:45:15 2006 -0700 +++ b/templates/shortlogentry.tmpl Thu Oct 05 15:04:15 2006 -0700 @@ -2,6 +2,6 @@ <tr> <td class="age">#date|age#</td> <td class="author">#author|obfuscate#</td> - <td class="node"><a href="#url#rev/#node|short#">#desc|strip|firstline|escape#</a></td> + <td class="node"><a href="#url#rev/#node|short#{getentries}">#desc|strip|firstline|escape#</a></td> </tr> </table>
--- a/templates/tags.tmpl Thu Oct 05 14:45:15 2006 -0700 +++ b/templates/tags.tmpl Thu Oct 05 15:04:15 2006 -0700 @@ -6,9 +6,9 @@ <body> <div class="buttons"> -<a href="#url#log">changelog</a> -<a href="#url#shortlog">shortlog</a> -<a href="#url#file/#node|short#/">manifest</a> +<a href="#url#log{getentries}">changelog</a> +<a href="#url#shortlog{getentries}">shortlog</a> +<a href="#url#file/#node|short#/{getentries}">manifest</a> <a type="application/rss+xml" href="#url#rss-tags">rss</a> </div>