mercurial/templates/gitweb/map
author Erik Zielke <ez@aragost.com>
Mon, 31 Jan 2011 13:40:05 +0100
changeset 13324 e5617047c926
parent 12666 ead4e21f49f1
child 13863 b602ac02f1ba
permissions -rw-r--r--
subrepo: make update -C clean the working directory for git subrepos This makes 'hg update --clean' behave the same way for all three kinds of subrepositories [hg, svn, git]. Before git subrepos did not take the clean parameter into account, but just updated to the given revision and merged uncommitted changes into that.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1901
c64bef3d7043 use safer string parser for template engine.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents: 1668
diff changeset
     1
default = 'summary'
5928
3340aa5a64f7 hgweb: move HTTP content types out of header templates
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 5834
diff changeset
     2
mimetype = 'text/html; charset={encoding}'
3277
105253b30239 Moved hgweb map-* files into their style directories and adjusted them.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 3271
diff changeset
     3
header = header.tmpl
105253b30239 Moved hgweb map-* files into their style directories and adjusted them.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 3271
diff changeset
     4
footer = footer.tmpl
105253b30239 Moved hgweb map-* files into their style directories and adjusted them.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 3271
diff changeset
     5
search = search.tmpl
105253b30239 Moved hgweb map-* files into their style directories and adjusted them.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 3271
diff changeset
     6
changelog = changelog.tmpl
105253b30239 Moved hgweb map-* files into their style directories and adjusted them.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 3271
diff changeset
     7
summary = summary.tmpl
105253b30239 Moved hgweb map-* files into their style directories and adjusted them.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 3271
diff changeset
     8
error = error.tmpl
4842
d39776752a1f gitweb: add notfound template
Brendan Cully <brendan@kublai.com>
parents: 4705
diff changeset
     9
notfound = notfound.tmpl
12666
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 10254
diff changeset
    10
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 10254
diff changeset
    11
help = help.tmpl
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 10254
diff changeset
    12
helptopics = helptopics.tmpl
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 10254
diff changeset
    13
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 10254
diff changeset
    14
helpentry = '<tr><td><a href="{url}help/{topic|escape}{sessionvars%urlparameter}">{topic|escape}</a></td><td>{summary|escape}</td></tr>'
ead4e21f49f1 web: add a help view for getting hg help output
Augie Fackler <durin42@gmail.com>
parents: 10254
diff changeset
    15
3422
0eba7e76cd02 Convert changenav bar from revisions to hashes (closes issue189)
Brendan Cully <brendan@kublai.com>
parents: 3407
diff changeset
    16
naventry = '<a href="{url}log/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
0eba7e76cd02 Convert changenav bar from revisions to hashes (closes issue189)
Brendan Cully <brendan@kublai.com>
parents: 3407
diff changeset
    17
navshortentry = '<a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
6701
bf72e756c98b templates: fix navigation links for graph entries
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6693
diff changeset
    18
navgraphentry = '<a href="{url}graph/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
3422
0eba7e76cd02 Convert changenav bar from revisions to hashes (closes issue189)
Brendan Cully <brendan@kublai.com>
parents: 3407
diff changeset
    19
filenaventry = '<a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{label|escape}</a> '
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
    20
filedifflink = '<a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> '
8374
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
    21
filenodelink = '
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
    22
  <tr class="parity{parity}">
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
    23
    <td><a class="list" href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a></td>
8374
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
    24
    <td></td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
    25
    <td class="link">
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
    26
      <a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a> |
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
    27
      <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a> |
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
    28
      <a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a> |
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
    29
      <a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a>
8374
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
    30
    </td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
    31
  </tr>'
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
    32
filenolink = '
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
    33
  <tr class="parity{parity}">
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
    34
    <td><a class="list" href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a></td>
8374
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
    35
    <td></td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
    36
    <td class="link">
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
    37
      file |
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
    38
      annotate |
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
    39
      <a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">diff</a> |
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
    40
      <a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a>
8374
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
    41
    </td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
    42
  </tr>'
10254
8d5de52431f2 hgweb: changenav: separate pages before and after the current position
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 9999
diff changeset
    43
8d5de52431f2 hgweb: changenav: separate pages before and after the current position
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 9999
diff changeset
    44
nav = '{before%naventry} {after%naventry}'
8d5de52431f2 hgweb: changenav: separate pages before and after the current position
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 9999
diff changeset
    45
navshort = '{before%navshortentry}{after%navshortentry}'
8d5de52431f2 hgweb: changenav: separate pages before and after the current position
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 9999
diff changeset
    46
navgraph = '{before%navgraphentry}{after%navgraphentry}'
8d5de52431f2 hgweb: changenav: separate pages before and after the current position
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 9999
diff changeset
    47
filenav = '{before%filenaventry}{after%filenaventry}'
8d5de52431f2 hgweb: changenav: separate pages before and after the current position
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents: 9999
diff changeset
    48
1901
c64bef3d7043 use safer string parser for template engine.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents: 1668
diff changeset
    49
fileellipses = '...'
3277
105253b30239 Moved hgweb map-* files into their style directories and adjusted them.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 3271
diff changeset
    50
changelogentry = changelogentry.tmpl
105253b30239 Moved hgweb map-* files into their style directories and adjusted them.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 3271
diff changeset
    51
searchentry = changelogentry.tmpl
105253b30239 Moved hgweb map-* files into their style directories and adjusted them.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 3271
diff changeset
    52
changeset = changeset.tmpl
105253b30239 Moved hgweb map-* files into their style directories and adjusted them.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 3271
diff changeset
    53
manifest = manifest.tmpl
8374
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
    54
direntry = '
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
    55
  <tr class="parity{parity}">
8374
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
    56
    <td style="font-family:monospace">drwxr-xr-x</td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
    57
    <td style="font-family:monospace"></td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
    58
    <td style="font-family:monospace"></td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
    59
    <td>
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
    60
      <a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">{basename|escape}</a>
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
    61
      <a href="{url}file/{node|short}{path|urlescape}/{emptydirs|urlescape}{sessionvars%urlparameter}">{emptydirs|escape}</a>
8374
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
    62
    </td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
    63
    <td class="link">
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
    64
      <a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">files</a>
8374
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
    65
    </td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
    66
  </tr>'
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
    67
fileentry = '
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
    68
  <tr class="parity{parity}">
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
    69
    <td style="font-family:monospace">{permissions|permissions}</td>
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
    70
    <td style="font-family:monospace" align=right>{date|isodate}</td>
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
    71
    <td style="font-family:monospace" align=right>{size}</td>
8374
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
    72
    <td class="list">
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
    73
      <a class="list" href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{basename|escape}</a>
8374
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
    74
    </td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
    75
    <td class="link">
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
    76
      <a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">file</a> |
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
    77
      <a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">revisions</a> |
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
    78
      <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">annotate</a>
8374
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
    79
    </td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
    80
  </tr>'
3277
105253b30239 Moved hgweb map-* files into their style directories and adjusted them.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 3271
diff changeset
    81
filerevision = filerevision.tmpl
105253b30239 Moved hgweb map-* files into their style directories and adjusted them.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 3271
diff changeset
    82
fileannotate = fileannotate.tmpl
3353
2edf53386d86 gitweb: add file diff view
Brendan Cully <brendan@kublai.com>
parents: 3305
diff changeset
    83
filediff = filediff.tmpl
3277
105253b30239 Moved hgweb map-* files into their style directories and adjusted them.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 3271
diff changeset
    84
filelog = filelog.tmpl
8487
338412820a57 gitweb, monoblue: break long line in map file
Martin Geisler <mg@lazybytes.net>
parents: 8427
diff changeset
    85
fileline = '
338412820a57 gitweb, monoblue: break long line in map file
Martin Geisler <mg@lazybytes.net>
parents: 8427
diff changeset
    86
  <div style="font-family:monospace" class="parity{parity}">
9113
f439d82f018c gitweb, monoblue: fix double-spacing in file view (issue1733)
Martin Geisler <mg@lazybytes.net>
parents: 8713
diff changeset
    87
    <pre><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</pre>
8487
338412820a57 gitweb, monoblue: break long line in map file
Martin Geisler <mg@lazybytes.net>
parents: 8427
diff changeset
    88
  </div>'
8374
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
    89
annotateline = '
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
    90
  <tr style="font-family:monospace" class="parity{parity}">
8374
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
    91
    <td class="linenr" style="text-align: right;">
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
    92
      <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#l{targetline}"
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
    93
         title="{node|short}: {desc|escape|firstline}">{author|user}@{rev}</a>
8374
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
    94
    </td>
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
    95
    <td><pre><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a></pre></td>
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
    96
    <td><pre>{line|escape}</pre></td>
8374
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
    97
  </tr>'
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
    98
difflineplus = '<span style="color:#008800;"><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</span>'
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
    99
difflineminus = '<span style="color:#cc0000;"><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</span>'
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
   100
difflineat = '<span style="color:#990099;"><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</span>'
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
   101
diffline = '<span><a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</span>'
8374
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   102
changelogparent = '
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   103
  <tr>
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
   104
    <th class="parent">parent {rev}:</th>
8374
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   105
    <td class="parent">
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
   106
      <a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a>
8374
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   107
    </td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   108
  </tr>'
6250
bf0dd23f55fa gitweb: show branches in most of the templates
Florent Guillaume <fg@nuxeo.com>
parents: 6218
diff changeset
   109
changesetbranch = '<tr><td>branch</td><td>{name}</td></tr>'
8374
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   110
changesetparent = '
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   111
  <tr>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   112
    <td>parent {rev}</td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   113
    <td style="font-family:monospace">
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   114
      <a class="list" href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   115
    </td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   116
  </tr>'
6250
bf0dd23f55fa gitweb: show branches in most of the templates
Florent Guillaume <fg@nuxeo.com>
parents: 6218
diff changeset
   117
filerevbranch = '<tr><td>branch</td><td>{name}</td></tr>'
8374
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   118
filerevparent = '
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   119
  <tr>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   120
    <td>parent {rev}</td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   121
    <td style="font-family:monospace">
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   122
      <a class="list" href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   123
        {rename%filerename}{node|short}
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   124
      </a>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   125
    </td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   126
  </tr>'
3393
22a106cb5650 hgweb: better file rename links
Brendan Cully <brendan@kublai.com>
parents: 3366
diff changeset
   127
filerename = '{file|escape}@'
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
   128
filelogrename = '| <a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">base</a>'
8374
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   129
fileannotateparent = '
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   130
  <tr>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   131
    <td>parent {rev}</td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   132
    <td style="font-family:monospace">
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   133
      <a class="list" href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   134
        {rename%filerename}{node|short}
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   135
      </a>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   136
    </td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   137
  </tr>'
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   138
changelogchild = '
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   139
  <tr>
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
   140
    <th class="child">child {rev}:</th>
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
   141
    <td class="child"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td>
8374
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   142
  </tr>'
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   143
changesetchild = '
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   144
  <tr>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   145
    <td>child {rev}</td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   146
    <td style="font-family:monospace">
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   147
      <a class="list" href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   148
    </td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   149
  </tr>'
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   150
filerevchild = '
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   151
  <tr>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   152
    <td>child {rev}</td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   153
    <td style="font-family:monospace">
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   154
      <a class="list" href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   155
    </tr>'
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   156
fileannotatechild = '
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   157
  <tr>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   158
    <td>child {rev}</td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   159
    <td style="font-family:monospace">
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   160
      <a class="list" href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   161
    </tr>'
3277
105253b30239 Moved hgweb map-* files into their style directories and adjusted them.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 3271
diff changeset
   162
tags = tags.tmpl
8374
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   163
tagentry = '
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
   164
  <tr class="parity{parity}">
9721
1d75c683ada1 templater: put 'ago' inside the age template filter
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 9113
diff changeset
   165
    <td class="age"><i>{date|age}</i></td>
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
   166
    <td><a class="list" href="{url}rev/{node|short}{sessionvars%urlparameter}"><b>{tag|escape}</b></a></td>
8374
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   167
    <td class="link">
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
   168
      <a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> |
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
   169
      <a href="{url}log/{node|short}{sessionvars%urlparameter}">changelog</a> |
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
   170
      <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a>
8374
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   171
    </td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   172
  </tr>'
8356
439663cd043a gitweb: add branches page
Sune Foldager <cryo@cyanite.org>
parents: 8235
diff changeset
   173
branches = branches.tmpl
8374
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   174
branchentry = '
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   175
  <tr class="parity{parity}">
9721
1d75c683ada1 templater: put 'ago' inside the age template filter
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 9113
diff changeset
   176
    <td class="age"><i>{date|age}</i></td>
8374
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   177
    <td><a class="list" href="{url}shortlog/{node|short}{sessionvars%urlparameter}"><b>{node|short}</b></a></td>
8713
de6bb29e208a hgweb: allow distinction between open/closed branches on branches page
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8487
diff changeset
   178
    <td class="{status}">{branch|escape}</td>
8374
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   179
    <td class="link">
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   180
      <a href="{url}changeset/{node|short}{sessionvars%urlparameter}">changeset</a> |
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   181
      <a href="{url}log/{node|short}{sessionvars%urlparameter}">changelog</a> |
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   182
      <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   183
    </td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   184
  </tr>'
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
   185
diffblock = '<pre>{lines}</pre>'
8374
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   186
filediffparent = '
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   187
  <tr>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   188
    <td>parent {rev}</td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   189
    <td style="font-family:monospace">
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   190
      <a class="list" href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   191
        {node|short}
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   192
      </a>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   193
    </td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   194
  </tr>'
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   195
filelogparent = '
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   196
  <tr>
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
   197
    <td align="right">parent {rev}:&nbsp;</td>
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
   198
    <td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td>
8374
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   199
  </tr>'
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   200
filediffchild = '
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   201
  <tr>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   202
    <td>child {rev}</td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   203
    <td style="font-family:monospace">
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   204
      <a class="list" href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   205
    </td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   206
  </tr>'
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   207
filelogchild = '
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   208
  <tr>
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
   209
    <td align="right">child {rev}:&nbsp;</td>
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
   210
    <td><a href="{url}file{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td>
8374
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   211
  </tr>'
3277
105253b30239 Moved hgweb map-* files into their style directories and adjusted them.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 3271
diff changeset
   212
shortlog = shortlog.tmpl
6693
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6657
diff changeset
   213
graph = graph.tmpl
4538
4272ae760bb1 gitweb: Display branch and tag labels
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents: 4500
diff changeset
   214
tagtag = '<span class="tagtag" title="{name}">{name}</span> '
4272ae760bb1 gitweb: Display branch and tag labels
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents: 4500
diff changeset
   215
branchtag = '<span class="branchtag" title="{name}">{name}</span> '
6250
bf0dd23f55fa gitweb: show branches in most of the templates
Florent Guillaume <fg@nuxeo.com>
parents: 6218
diff changeset
   216
inbranchtag = '<span class="inbranchtag" title="{name}">{name}</span> '
8374
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   217
shortlogentry = '
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
   218
  <tr class="parity{parity}">
9721
1d75c683ada1 templater: put 'ago' inside the age template filter
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 9113
diff changeset
   219
    <td class="age"><i>{date|age}</i></td>
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
   220
    <td><i>{author|person}</i></td>
8374
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   221
    <td>
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
   222
      <a class="list" href="{url}rev/{node|short}{sessionvars%urlparameter}">
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
   223
        <b>{desc|strip|firstline|escape|nonempty}</b>
8374
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   224
        <span class="logtags">{inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}</span>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   225
      </a>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   226
    </td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   227
    <td class="link" nowrap>
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
   228
      <a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> |
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
   229
      <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a>
8374
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   230
    </td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   231
  </tr>'
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   232
filelogentry = '
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
   233
  <tr class="parity{parity}">
9721
1d75c683ada1 templater: put 'ago' inside the age template filter
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 9113
diff changeset
   234
    <td class="age"><i>{date|age}</i></td>
8374
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   235
    <td>
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
   236
      <a class="list" href="{url}rev/{node|short}{sessionvars%urlparameter}">
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
   237
        <b>{desc|strip|firstline|escape|nonempty}</b>
8374
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   238
      </a>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   239
    </td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   240
    <td class="link">
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
   241
      <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>
8374
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   242
    </tr>'
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
   243
archiveentry = ' | <a href="{url}archive/{node|short}{extension}">{type|escape}</a> '
8374
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   244
indexentry = '
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   245
  <tr class="parity{parity}">
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   246
    <td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   247
      <a class="list" href="{url}{sessionvars%urlparameter}">
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   248
        <b>{name|escape}</b>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   249
      </a>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   250
    </td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   251
    <td>{description}</td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   252
    <td>{contact|obfuscate}</td>
9721
1d75c683ada1 templater: put 'ago' inside the age template filter
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 9113
diff changeset
   253
    <td class="age">{lastchange|age}</td>
8374
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   254
    <td class="indexlinks">{archives%indexarchiveentry}</td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   255
    <td><div class="rss_logo"><a href="{url}rss-log">RSS</a> <a href="{url}atom-log">Atom</a></div></td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   256
  </tr>\n'
6218
345a23eca8f6 gitweb: remove some line breaks in archive and rss columns.
Brendan Cully <brendan@kublai.com>
parents: 6177
diff changeset
   257
indexarchiveentry = ' <a href="{url}archive/{node|short}{extension}">{type|escape}</a> '
3277
105253b30239 Moved hgweb map-* files into their style directories and adjusted them.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 3271
diff changeset
   258
index = index.tmpl
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
   259
urlparameter = '{separator}{name}={value|urlescape}'
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
   260
hiddenformentry = '<input type="hidden" name="{name}" value="{value|escape}" />'