##// END OF EJS Templates
Convert changenav bar from revisions to hashes (closes issue189)
Convert changenav bar from revisions to hashes (closes issue189)

File last commit:

r3422:0eba7e76 default
r3422:0eba7e76 default
Show More
map
56 lines | 7.2 KiB | text/plain | TextLexer
Thomas Arendsen Hein
Moved hgweb map-* files into their style directories and adjusted them.
r3277 default = 'summary'
header = header.tmpl
footer = footer.tmpl
search = search.tmpl
changelog = changelog.tmpl
summary = summary.tmpl
error = error.tmpl
Brendan Cully
Convert changenav bar from revisions to hashes (closes issue189)
r3422 naventry = '<a href="{url}log/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
navshortentry = '<a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
filenaventry = '<a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{label|escape}</a> '
Thomas Arendsen Hein
hgweb: Apply the new method of passing session variables to links.
r3363 filedifflink = '<a href="#url#diff/#node|short#/#file|urlescape#{sessionvars%urlparameter}">#file|escape#</a> '
filenodelink = '<tr class="parity#parity#"><td><a class="list" href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">#file|escape#</a></td><td></td><td class="link"><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 href="#url#diff/#node|short#/#file|urlescape#{sessionvars%urlparameter}">diff</a> | <a href="#url#log/#node|short#/#file|urlescape#{sessionvars%urlparameter}">revisions</a></td></tr>'
Thomas Arendsen Hein
Moved hgweb map-* files into their style directories and adjusted them.
r3277 fileellipses = '...'
changelogentry = changelogentry.tmpl
searchentry = changelogentry.tmpl
changeset = changeset.tmpl
manifest = manifest.tmpl
Thomas Arendsen Hein
hgweb: Apply the new method of passing session variables to links.
r3363 manifestdirentry = '<tr class="parity#parity#"><td style="font-family:monospace">drwxr-xr-x</td><td style="font-family:monospace"></td><td><a href="#url#file/#node|short##path|urlescape#{sessionvars%urlparameter}">#basename|escape#/</a></td><td class="link"><a href="#url#file/#node|short##path|urlescape#{sessionvars%urlparameter}">manifest</a></td></tr>'
manifestfileentry = '<tr class="parity#parity#"><td style="font-family:monospace">#permissions|permissions#</td><td style="font-family:monospace" align=right>#size#</td><td class="list"><a class="list" href="#url#file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">#basename|escape#</a></td><td class="link"><a href="#url#file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">file</a> | <a href="#url#log/#node|short#/#file|urlescape#{sessionvars%urlparameter}">revisions</a> | <a href="#url#annotate/#node|short#/#file|urlescape#{sessionvars%urlparameter}">annotate</a></td></tr>'
Thomas Arendsen Hein
Moved hgweb map-* files into their style directories and adjusted them.
r3277 filerevision = filerevision.tmpl
fileannotate = fileannotate.tmpl
Brendan Cully
gitweb: add file diff view
r3353 filediff = filediff.tmpl
Thomas Arendsen Hein
Moved hgweb map-* files into their style directories and adjusted them.
r3277 filelog = filelog.tmpl
fileline = '<div style="font-family:monospace" class="parity#parity#"><pre><span class="linenr"> #linenumber#</span> #line|escape#</pre></div>'
Thomas Arendsen Hein
hgweb: Apply the new method of passing session variables to links.
r3363 annotateline = '<tr style="font-family:monospace" class="parity#parity#"><td class="linenr" style="text-align: right;"><a href="#url#annotate/#node|short#/#file|urlescape#{sessionvars%urlparameter}">#author|obfuscate#@#rev#</a></td><td><pre>#line|escape#</pre></td></tr>'
Thomas Arendsen Hein
Moved hgweb map-* files into their style directories and adjusted them.
r3277 difflineplus = '<div style="color:#008800;">#line|escape#</div>'
difflineminus = '<div style="color:#cc0000;">#line|escape#</div>'
difflineat = '<div style="color:#990099;">#line|escape#</div>'
diffline = '<div>#line|escape#</div>'
Thomas Arendsen Hein
hgweb: Apply the new method of passing session variables to links.
r3363 changelogparent = '<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td></tr>'
changesetparent = '<tr><td>parent</td><td style="font-family:monospace"><a class="list" href="#url#rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td></tr>'
Brendan Cully
hgweb: better file rename links
r3393 filerevparent = '<tr><td class="metatag">parent:</td><td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rename%filerename}{node|short}</a></td></tr>'
filerename = '{file|escape}@'
Thomas Arendsen Hein
hgweb: Apply the new method of passing session variables to links.
r3363 filelogrename = '| <a href="{url}file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">base</a>'
Brendan Cully
hgweb: better file rename links
r3393 fileannotateparent = '<tr><td class="metatag">parent:</td><td><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rename%filerename}{node|short}</a></td></tr>'
Thomas Arendsen Hein
hgweb: Apply the new method of passing session variables to links.
r3363 changelogchild = '<tr><th class="child">child #rev#:</th><td class="child"><a href="{url}rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td></tr>'
changesetchild = '<tr><td>child</td><td style="font-family:monospace"><a class="list" href="{url}rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td></tr>'
Thomas Arendsen Hein
gitweb: Fixed parent/child links when viewing a file revision.
r3366 filerevchild = '<tr><td class="metatag">child:</td><td><a href="{url}file/{node|short}/#file|urlescape#{sessionvars%urlparameter}">#node|short#</a></td></tr>'
Thomas Arendsen Hein
hgweb: Apply the new method of passing session variables to links.
r3363 fileannotatechild = '<tr><td class="metatag">child:</td><td><a href="{url}annotate/{node|short}/#file|urlescape#{sessionvars%urlparameter}">#node|short#</a></td></tr>'
Thomas Arendsen Hein
Moved hgweb map-* files into their style directories and adjusted them.
r3277 tags = tags.tmpl
Thomas Arendsen Hein
hgweb: Apply the new method of passing session variables to links.
r3363 tagentry = '<tr class="parity#parity#"><td class="age"><i>#date|age# ago</i></td><td><a class="list" href="{url}rev/{node|short}{sessionvars%urlparameter}"><b>#tag|escape#</b></a></td><td class="link"><a href="{url}rev/#node|short#{sessionvars%urlparameter}">changeset</a> | <a href="{url}log/#node|short#{sessionvars%urlparameter}">changelog</a> | <a href="{url}file/#node|short#{sessionvars%urlparameter}">manifest</a></td></tr>'
Thomas Arendsen Hein
Moved hgweb map-* files into their style directories and adjusted them.
r3277 diffblock = '<pre>#lines#</pre>'
changelogtag = '<tr><th class="tag">tag:</th><td class="tag">#tag|escape#</td></tr>'
changesettag = '<tr><td>tag</td><td>#tag|escape#</td></tr>'
Brendan Cully
hgweb: link to file parents in filediff, rather than changeset parents
r3406 filediffparent = '<tr><th class="parent">parent {rev}:</th><td class="parent"><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
Thomas Arendsen Hein
hgweb: Apply the new method of passing session variables to links.
r3363 filelogparent = '<tr><td align="right">parent #rev#:&nbsp;</td><td><a href="{url}file/{node|short}/#file|urlescape#{sessionvars%urlparameter}">#node|short#</a></td></tr>'
Brendan Cully
hgweb: link to file parents in filediff, rather than changeset parents
r3406 filediffchild = '<tr><th class="child">child {rev}:</th><td class="child"><a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
Thomas Arendsen Hein
hgweb: Apply the new method of passing session variables to links.
r3363 filelogchild = '<tr><td align="right">child #rev#:&nbsp;</td><td><a href="{url}file{node|short}/#file|urlescape#{sessionvars%urlparameter}">#node|short#</a></td></tr>'
Thomas Arendsen Hein
Moved hgweb map-* files into their style directories and adjusted them.
r3277 shortlog = shortlog.tmpl
Thomas Arendsen Hein
hgweb: Apply the new method of passing session variables to links.
r3363 shortlogentry = '<tr class="parity#parity#"><td class="age"><i>#date|age# ago</i></td><td><i>#author#</i></td><td><a class="list" href="{url}rev/#node|short#{sessionvars%urlparameter}"><b>#desc|strip|firstline|escape#</b></a></td><td class="link"><a href="{url}rev/#node|short#{sessionvars%urlparameter}">changeset</a> | <a href="{url}file/#node|short#{sessionvars%urlparameter}">manifest</a></td></tr>'
Brendan Cully
hgweb: add diff links in gitweb file revision page
r3396 filelogentry = '<tr class="parity#parity#"><td class="age"><i>#date|age# ago</i></td><td><a class="list" href="{url}rev/#node|short#{sessionvars%urlparameter}"><b>#desc|strip|firstline|escape#</b></a></td><td class="link"><a href="{url}file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">file</a>&nbsp;|&nbsp;<a href="{url}diff/#node|short#/#file|urlescape#{sessionvars%urlparameter}">diff</a>&nbsp;|&nbsp;<a href="{url}annotate/#node|short#/#file|urlescape#{sessionvars%urlparameter}">annotate</a> #rename%filelogrename#</td></tr>'
Thomas Arendsen Hein
Moved hgweb map-* files into their style directories and adjusted them.
r3277 archiveentry = ' | <a href="{url}archive/{node|short}{extension}">#type|escape#</a> '
Thomas Arendsen Hein
Keep session variables when linking from hgwebdir's index to repositories.
r3365 indexentry = '<tr class="parity#parity#"><td><a class="list" href="#url#{sessionvars%urlparameter}"><b>#name|escape#</b></a></td><td>#description#</td><td>#contact|obfuscate#</td><td class="age">#lastchange|age# ago</td><td class="indexlinks"><a class="rss_logo" href="#url#rss-log">RSS</a> #archives%archiveentry#</td></tr>'
Thomas Arendsen Hein
Moved hgweb map-* files into their style directories and adjusted them.
r3277 index = index.tmpl
Thomas Arendsen Hein
hgweb: Apply the new method of passing session variables to links.
r3363 urlparameter = '#separator##name#=#value|urlescape#'
Thomas Arendsen Hein
hgweb: Keep session variables (currently only style) in HTML forms, too....
r3362 hiddenformentry = '<input type="hidden" name="#name#" value="#value|escape#" />'