templates/gitweb/map
author Martin Geisler <mg@lazybytes.net>
Tue, 07 Jul 2009 23:54:42 +0200
changeset 9078 4e04eabc19d2
parent 8713 de6bb29e208a
child 9113 f439d82f018c
permissions -rw-r--r--
zeroconf: wrapped docstrings at 78 characters
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
3422
0eba7e76cd02 Convert changenav bar from revisions to hashes (closes issue189)
Brendan Cully <brendan@kublai.com>
parents: 3407
diff changeset
    10
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
    11
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
    12
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
    13
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
    14
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
    15
filenodelink = '
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
    16
  <tr class="parity{parity}">
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
    17
    <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
    18
    <td></td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
    19
    <td class="link">
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
    20
      <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
    21
      <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
    22
      <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
    23
      <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
    24
    </td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
    25
  </tr>'
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
    26
filenolink = '
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
    27
  <tr class="parity{parity}">
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
    28
    <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
    29
    <td></td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
    30
    <td class="link">
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
    31
      file |
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
    32
      annotate |
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
    33
      <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
    34
      <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
    35
    </td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
    36
  </tr>'
1901
c64bef3d7043 use safer string parser for template engine.
Vadim Gelfer <vadim.gelfer@gmail.com>
parents: 1668
diff changeset
    37
fileellipses = '...'
3277
105253b30239 Moved hgweb map-* files into their style directories and adjusted them.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 3271
diff changeset
    38
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
    39
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
    40
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
    41
manifest = manifest.tmpl
8374
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
    42
direntry = '
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
    43
  <tr class="parity{parity}">
8374
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
    44
    <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
    45
    <td style="font-family:monospace"></td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
    46
    <td style="font-family:monospace"></td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
    47
    <td>
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
    48
      <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
    49
      <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
    50
    </td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
    51
    <td class="link">
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
    52
      <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
    53
    </td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
    54
  </tr>'
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
    55
fileentry = '
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
    56
  <tr class="parity{parity}">
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
    57
    <td style="font-family:monospace">{permissions|permissions}</td>
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
    58
    <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
    59
    <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
    60
    <td class="list">
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
    61
      <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
    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}/{file|urlescape}{sessionvars%urlparameter}">file</a> |
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
    65
      <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
    66
      <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
    67
    </td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
    68
  </tr>'
3277
105253b30239 Moved hgweb map-* files into their style directories and adjusted them.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 3271
diff changeset
    69
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
    70
fileannotate = fileannotate.tmpl
3353
2edf53386d86 gitweb: add file diff view
Brendan Cully <brendan@kublai.com>
parents: 3305
diff changeset
    71
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
    72
filelog = filelog.tmpl
8487
338412820a57 gitweb, monoblue: break long line in map file
Martin Geisler <mg@lazybytes.net>
parents: 8427
diff changeset
    73
fileline = '
338412820a57 gitweb, monoblue: break long line in map file
Martin Geisler <mg@lazybytes.net>
parents: 8427
diff changeset
    74
  <div style="font-family:monospace" class="parity{parity}">
338412820a57 gitweb, monoblue: break long line in map file
Martin Geisler <mg@lazybytes.net>
parents: 8427
diff changeset
    75
    <pre>
338412820a57 gitweb, monoblue: break long line in map file
Martin Geisler <mg@lazybytes.net>
parents: 8427
diff changeset
    76
      <a class="linenr" href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}
338412820a57 gitweb, monoblue: break long line in map file
Martin Geisler <mg@lazybytes.net>
parents: 8427
diff changeset
    77
    </pre>
338412820a57 gitweb, monoblue: break long line in map file
Martin Geisler <mg@lazybytes.net>
parents: 8427
diff changeset
    78
  </div>'
8374
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
    79
annotateline = '
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
    80
  <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
    81
    <td class="linenr" style="text-align: right;">
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
    82
      <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
    83
         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
    84
    </td>
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
    85
    <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
    86
    <td><pre>{line|escape}</pre></td>
8374
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
    87
  </tr>'
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
    88
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
    89
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
    90
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
    91
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
    92
changelogparent = '
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
    93
  <tr>
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
    94
    <th class="parent">parent {rev}:</th>
8374
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
    95
    <td class="parent">
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
    96
      <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
    97
    </td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
    98
  </tr>'
6250
bf0dd23f55fa gitweb: show branches in most of the templates
Florent Guillaume <fg@nuxeo.com>
parents: 6218
diff changeset
    99
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
   100
changesetparent = '
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   101
  <tr>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   102
    <td>parent {rev}</td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   103
    <td style="font-family:monospace">
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   104
      <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
   105
    </td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   106
  </tr>'
6250
bf0dd23f55fa gitweb: show branches in most of the templates
Florent Guillaume <fg@nuxeo.com>
parents: 6218
diff changeset
   107
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
   108
filerevparent = '
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   109
  <tr>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   110
    <td>parent {rev}</td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   111
    <td style="font-family:monospace">
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   112
      <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
   113
        {rename%filerename}{node|short}
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   114
      </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>'
3393
22a106cb5650 hgweb: better file rename links
Brendan Cully <brendan@kublai.com>
parents: 3366
diff changeset
   117
filerename = '{file|escape}@'
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
   118
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
   119
fileannotateparent = '
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   120
  <tr>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   121
    <td>parent {rev}</td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   122
    <td style="font-family:monospace">
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   123
      <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
   124
        {rename%filerename}{node|short}
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   125
      </a>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   126
    </td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   127
  </tr>'
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   128
changelogchild = '
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   129
  <tr>
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
   130
    <th class="child">child {rev}:</th>
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
   131
    <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
   132
  </tr>'
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   133
changesetchild = '
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   134
  <tr>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   135
    <td>child {rev}</td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   136
    <td style="font-family:monospace">
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   137
      <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
   138
    </td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   139
  </tr>'
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   140
filerevchild = '
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   141
  <tr>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   142
    <td>child {rev}</td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   143
    <td style="font-family:monospace">
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   144
      <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
   145
    </tr>'
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   146
fileannotatechild = '
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   147
  <tr>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   148
    <td>child {rev}</td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   149
    <td style="font-family:monospace">
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   150
      <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
   151
    </tr>'
3277
105253b30239 Moved hgweb map-* files into their style directories and adjusted them.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 3271
diff changeset
   152
tags = tags.tmpl
8374
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   153
tagentry = '
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
   154
  <tr class="parity{parity}">
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
   155
    <td class="age"><i>{date|age} ago</i></td>
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
   156
    <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
   157
    <td class="link">
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
   158
      <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
   159
      <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
   160
      <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
   161
    </td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   162
  </tr>'
8356
439663cd043a gitweb: add branches page
Sune Foldager <cryo@cyanite.org>
parents: 8235
diff changeset
   163
branches = branches.tmpl
8374
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   164
branchentry = '
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   165
  <tr class="parity{parity}">
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   166
    <td class="age"><i>{date|age} ago</i></td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   167
    <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
   168
    <td class="{status}">{branch|escape}</td>
8374
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   169
    <td class="link">
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   170
      <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
   171
      <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
   172
      <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
   173
    </td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   174
  </tr>'
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
   175
diffblock = '<pre>{lines}</pre>'
8374
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   176
filediffparent = '
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   177
  <tr>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   178
    <td>parent {rev}</td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   179
    <td style="font-family:monospace">
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   180
      <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
   181
        {node|short}
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   182
      </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>'
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   185
filelogparent = '
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   186
  <tr>
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
   187
    <td align="right">parent {rev}:&nbsp;</td>
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
   188
    <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
   189
  </tr>'
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   190
filediffchild = '
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   191
  <tr>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   192
    <td>child {rev}</td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   193
    <td style="font-family:monospace">
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   194
      <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
   195
    </td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   196
  </tr>'
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   197
filelogchild = '
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   198
  <tr>
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
   199
    <td align="right">child {rev}:&nbsp;</td>
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
   200
    <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
   201
  </tr>'
3277
105253b30239 Moved hgweb map-* files into their style directories and adjusted them.
Thomas Arendsen Hein <thomas@intevation.de>
parents: 3271
diff changeset
   202
shortlog = shortlog.tmpl
6693
7f58dec6aeb7 hgweb: Fix up non-coal styles to support graph.
Augie Fackler <durin42@gmail.com>
parents: 6657
diff changeset
   203
graph = graph.tmpl
4538
4272ae760bb1 gitweb: Display branch and tag labels
Josef "Jeff" Sipek <jeffpc@josefsipek.net>
parents: 4500
diff changeset
   204
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
   205
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
   206
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
   207
shortlogentry = '
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
   208
  <tr class="parity{parity}">
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
   209
    <td class="age"><i>{date|age} ago</i></td>
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
   210
    <td><i>{author|person}</i></td>
8374
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   211
    <td>
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
   212
      <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
   213
        <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
   214
        <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
   215
      </a>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   216
    </td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   217
    <td class="link" nowrap>
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
   218
      <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
   219
      <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
   220
    </td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   221
  </tr>'
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   222
filelogentry = '
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
   223
  <tr class="parity{parity}">
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
   224
    <td class="age"><i>{date|age} ago</i></td>
8374
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   225
    <td>
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
   226
      <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
   227
        <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
   228
      </a>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   229
    </td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   230
    <td class="link">
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
   231
      <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
   232
    </tr>'
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
   233
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
   234
indexentry = '
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   235
  <tr class="parity{parity}">
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   236
    <td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   237
      <a class="list" href="{url}{sessionvars%urlparameter}">
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   238
        <b>{name|escape}</b>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   239
      </a>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   240
    </td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   241
    <td>{description}</td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   242
    <td>{contact|obfuscate}</td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   243
    <td class="age">{lastchange|age} ago</td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   244
    <td class="indexlinks">{archives%indexarchiveentry}</td>
a3c8b41fcc9d gitweb: break long lines in map file
Martin Geisler <mg@lazybytes.net>
parents: 8356
diff changeset
   245
    <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
   246
  </tr>\n'
6218
345a23eca8f6 gitweb: remove some line breaks in archive and rss columns.
Brendan Cully <brendan@kublai.com>
parents: 6177
diff changeset
   247
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
   248
index = index.tmpl
8427
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
   249
urlparameter = '{separator}{name}={value|urlescape}'
cebdfdcc3e42 git: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 8374
diff changeset
   250
hiddenformentry = '<input type="hidden" name="{name}" value="{value|escape}" />'