##// END OF EJS Templates
Add line anchors to annotate, changeset, diff, file views for hgweb
Add line anchors to annotate, changeset, diff, file views for hgweb

File last commit:

r6122:800e2756 default
r6122:800e2756 default
Show More
map
56 lines | 5.4 KiB | text/plain | TextLexer
Matt Mackall
Make shortlog the default page in hgweb
r4704 default = 'shortlog'
mpm@selenic.com
Prettify the web interface...
r142 header = header.tmpl
footer = footer.tmpl
mpm@selenic.com
Add multiple keyword search to hgweb...
r538 search = search.tmpl
mpm@selenic.com
Revamped templated hgweb
r138 changelog = changelog.tmpl
Josef "Jeff" Sipek
[hgweb] Shortlog template for default theme
r2686 shortlog = shortlog.tmpl
shortlogentry = shortlogentry.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 = '<a href="#url#file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">#file|escape#</a> '
Vadim Gelfer
use safer string parser for template engine.
r1901 fileellipses = '...'
mpm@selenic.com
Revamped templated hgweb
r138 changelogentry = changelogentry.tmpl
Thomas Arendsen Hein
Use changelogentry.tmpl for search results, too....
r708 searchentry = changelogentry.tmpl
mpm@selenic.com
Revamped templated hgweb
r138 changeset = changeset.tmpl
manifest = manifest.tmpl
Thomas Arendsen Hein
hgweb: Show date of last change for each file in manifest
r5273 manifestdirentry = '<tr class="parity#parity#"><td><tt>drwxr-xr-x</tt>&nbsp;<td>&nbsp;<td>&nbsp;<td><a href="#url#file/#node|short##path|urlescape#{sessionvars%urlparameter}">#basename|escape#/</a>'
manifestfileentry = '<tr class="parity#parity#"><td><tt>#permissions|permissions#</tt>&nbsp;<td align=right><tt class="date">#date|isodate#</tt>&nbsp;<td align=right><tt>#size#</tt>&nbsp;<td><a href="#url#file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">#basename|escape#</a>'
mpm@selenic.com
Revamped templated hgweb
r138 filerevision = filerevision.tmpl
fileannotate = fileannotate.tmpl
filediff = filediff.tmpl
filelog = filelog.tmpl
Edward Lee
Add line anchors to annotate, changeset, diff, file views for hgweb
r6122 fileline = '<div class="parity#parity#"><a class="lineno" href="##lineid#" id="#lineid#">#linenumber#</a>#line|escape#</div>'
mpm@selenic.com
Revamped templated hgweb
r138 filelogentry = filelogentry.tmpl
Edward Lee
Add line anchors to annotate, changeset, diff, file views for hgweb
r6122 annotateline = '<tr class="parity#parity#"><td class="annotate"><a href="#url#annotate/#node|short#/#file|urlescape#{sessionvars%urlparameter}">#author|obfuscate#@#rev#</a></td><td><a class="lineno" href="##lineid#" id="#lineid#">#linenumber#</a></td><td><pre>#line|escape#</pre></td></tr>'
difflineplus = '<span class="plusline"><a class="lineno" href="##lineid#" id="#lineid#">#linenumber#</a>#line|escape#</span>'
difflineminus = '<span class="minusline"><a class="lineno" href="##lineid#" id="#lineid#">#linenumber#</a>#line|escape#</span>'
difflineat = '<span class="atline"><a class="lineno" href="##lineid#" id="#lineid#">#linenumber#</a>#line|escape#</span>'
diffline = '<a class="lineno" href="##lineid#" id="#lineid#">#linenumber#</a>#line|escape#'
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><th class="parent">parent #rev#:</th><td class="parent"><a 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 = '<tr><th>base:</th><td><a href="#url#file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">#file|escape#@#node|short#</a></td></tr>'
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 changesetchild = '<tr><th class="child">child #rev#:</th><td class="child"><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td></tr>'
changelogchild = '<tr><th class="child">child #rev#:</th><td class="child"><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td></tr>'
filerevchild = '<tr><td class="metatag">child:</td><td><a href="#url#file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">#node|short#</a></td></tr>'
fileannotatechild = '<tr><td class="metatag">child:</td><td><a href="#url#annotate/#node|short#/#file|urlescape#{sessionvars%urlparameter}">#node|short#</a></td></tr>'
mpm@selenic.com
hgweb: add tags links and manifest links...
r168 tags = tags.tmpl
Thomas Arendsen Hein
hgweb: Apply the new method of passing session variables to links.
r3363 tagentry = '<li class="tagEntry parity#parity#"><tt class="node">#node#</tt> <a href="#url#rev/#node|short#{sessionvars%urlparameter}">#tag|escape#</a></li>'
Vadim Gelfer
use safer string parser for template engine.
r1901 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>'
Thomas Arendsen Hein
hgweb: Apply the new method of passing session variables to links.
r3363 filediffparent = '<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td></tr>'
filelogparent = '<tr><th>parent #rev#:</th><td><a href="#url#file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">#node|short#</a></td></tr>'
filediffchild = '<tr><th class="child">child #rev#:</th><td class="child"><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#node|short#</a></td></tr>'
filelogchild = '<tr><th>child #rev#:</th><td><a href="#url#file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">#node|short#</a></td></tr>'
Robert Bachmann
Added support for the Atom syndication format
r5269 indexentry = '<tr class="parity#parity#"><td><a href="#url#{sessionvars%urlparameter}">#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> <a href="#url#atom-log">Atom</a> #archives%archiveentry#</td></tr>'
mpm@selenic.com
Add a multi-repository server...
r941 index = index.tmpl
Brendan Cully
Update templates to use NewWebInterface
r3265 archiveentry = '<a href="#url#archive/#node|short##extension|urlescape#">#type|escape#</a> '
Ollivier Robert
Use a template for the error message.
r1123 notfound = notfound.tmpl
Thomas Arendsen Hein
Catch IOErrors and RepoErrors when serving repositories via hgweb.
r1554 error = error.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#" />'